Closed Bug 1453292 Opened 3 years ago Closed 3 years ago

Remove Webdriver command "ElementTap"


(Testing :: geckodriver, enhancement, P1)



(firefox64 fixed)

Tracking Status
firefox64 --- fixed


(Reporter: whimboo, Assigned: ato, Mentored)


(Blocks 1 open bug)


(Whiteboard: [lang=rust])


(1 file, 1 obsolete file)

There is a "ElementTap" command present in both geckodriver and webdriver. But there is nothing like that listed in the WebDriver spec. In Marionette it calls `singleTap`, which is part of the old action API.

Not sure when or why this has been added in the past. Maybe it was part of the spec at an earlier stage?

Andreas, am I correct that this can be removed?
Flags: needinfo?(ato)
This can probably be removed.
Flags: needinfo?(ato)
Great. So all references to this command can then be removed from any of the files under `testing/geckodriver` and `testing/webdriver`.
Mentor: hskupin
Whiteboard: [lang=rust]
Attached patch 0001-1-remove-ElementTap.patch (obsolete) — Splinter Review
Here is a patch removing ElementTap.
Attachment #8967982 - Flags: review?(hskupin)
Comment on attachment 8967982 [details] [diff] [review]

Review of attachment 8967982 [details] [diff] [review]:

The patch looks fine and you should have covered each instance of ElementTap. But the commit message is incorrect because it references Marionette, and not geckodriver.

Also maybe you could push your updated patch to mozreview? That would be fantastic because then I could easily create a try build to verify the changes. Thanks.
Attachment #8967982 - Flags: review?(hskupin) → review-
Assignee: nobody → keremkat
Priority: -- → P3
Do you have time and ability to fix up the patch?
Flags: needinfo?(keremkat)
Unfortunately, not currently.
Flags: needinfo?(keremkat)
Andreas, given that it was only the commit message which is wrong, maybe you can update and trigger a try build?
Assignee: keremkat → ato
Priority: P3 → P1
Attachment #8967982 - Attachment is obsolete: true
Removes the non-standard /session/{session id}/element/{element
id}/tap endpoint command from geckodriver.
Comment on attachment 9012046 [details]
bug 1453292: webdriver, geckodriver: remove elementTap command

Henrik Skupin (:whimboo) has approved the revision.
Attachment #9012046 - Flags: review+
Pushed by
webdriver, geckodriver: remove elementTap command r=whimboo
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.