SeleniumHQ / seleniumhq.github.io

Official Selenium website and documentation
https://selenium.dev
Apache License 2.0
1.03k stars 1.23k forks source link

update feature/getting_started_20240621 #1772

Closed alaahong closed 3 weeks ago

alaahong commented 3 weeks ago

User description

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

Update getting_start page

Motivation and Context

Types of changes

Checklist


PR Type

Documentation


Description


Changes walkthrough 📝

Relevant files
Documentation
_index.zh-cn.md
Improve Chinese translation and update getting started guide

website_and_docs/content/documentation/webdriver/getting_started/_index.zh-cn.md
  • Updated translation status to false.
  • Corrected the capitalization of WebDriver.
  • Improved translation and clarity of the setup instructions.
  • Updated links and instructions for better readability.
  • +9/-9     

    💡 PR-Agent usage: Comment /help on the PR to get a list of all available PR-Agent tools and their descriptions

    netlify[bot] commented 3 weeks ago

    Deploy request for selenium-dev pending review.

    Visit the deploys page to approve it

    Name Link
    Latest commit 3ec2d18d6fa9b11474c649afee52ee6f69996310
    codiumai-pr-agent-pro[bot] commented 3 weeks ago

    PR Reviewer Guide 🔍

    ⏱️ Estimated effort to review [1-5] 2
    🧪 Relevant tests No
    🔒 Security concerns No
    ⚡ Key issues to review Translation Consistency:
    Ensure that the translation changes maintain consistency with the original document's intent and technical accuracy.
    Documentation Clarity:
    Verify that the updated instructions and descriptions are clear and easy to follow for users familiar with the language.
    codiumai-pr-agent-pro[bot] commented 3 weeks ago

    PR Code Suggestions ✨

    CategorySuggestion                                                                                                                                    Score
    Clarity
    ✅ Rephrase a confusing phrase to make it more understandable ___
    Suggestion Impact:The suggestion to rephrase "目标浏览器机器驱动" to "目标浏览器的驱动程序" was implemented in the commit, improving the clarity of the document. code diff: ```diff -目标浏览器机器驱动. +目标浏览器的驱动程序. ```
    ___ **The phrase "目标浏览器机器驱动" is unclear and could be confusing. It would be better to rephrase
    it to "目标浏览器的驱动程序" to make it more understandable.** [website_and_docs/content/documentation/webdriver/getting_started/_index.zh-cn.md [33-34]](https://github.com/SeleniumHQ/seleniumhq.github.io/pull/1772/files#diff-2bfa7400044a8416ad361a52d7c929d148f6172ea7333a07b1c6d865e48ea767R33-R34) ```diff 您必须安装所选语言的相关类库, -目标浏览器机器驱动. +目标浏览器的驱动程序. ``` - [x] **Apply this suggestion**
    Suggestion importance[1-10]: 7 Why: The suggested rephrasing clarifies the meaning of the phrase, improving the document's clarity and readability.
    7
    Readability
    ✅ Remove redundancy in a phrase to improve readability ___
    Suggestion Impact:The suggestion was implemented by removing the redundant phrase "的设置" to improve readability. code diff: ```diff -Selenium的设置与其他商业工具的设置有很大不同. +Selenium的设置与其他商业工具有很大不同. ```
    ___ **The phrase "Selenium的设置与其他商业工具的设置有很大不同" should be rephrased to "Selenium的设置与其他商业工具有很大不同"
    to avoid redundancy.** [website_and_docs/content/documentation/webdriver/getting_started/_index.zh-cn.md [31]](https://github.com/SeleniumHQ/seleniumhq.github.io/pull/1772/files#diff-2bfa7400044a8416ad361a52d7c929d148f6172ea7333a07b1c6d865e48ea767R31-R31) ```diff -Selenium的设置与其他商业工具的设置有很大不同. +Selenium的设置与其他商业工具有很大不同. ``` - [x] **Apply this suggestion**
    Suggestion importance[1-10]: 6 Why: The suggestion correctly identifies and removes redundancy, enhancing the readability of the sentence.
    6
    Consistency
    Maintain consistency in addressing the reader formally ___ **The phrase "开始工作后,如果想扩展您的测试,请查看" should be rephrased to "开始工作后,如果您想扩展您的测试,请查看" to maintain
    consistency in addressing the reader formally.** [website_and_docs/content/documentation/webdriver/getting_started/_index.zh-cn.md [41]](https://github.com/SeleniumHQ/seleniumhq.github.io/pull/1772/files#diff-2bfa7400044a8416ad361a52d7c929d148f6172ea7333a07b1c6d865e48ea767R41-R41) ```diff -开始工作后,如果想扩展您的测试,请查看 +开始工作后,如果您想扩展您的测试,请查看 ``` - [ ] **Apply this suggestion**
    Suggestion importance[1-10]: 6 Why: The suggestion enhances consistency in the tone of the document by maintaining a formal address, which is important for professional documentation.
    6
    Punctuation
    Add a period at the end of a sentence for proper punctuation ___ **The phrase "请点击以下链接,开始使用 Selenium WebDriver" should be rephrased to "请点击以下链接,开始使用 Selenium
    WebDriver。" to add a period at the end of the sentence for proper punctuation.** [website_and_docs/content/documentation/webdriver/getting_started/_index.zh-cn.md [36]](https://github.com/SeleniumHQ/seleniumhq.github.io/pull/1772/files#diff-2bfa7400044a8416ad361a52d7c929d148f6172ea7333a07b1c6d865e48ea767R36-R36) ```diff -***请点击以下链接,开始使用 Selenium WebDriver.*** +***请点击以下链接,开始使用 Selenium WebDriver。*** ``` - [ ] **Apply this suggestion**
    Suggestion importance[1-10]: 5 Why: The suggestion correctly adds a missing period, improving the punctuation and professionalism of the document.
    5