w3c / w3c/webdriver

(Actions) Are action commands/sequences intended to be independent of each other?

Open
#1,197 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Let's say the remote end receives two distinct action commands, one right after the other in the same session, that consist of a sequence of pointerDown, pointerUp on the same coordinates with a mouse pointer input source:

POST .../actions ... [pointerDown, pointerUp]
POST .../actions ... [pointerDown, pointerUp]

In effect, this generates two click events on the same element in quick succession, so my understanding is that a dblclick should also be generated. In other words, the first command impact the effect of the second in this case if they happen in a short enough interval.

Could anyone confirm that that's what is intended? Opinions? @ato @jgraham @whimboo

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 by reviewing the WebDriver actions endpoint and the described pointerDown/pointerUp sequences. Determine whether consecutive POST /actions commands share enough input state to produce a dblclick, then document the agreed normative behavior; no file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.