Clearing input cancel list in Element Send Keys
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 718
- Forks
- 228
- PR merge metrics
- No merged PRs in 30d
Description
Element Send Keys details the following steps:
- Let source be the result of create an input source with input state, and "key".
- Add an input source with input state, input id and source.
- Dispatch actions for a string with arguments input state, input id, and source, text, and session's current browsing context.
- Remove an input source with input state and input id.
Dispatch actions for a string then eventually dispatches keyDown actions, which in dispatch tick actions says:
If subtype is "keyDown", append a copy of action object with the subtype property changed to "keyUp" to input state’s input cancel list.
Once that is done we arrive at step 14 in Element Send Keys: Remove an input source. This says:
Assert: None of the items in input state's input cancel list has id equal to input id.
But I can't find the place in the spec where the input cancel list should be cleared: the only reference to clearing the input cancel list is in Release Actions.
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 by tracing the cited WebDriver sections: Element Send Keys, Dispatch actions for a string, dispatch tick actions, Remove an input source, and Release Actions. Compare their input cancel list requirements and determine whether the specification identifies a clearing step. Done means the specification's lifecycle is consistent and the missing behavior or assertion is explicitly resolved.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100