You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Python test command codeblock links in WebDriver getting started docs
📝 Documentation🕐 Less than 10 minutes
AI Description
• Fix Python "Executing" snippet to show the pytest command, not dependency installation.
• Update gh-codeblock line anchors across EN/JA/PT-BR/ZH-CN getting-started pages.
The following are alternative approaches to this PR:
1. Inline the pytest command directly in the docs
➕ Eliminates fragile line-number anchors
➕ Makes the rendered docs independent of README formatting changes
➖ Duplicates content across languages
➖ Can drift from the example README over time
2. Use stable snippet markers instead of line numbers (if supported/added)
➕ Keeps single source of truth while avoiding line-renumber breakage
➕ Scales better as README evolves
➖ May require updating/adding shortcode capability or adopting a snippet convention
➖ More work than warranted for this small fix
Recommendation: For this PR, the current approach (updating the gh-codeblock line reference to the correct command) is appropriate and minimal. Longer-term, consider moving away from line-number anchors for single-line commands (either inline in docs or via stable snippet markers) to reduce future breakage when README content shifts.
Files changed (4) +4 / -4
Documentation (4) +4 / -4
using_selenium.en.mdPoint Python Executing snippet to pytest command line+1/-1
Point Python Executing snippet to pytest command line
• Updates the Python gh-codeblock reference in the Executing section from README line 35 to line 44 so the rendered snippet shows the pytest command rather than dependency installation.
Qodo reviewed your code and found no material issues that require review
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.
Description
Updated the Python
gh-codeblockreference in the “Executing” section of the WebDriver getting started documentation.The reference now points to
pyteston line 44 ofexamples/python/README.mdin the English, Japanese, Portuguese, and Simplified Chinese pages.Motivation and Context
The previous reference pointed to line 35, which is part of the dependency installation command rather than the command for running the test suite.
Types of changes
Checklist