[py] add code examples for cookies #2073
Merged
+93
−256
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
Moves code example for cookie to a file
Motivation and Context
It is easier to read and also navigate
Types of changes
Checklist
PR Type
enhancement, documentation
Description
test_cookies.py
with functions demonstrating cookie interactions such as adding, retrieving, and deleting cookies.Changes walkthrough 📝
test_cookies.py
Add Python examples for cookie interactions
examples/python/tests/interactions/test_cookies.py
cookies.en.md
Update English documentation with Python code references
website_and_docs/content/documentation/webdriver/interactions/cookies.en.md
cookies.ja.md
Update Japanese documentation with Python code references
website_and_docs/content/documentation/webdriver/interactions/cookies.ja.md
cookies.pt-br.md
Update Portuguese documentation with Python code references
website_and_docs/content/documentation/webdriver/interactions/cookies.pt-br.md
cookies.zh-cn.md
Update Chinese documentation with Python code references
website_and_docs/content/documentation/webdriver/interactions/cookies.zh-cn.md