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
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
I have added the command to run the selenium file using Python.
Motivation and Context
This was missing from the documentation.
Types of changes
Change to the site (I have double-checked the Netlify deployment, and my changes look good)
Code example added (and I also added the example to all translated languages)
[ x] Improved translation
Added new translation (and I also added a notice to each document missing translation)
I have used hugo to render the site/docs locally and I am sure it works.
PR Type
documentation, enhancement
Description
Added a section in examples/python/README.md to provide users with the command to run a Python script, enhancing the usability of the examples.
Updated website_and_docs/content/documentation/webdriver/getting_started/first_script.en.md to link directly to the newly added instructions in the examples README, improving the documentation's interactivity and user guidance.
Changes walkthrough 📝
Relevant files
Documentation
README.md
Add Python Script Execution Instructions
examples/python/README.md
Added instructions on how to execute a Python script using the command line.
2, because the changes are straightforward and limited to documentation updates. The PR involves adding a new section in a README file and updating a reference in another documentation file.
🧪 Relevant tests
No
⚡ Possible issues
No newline at end of file: The modified README.md file does not end with a newline. This is not typically a major issue but can lead to problems with version control systems or when concatenating files.
Add a comment explaining the purpose of the script.
It's recommended to provide a brief explanation or comment about what example_script.py does or what it's used for, especially for new users or readers who might not be familiar with the script. This can be added just before the command to run the script.
+# This script demonstrates basic Python operations.
python example_script.py
Maintainability
✅ Verify and maintain the accuracy of the linked path in the documentation.Suggestion Impact:The commit updated all the line references in the gh-codeblock shortcodes throughout the document, including the Python README reference mentioned in the suggestion. The commit shows careful attention to maintaining accurate line references by updating them and even expanding to include ranges (e.g., L18-19 instead of just L19).
Ensure that the path specified in the gh-codeblock shortcode correctly points to the relevant section of the README. If the line number changes in the README, this reference will need to be updated to maintain accuracy.
-{{< gh-codeblock path="examples/python/README.md#L37" >}}+{{< gh-codeblock path="examples/python/README.md#L37" >}} # Ensure this line number is kept updated with any changes in the README.
Hi @harsha509,
I have fixed the conflict. I added the guide for Gradle and someone else added the guide for Maven and I have merged the 2 together. Please let me know if there are any other issues.
Thank you,
Sadik
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.
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
I have added the command to run the selenium file using Python.
Motivation and Context
This was missing from the documentation.
Types of changes
Checklist
PR Type
documentation, enhancement
Description
examples/python/README.mdto provide users with the command to run a Python script, enhancing the usability of the examples.website_and_docs/content/documentation/webdriver/getting_started/first_script.en.mdto link directly to the newly added instructions in the examples README, improving the documentation's interactivity and user guidance.Changes walkthrough 📝
README.md
Add Python Script Execution Instructionsexamples/python/README.md
line.
first_script.en.md
Link Python Script Execution in Documentationwebsite_and_docs/content/documentation/webdriver/getting_started/first_script.en.md
README.