-
-
Couldn't load subscription status.
- Fork 1.5k
added java code for cookies #2043
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 java code for cookies #2043
Conversation
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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
added java code for cookies
Motivation and Context
moving code to test
Types of changes
Checklist
PR Type
Tests, Documentation
Description
CookiesTestto include a license header and manage theWebDriverinstance lifecycle within each test method.BaseChromeTestand initializedWebDriverdirectly in the test class.Changes walkthrough 📝
CookiesTest.java
Refactor and enhance Java cookie tests with license headerexamples/java/src/test/java/dev/selenium/interactions/CookiesTest.java
WebDriverinstance initialization within the test class.BaseChromeTestinheritance and manageddriverlifecycle withineach test.
cookies.en.md
Update Java code examples to reference test filewebsite_and_docs/content/documentation/webdriver/interactions/cookies.en.md
cookies.ja.md
Update Java code examples to reference test file (Japanese)website_and_docs/content/documentation/webdriver/interactions/cookies.ja.md
cookies.pt-br.md
Update Java code examples to reference test file (Portuguese)website_and_docs/content/documentation/webdriver/interactions/cookies.pt-br.md
cookies.zh-cn.md
Update Java code examples to reference test file (Chinese)website_and_docs/content/documentation/webdriver/interactions/cookies.zh-cn.md