Skip to content

Commit 3a4bd47

Browse files
docs: update zh-cn of install drivers page (SeleniumHQ#1238)
* Update install_drivers.zh-cn.md * Revert irrelevant changes * Revert irrelevant changes * Update website_and_docs/content/documentation/webdriver/getting_started/install_drivers.zh-cn.md Co-authored-by: Jason Ren <[email protected]> Co-authored-by: ian zhang <[email protected]>
1 parent e12ee1d commit 3a4bd47

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

website_and_docs/content/documentation/webdriver/getting_started/install_drivers.zh-cn.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,29 +34,28 @@ WebDriver尽量使用浏览器内置的自动化支持
3434
</p>
3535
{{% /pageinfo %}}
3636

37-
## Four Ways to Use Drivers
37+
## 四种使用驱动的方法
3838

3939
### 1. Selenium Manager <small>(Beta)</small>
4040

4141
{{< badge-version version="4.6" >}}
4242

43-
Selenium Manager helps you to get a working environment to run Selenium out of the box. Beta 1
44-
of Selenium Manager will configure the drivers for Chrome, Firefox, and Edge if they are not
45-
found on the `PATH`. No extra configuration is needed. Future releases of Selenium Manager
46-
will eventually even download browsers if necessary.
43+
Selenium Manager可以帮助你获得一个运行Selenium的开箱即用的环境。
44+
如果在`PATH`中没有找到Chrome、Firefox和Edge的驱动,Selenium Manager的Beta 1版将为它们配置。
45+
不需要额外的配置。如果有必要,Selenium Manager的未来版本也会在必要时一同下载浏览器。
4746

48-
Read more at the blog announcement for [Selenium Manager ](/blog/2022/introducing-selenium-manager/).
47+
在这篇[公告](/blog/2022/introducing-selenium-manager/)中了解更多有关 Selenium Manager 的信息。
4948

5049
### 2. 驱动管理软件
5150

5251
大多数机器会自动更新浏览器,
53-
但驱动程序不会.
52+
但不会自动更新驱动程序.
5453
为了确保为浏览器提供正确的驱动程序,
5554
这里有许多第三方库可为您提供帮助.
5655

5756
{{< tabpane code=false langEqualsHeader=true >}}
5857
{{% tab header="Java" %}}
59-
**Important:** This package does not currently work for IEDriverServer v4+
58+
**注意:** 这个软件包目前不能用于IEDriverServer v4以上的版本。
6059

6160
1. 导入 [WebDriverManager](https://github.com/bonigarcia/webdrivermanager)
6261
```java
@@ -117,7 +116,7 @@ driver = Selenium::WebDriver.for :chrome
117116

118117
{{% /tab %}}
119118
{{% tab header="JavaScript" %}}
120-
*There is not a recommended driver manager for JavaScript at this time*
119+
*暂时还没有推荐的JavaScript驱动管理器*
121120
{{% /tab %}}
122121
{{% tab header="Kotlin" %}}
123122

@@ -286,7 +285,7 @@ fun main(args: Array<String>) {
286285
| Internet Explorer | Windows | Selenium Project | [下载](/downloads) | [Issues](//github.com/SeleniumHQ/selenium/labels/D-IE) |
287286
| Safari | macOS High Sierra and newer | Apple | 内置 | [Issues](//bugreport.apple.com/logon) |
288287

289-
Note: The Opera driver no longer works with the latest functionality of Selenium and is currently officially unsupported.
288+
备注:Opera驱动不再适用于Selenium的最新功能,目前官方不支持。
290289

291290

292291
## 下一步

0 commit comments

Comments
 (0)