Skip to content

[py] Update docs with pytest example and minor formatting fixes#17351

Merged
cgoldberg merged 3 commits intoSeleniumHQ:trunkfrom
cgoldberg:py-update-readme-examples
Apr 15, 2026
Merged

[py] Update docs with pytest example and minor formatting fixes#17351
cgoldberg merged 3 commits intoSeleniumHQ:trunkfrom
cgoldberg:py-update-readme-examples

Conversation

@cgoldberg
Copy link
Copy Markdown
Member

@cgoldberg cgoldberg commented Apr 15, 2026

💥 What does this PR do?

Edits to index.rst in docs to add a pytest example and fix some minor issues

🔄 Types of changes

  • Cleanup (formatting, renaming)

@selenium-ci selenium-ci added the C-py Python Bindings label Apr 15, 2026
@qodo-code-review
Copy link
Copy Markdown
Contributor

Review Summary by Qodo

Update Python docs with pytest example and URL/formatting fixes

📝 Documentation

Grey Divider

Walkthroughs

Description
• Update documentation URLs to remove 'www' subdomain
• Add pytest framework example alongside unittest
• Standardize quote style from single to double quotes
• Minor text improvements and formatting fixes

Grey Divider

File Changes

1. py/docs/source/index.rst 📝 Documentation +40/-20

Documentation updates with pytest example and formatting

• Removed 'www' subdomain from 4 documentation URLs for consistency
• Added new Example 3 demonstrating pytest framework with fixture pattern
• Changed Example 2 from Google/Firefox to Selenium/Chrome with updated assertions
• Standardized all code examples to use double quotes instead of single quotes
• Fixed minor text issues: "simple example" to "an example", "library" to "framework"
• Corrected capitalization: "Webdriver" to "WebDriver"
• Fixed section header underline length for "Selenium Grid" section

py/docs/source/index.rst


Grey Divider

Qodo Logo

@SeleniumHQ SeleniumHQ deleted a comment from qodo-code-review bot Apr 15, 2026
@cgoldberg cgoldberg merged commit dcac28a into SeleniumHQ:trunk Apr 15, 2026
14 checks passed
@cgoldberg cgoldberg deleted the py-update-readme-examples branch April 15, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-py Python Bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants