Skip to content

Commit 873c8d1

Browse files
committed
Update the docs
1 parent eb1dca0 commit 873c8d1

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

help_docs/chinese.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@
2929

3030
<p align="center">
3131
<a href="#python_installation">🚀 立即开始</a> |
32-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/customizing_test_runs.md">🧙‍♂️ 命令行选项</a> |
33-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/features_list.md">🏰 功能列表</a> |
34-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/ReadMe.md">👨‍🏫 学习示例</a> |
35-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/mobile_testing.md">📱 移动测试</a> |
36-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/example_logs/ReadMe.md">📊 测试报告</a>
32+
<a href="https://seleniumbase.io/help_docs/customizing_test_runs/">🧙‍♂️ 命令行选项</a> |
33+
<a href="https://seleniumbase.io/help_docs/features_list/">🏰 功能列表</a> |
34+
<a href="https://seleniumbase.io/examples/ReadMe/">👨‍🏫 学习示例</a> |
35+
<a href="https://seleniumbase.io/help_docs/mobile_testing/">📱 移动测试</a> |
36+
<a href="https://seleniumbase.io/examples/example_logs/ReadMe/">📊 测试报告</a>
3737
<br />
38-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/method_summary.md">📖 API语法</a> |
39-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/tour_examples/ReadMe.md">🗺️ 创建旅游</a> |
40-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/translations.md">🌎 语言翻译</a> |
41-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/utilities/selenium_ide/ReadMe.md">⏺️ 录音机工具</a> |
42-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/master_qa/ReadMe.md">🛂 MasterQA</a> |
43-
<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/integrations/github/workflows/ReadMe.md">🤖 持续集成</a>
38+
<a href="https://seleniumbase.io/help_docs/method_summary/">📖 API语法</a> |
39+
<a href="https://seleniumbase.io/examples/tour_examples/ReadMe/">🗺️ 创建旅游</a> |
40+
<a href="https://seleniumbase.io/help_docs/translations/">🌎 语言翻译</a> |
41+
<a href="https://seleniumbase.io/seleniumbase/utilities/selenium_ide/ReadMe/">⏺️ 录音机工具</a> |
42+
<a href="https://seleniumbase.io/examples/master_qa/ReadMe/">🛂 MasterQA</a> |
43+
<a href="https://seleniumbase.io/integrations/github/workflows/ReadMe/">🤖 持续集成</a>
4444
</p>
4545

4646
<p align="center">
@@ -54,7 +54,7 @@
5454

