-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Update Chinese translation of "chrome_devtools" and "bidirectional" #885
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
harsha509
merged 2 commits into
SeleniumHQ:dev
from
alaahong:feature/bidirectional_zh-cn_20211218
Dec 18, 2021
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Update Chinese translation of "chrome_devtools" and "bidirectional"
- Loading branch information
commit 704589b2abf3a37f56b48d58951b8e1f748f1759
There are no files selected for viewing
37 changes: 21 additions & 16 deletions
37
website_and_docs/content/documentation/webdriver/bidirectional/_index.zh-cn.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,31 @@ | ||
--- | ||
title: "双向功能" | ||
linkTitle: "双向" | ||
title: "双向协议" | ||
linkTitle: "双向协议" | ||
weight: 16 | ||
aliases: [ | ||
"/documentation/zh-cn/webdriver/bidi_apis/", | ||
"/zh-cn/documentation/webdriver/bidi_apis/" | ||
] | ||
--- | ||
|
||
Selenium is working with browser vendors to create the | ||
[WebDriver BiDirectional Protocol](https://w3c.github.io/webdriver-bidi/) | ||
as a means to provide a stable, cross-browser API that uses the bidirectional | ||
functionality useful for both browser automation generally and testing specifically. | ||
Before now, users seeking this functionality have had to rely on | ||
with all of its frustrations and limitations. | ||
Selenium正在与浏览器供应商合作创建 | ||
[WebDriver双向协议](https://w3c.github.io/webdriver-bidi/) , | ||
作为一种提供稳定的跨浏览器API的方法, | ||
该API使用双向协议处理 | ||
各种浏览器的通用自动化以及特定测试的需求. | ||
在此之前, 寻求此功能的用户 | ||
必须忍受当前实现的全部问题和局限. | ||
|
||
The traditional webdriver model of strict request/response commands will be supplemented | ||
with the ability to stream events from the user agent to the controlling software via WebSockets, | ||
better matching the evented nature of the browser DOM. | ||
|
||
Because it's a bad idea to tie your tests to a specific version of a specific browser, | ||
the Selenium project recommends using WebDriver BiDi wherever possible. | ||
However, until the spec is complete there are many useful things that the CDP offers. | ||
To help keep your tests independent and portable, Selenium offers some useful helper classes. | ||
At the moment, these use the CDP, but when we shall be using WebDriver Bidi as soon as possible | ||
严格限制请求响应命令的传统webdriver模型, | ||
将从user agent转变为基于WebScokets的软件控制, | ||
alaahong marked this conversation as resolved.
Show resolved
Hide resolved
|
||
通过这样完善流事件的能力, | ||
以便更好地匹配浏览器DOM的事件性质. | ||
|
||
因为将测试受限于特定浏览器的特定版本是个坏主意, | ||
Selenium项目建议尽可能使用WebDriver BiDi. | ||
然而, 在规范完成之前, CDP提供了许多有用的东西. | ||
为了帮助保持测试的独立性和可移植性, | ||
Selenium提供了一些有用的辅助类. | ||
目前, 这些应用程序使用CDP, | ||
但我们将尽快提供WebDriver Bidi的实现. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.