-
-
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
Added Setup and Teardown Python Examples to Organizing and Executing Selenium Code #1868
Conversation
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
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.
It seems these changes are also part of #1871. Can you leave each PR with a single set of changes? |
It seems that all my merges got tangled up together - if you want me to update this I'd have to include the other merges alongside it @diemol |
Whatever is easier. Maybe for the next PRs, a single set of changes is preferred. |
Sounds good, I'll give it a quick update and push. One moment |
Done |
User description
Added Setup and Teardown Python Examples to Organizing and Executing Selenium Code
Description
Updated english and japanese versions of Organizing and Executing Selenium Code page to include lines of python code
updated examples/python/getting_started/using_selenium_tests.py to include setup and teardown functions
Motivation and Context
needed documentation
Types of changes
Checklist
PR Type
documentation, enhancement
Description
setup
andteardown
functions in Python Selenium test examples to improve code organization.Changes walkthrough 📝
using_selenium_tests.py
Add setup and teardown functions for Selenium tests
examples/python/tests/getting_started/using_selenium_tests.py
setup
function to initialize WebDriver and open a URL.teardown
function to quit the WebDriver.using_selenium.en.md
Update English documentation with Python setup/teardown examples
website_and_docs/content/documentation/webdriver/getting_started/using_selenium.en.md
using_selenium.ja.md
Update Japanese documentation with Python setup/teardown examples
website_and_docs/content/documentation/webdriver/getting_started/using_selenium.ja.md