w3c / w3c/webdriver

A flag is needed to suppress sending the action to the browser and only to update state of the pointer

Open
#1,348 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Perform Actions proposal
Dominant language
HTML
Stars
718
Forks
228
PR merge metrics
No merged PRs in 30d

Description

In chapter 17. Actions, section 17.3 Processing Actions Requests:

When required to process a pointer up or pointer down action with arguments action item, and action, a remote end must run the following steps:

Let button be the result of getting the property button from action item.
If button is not an Integer greater than or equal to 0 return error with error code invalid argument.
Set the button property of action to button.
Return success with data null.

For some of the pointertypes that don't support hover (like current touch screen devices and some styluses) the first action that they inject is indeed a pointerdown and no pointermove before them. So similar to the pointermove we need x,y, and origin for pointerdown as well.

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

Start with the WebDriver specification's section 17.3, “Processing Actions Requests,” and compare the pointerdown steps with the pointermove processing described nearby. Determine the required x, y, and origin information for pointerdown actions, then update the specification so the requested behavior is explicit and verify the surrounding action-processing text remains consistent.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.