5555
* 需要 **[Python](https://www.python.org/downloads/)****[Git](https://git-scm.com/)**
5656
* [<img src="https://img.shields.io/pypi/pyversions/seleniumbase.svg?color=22AAEE" alt="Python:2.7|3.5|3.6|3.7|3.8" />](https://www.python.org/downloads/)
57-
* 建议配合 [Python virtual env](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) . <i><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/virtualenv_instructions.md">See shortcut</a>.</i>
57+
* 建议配合 [Python virtual env](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) . <i><a href="https://seleniumbase.io/help_docs/virtualenv_instructions/">See shortcut</a>.</i>
5858
* 更新 **[pip](https://pypi.org/project/pip/)** 以防出现警告:
5959

6060
```bash
@@ -156,12 +156,12 @@ self.switch_to_window(WINDOW_NUMBER) # 切换不同的 window/tab
156156
self.save_screenshot(FILE_NAME) # 保存当前页面的截图
157157
```
158158

159-
完整的 SeleniumBase methods, 可见: <b><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/method_summary.md">Method Summary</a></b>
159+
完整的 SeleniumBase methods, 可见: <b><a href="https://seleniumbase.io/help_docs/method_summary/">Method Summary</a></b>
160160

161161
<h2><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> Learn More:</h2>
162162

163163
<h4>自动化 WebDriver 技能:</h4>
164-
SeleniumBase 自动化控制 WebDriver 操作 web browsers(浏览器),在运行失败后进行截图保存. (<i><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/customizing_test_runs.md">了解更多关于定制的启动测试用例</a>.</i>)
164+
SeleniumBase 自动化控制 WebDriver 操作 web browsers(浏览器),在运行失败后进行截图保存. (<i><a href="https://seleniumbase.io/help_docs/customizing_test_runs/">了解更多关于定制的启动测试用例</a>.</i>)
165165

166166
<h4>简易的代码:</h4>
167167
SeleniumBase 使用简单简约的语法, 例如:
@@ -205,10 +205,10 @@ nosetests [FILE_NAME].py:[CLASS_NAME].[METHOD_NAME]
205205
在与页面元素进行交互之前,SeleniumBase方法会自动等待页面元素完成加载(*直到超时限制*)。这意味着您不再需要脚本中随机的' time.sleep() '语句.
206206

207207
<h4>自动/手动混合模式:</h4>
208-
SeleniumBase包括一个名为 <b><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/masterqa/ReadMe.md">MasterQA</a></b>的解决方案, 通过让自动化执行所有浏览器操作,同时由手动测试人员处理验证,从而加快了手动测试的速度。.
208+
SeleniumBase包括一个名为 <b><a href="https://seleniumbase.io/examples/master_qa/ReadMe/">MasterQA</a></b>的解决方案, 通过让自动化执行所有浏览器操作,同时由手动测试人员处理验证,从而加快了手动测试的速度。.
209209

210210
<h4>丰富的特性:</h4>
211-
获取SeleniumBase特性的完整列表, <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/features_list.md">点击这里</a>.
211+
获取SeleniumBase特性的完整列表, <a href="https://seleniumbase.io/help_docs/features_list/">点击这里</a>.
212212

213213

214214
<a id="detailed_instructions"></a>
@@ -360,7 +360,7 @@ pytest test_suite.py --browser=firefox
360360

361361
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> 测试目录定制:</h3>
362362

363-
用于在SeleniumBase repo之外运行测试 **Pytest**, 你需要一份 **[pytest.ini](https://github.com/seleniumbase/SeleniumBase/blob/master/pytest.ini)** 在根目录上。用于在SeleniumBase repo之外运行测试 **Nosetests**, 你需要拷贝 **[setup.cfg](https://github.com/seleniumbase/SeleniumBase/blob/master/setup.cfg)** 在根目录上. (子文件夹应该包括一个空白的_”。py“文件。)这些文件指定测试的默认配置细节。(对于运行nosetest,还可以使用``--config ``指定.cfg文件。示例`` nosetests [MY_TEST].py--config=[MY_CONFIG].cfg `` ')
363+
用于在SeleniumBase repo之外运行测试 <b>Pytest</b>, 你需要一份 <b>[pytest.ini](https://github.com/seleniumbase/SeleniumBase/blob/master/pytest.ini)</b> 在根目录上。用于在SeleniumBase repo之外运行测试 <b>Nosetests</b>, 你需要拷贝 <b>[setup.cfg](https://github.com/seleniumbase/SeleniumBase/blob/master/setup.cfg)</b> 在根目录上. (子文件夹应该包括一个空白的 "__init__.py" 文件。)这些文件指定测试的默认配置细节。(对于运行nosetest,还可以使用``--config ``指定.cfg文件。示例`` nosetests [MY_TEST].py--config=[MY_CONFIG].cfg `` ')
364364

365365
作为一个快捷方式,您可以运行`` seleniumbase mkdir [DIRECTORY_NAME] ``来创建一个新的文件夹,其中已经包含了必要的文件和一些可以运行的示例测试。例子:
366366

@@ -461,19 +461,19 @@ pytest user_agent_test.py --agent="Mozilla/5.0 (Nintendo 3DS; U; ; en) Version/1
461461

462462
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> 为网站建设导游服务:</h3>
463463

464-
学习更多内容 <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/tour_examples/ReadMe.md">SeleniumBase Interactive Walkthroughs</a> (在 ``examples/tour_examples`` 文件). 这对于构建一个在线体验网站的原型非常有用。
464+
学习更多内容 <a href="https://seleniumbase.io/examples/tour_examples/ReadMe/">SeleniumBase Interactive Walkthroughs</a> (在 ``examples/tour_examples`` 文件). 这对于构建一个在线体验网站的原型非常有用。
465465

466466

467467
<a id="utilizing_advanced_features"></a>
468468
<h3><img src="https://seleniumbase.io/img/sb_icon.png" title="SeleniumBase" width="30" /> Production Environments & Integrations:</h3>
469469

470470
下面是为测试设置生产环境时可以做的一些事情:
471471

472-
* 您可以启动 [Jenkins](https://jenkins.io/) 为定期运行测试构建服务器. 这是一个真实的Jenkins的headless浏览器自动化的例子, check out the <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/integrations/azure/jenkins/ReadMe.md">SeleniumBase Jenkins在Azure上的例子</a> 或者 <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/integrations/google_cloud/ReadMe.md">在谷歌云上的SeleniumBase Jenkins例子</a>.
472+
* 您可以启动 [Jenkins](https://jenkins.io/) 为定期运行测试构建服务器. 这是一个真实的Jenkins的headless浏览器自动化的例子, check out the <a href="https://seleniumbase.io/integrations/azure/jenkins/ReadMe/">SeleniumBase Jenkins在Azure上的例子</a> 或者 <a href="https://seleniumbase.io/integrations/google_cloud/ReadMe/">在谷歌云上的SeleniumBase Jenkins例子</a>.
473473

474-
* 您可以使用 [the Selenium Grid](https://selenium.dev/documentation/en/grid/) 通过在多台机器上并行执行测试来扩展测试. 要做到这一点,请查看 [SeleniumBase selenium_grid folder](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/utilities/selenium_grid), 这应该有你需要的一切,包括 <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/utilities/selenium_grid/ReadMe.md">Selenium Grid ReadMe</a>, 这会帮助你开始.
474+
* 您可以使用 [the Selenium Grid](https://selenium.dev/documentation/en/grid/) 通过在多台机器上并行执行测试来扩展测试. 要做到这一点,请查看 [SeleniumBase selenium_grid folder](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/utilities/selenium_grid), 这应该有你需要的一切,包括 <a href="https://seleniumbase.io/seleniumbase/utilities/selenium_grid/ReadMe/">Selenium Grid ReadMe</a>, 这会帮助你开始.
475475

476-
* 如果你用 <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/help_docs/mysql_installation.md">SeleniumBase MySQL 特性</a> 保存在服务器机器上运行的测试结果,你需要安装 [MySQL Workbench](https://dev.mysql.com/downloads/tools/workbench/) 帮助你从你的数据库更容易地读和写.
476+
* 如果你用 <a href="https://seleniumbase.io/help_docs/mysql_installation/">SeleniumBase MySQL 特性</a> 保存在服务器机器上运行的测试结果,你需要安装 [MySQL Workbench](https://dev.mysql.com/downloads/tools/workbench/) 帮助你从你的数据库更容易地读和写.
477477

478478
* 如果你用 [Slack](https://slack.com), 您可以使用 [Jenkins Slack Plugin](https://github.com/jenkinsci/slack-plugin)很容易地让Jenkins jobs在那里显示结果. 另一种将消息从测试发送到Slack的方法是通过 [Slack's Incoming Webhooks API](https://api.slack.com/incoming-webhooks).
479479

0 commit comments

Comments
 (0)