Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Inconsistencies in the interactions API #4047

Closed
lukeis opened this issue Mar 3, 2016 · 4 comments
Closed

Inconsistencies in the interactions API #4047

lukeis opened this issue Mar 3, 2016 · 4 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 3, 2016

Originally reported on Google Code with ID 4047

POST /session/:sessionId/moveto
    element - {string} ID of the element to move to. If not specified or is null, the
offset is relative to current position of the mouse.

The element should be specified as a standard WebElement JSON object:
http://code.google.com/p/selenium/wiki/JsonWireProtocol#WebElement_JSON_Object
--------------------

POST /session/:sessionId/click
POST /session/:sessionId/buttondown
POST /session/:sessionId/buttonup
POST /session/:sessionId/doubleclick

Click accepts a "button" JSON parameter, but buttondown, buttonup, and doubleclick
do not.

Reported by jmleyba on 2012-06-07 16:05:26

@lukeis
Copy link
Member Author

lukeis commented Mar 3, 2016

I'll clarify on the wiki page that the element specified in the 'moveto' command is
in the same format as everywhere else.

Regarding the difference between click and the other mouse commands, I could add an
optional 'button' parameter (but it won't be implemented anywhere)

Reported by eran.mes on 2012-06-26 09:00:51

@lukeis
Copy link
Member Author

lukeis commented Mar 3, 2016

This issue was closed by revision r17277.

Reported by eran.mes on 2012-06-26 09:11:36

  • Status changed: Fixed

@lukeis
Copy link
Member Author

lukeis commented Mar 3, 2016

Fixed in r17277.

Reported by eran.mes on 2012-06-26 09:13:16

@lukeis
Copy link
Member Author

lukeis commented Mar 3, 2016

Reported by luke.semerau on 2015-09-17 18:15:38

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 3, 2016
@SeleniumHQ SeleniumHQ locked and limited conversation to collaborators Mar 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant