w3c / w3c/webdriver

GET/POST for '/session/{session id}/alert/text' references alert message vs. text field

Open
#1,146 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

clarification
Dominant language
HTML
Stars
718
Forks
228
PR merge metrics
No merged PRs in 30d

Description

In the WebDriver spec the endpoint for /session/{session id}/alert/text references different elements for the GET and POST request. While GET returns the value of the alert message, POST sets the text field of an alert.

https://w3c.github.io/webdriver/webdriver-spec.html#get-alert-text
https://w3c.github.io/webdriver/webdriver-spec.html#send-alert-text

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the GET and POST definitions in the WebDriver specification at the linked get-alert-text and send-alert-text sections. Trace which alert element each operation references, then update the specification so the terminology and referenced element are consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
api, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.