Make it explicite that "Get All Cookies" and "Get Named Cookie" should not return an expiry key for session cookies
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
Serializing a cookie for both the "Get All Cookies" and "Get Named Cookie" commands doesn't explicitly mention that the expiry key should not be present for session cookies:
https://w3c.github.io/webdriver/webdriver-spec.html#dfn-serialized-cookie
Only "Add Cookie" makes it clear under step 7 that for session cookies no expiry key has to be set:
https://w3c.github.io/webdriver/webdriver-spec.html#add-cookie
https://w3c.github.io/webdriver/webdriver-spec.html#dfn-cookie-expiry-time
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WebDriver specification's serialized-cookie definition and compare the Get All Cookies and Get Named Cookie sections with the linked Add Cookie and cookie-expiry-time sections. Done means the serialization rules explicitly state how the expiry key is handled for session cookies in both commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100