-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update waits.zh-cn.md translate to chinese #1561
Conversation
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your commits, do we have the possible to update the content as comments?
Solving our example with an implicit wait looks like this: | ||
浏览器自动处理最大的挑战可能是确保网页在某个确定的、期望的状态下执行 Selenium 命令。 | ||
这些过程通常处于 混乱竞争状态, 有时候网页先处理好,有时候 Selenium 命令先执行。 | ||
这就是为什么需要稳定性测试。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you keep the original style on flaky tests?
|
||
所有导航命令都需要一个准确的 `Ready状态` 值, 这取决于 [网页加载策略]({{< ref "drivers/options#pageloadstrategy" >}}) (一个默认的完成值),之后`浏览器 Driver`将控制权交回给代码进行处理。 | ||
这个 `Ready状态` 只关心在html 中定义的 css js 是否被加载,但 js 加载通常导致网页资源的变动,执行下一个 Selenium 命令时,网页元素在交互后可能还没有出现在网页中,。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The assets are not only including css and js, it might be more generally treating as resources.
refer: https://www.selenium.dev/documentation/webdriver/drivers/options/#pageloadstrategy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what should i do. replace "drivers/options#pageloadstrategy" to "https://www.selenium.dev/documentation/webdriver/drivers/options/#pageloadstrategy" ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, Just mention that you translated the "assets" as "css js" , but actually, that's not meaning of them only...
Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.
Description
Motivation and Context
Types of changes
Checklist