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

Cannot drag and drop with Python API for WebDriver #1279

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

Cannot drag and drop with Python API for WebDriver #1279

lukeis opened this issue Mar 2, 2016 · 4 comments

Comments

@lukeis
Copy link
Member

lukeis commented Mar 2, 2016

Originally reported on Google Code with ID 1279

* What is the expected output? What do you see instead?

I am expecting to see the Python equivalent of dragAndDropOn(), but it's not supported
for the Python WebElement type.

For more info on dragAndDropOn, see:
http://seleniumhq.org/docs/09_webdriver.html#using-drag-and-drop

* What version of the product are you using? On what operating system?

selenium-2.0b1 in Ubuntu

* Please provide any additional information below.

There is already a browser command in remote/command.py called dragElement. Does dragAndDropOn
use that? If so, then all that needs to be done is to create the API method that sends
that command to the browser.

Reported by gregnofi on 2011-02-07 22:17:40

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Drag And Drop has been deprecated from RenderedWebElement (http://code.google.com/p/selenium/source/browse/trunk/java/client/src/org/openqa/selenium/RenderedWebElement.java#76)
in Java so I haven't implemented it in Python yet.

We are doing work on better mouse and keyboard interaction as part of the Advanced
User Interactions. When that has been done I will implement the it.

Reported by theautomatedtester on 2011-02-09 21:36:53

  • Status changed: Accepted
  • Labels added: Lang-Python

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Reported by theautomatedtester on 2011-03-25 14:09:33

  • Status changed: Started

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Advanced User Interactions API was added in r12045. At the moment only works with HtmlUnit
which you can access via the remote webdriver

Reported by theautomatedtester on 2011-04-20 11:31:55

  • Status changed: Fixed

@lukeis
Copy link
Member Author

lukeis commented Mar 2, 2016

Reported by luke.semerau on 2015-09-17 18:11:56

  • Labels added: Restrict-AddIssueComment-Commit

@lukeis lukeis closed this as completed Mar 2, 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