We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag and drop don't release Web Element.
Run code in section
Move element to another element
from selenium.webdriver import Firefox from selenium.webdriver.common.action_chains import ActionChains browser = Firefox('http://selenium.dunossauro.live/drag.html') browser.get(url) ac = ActionChains(browser) def drag_and_drop(target, release): """Brute force testing.""" ac = ActionChains(browser) ac.click_and_hold(target) ac.move_to_element(release) ac.release(release) ac.perform() drag_and_drop( browser.find_element_by_id('dragA'), browser.find_element_by_id('dropBox') ) ac.drag_and_drop( browser.find_element_by_id('dragA'), browser.find_element_by_id('dropBox') ).perform()
OS: ArchLinux Browser: Firefox and Chrome Browser version: Firefox 76.0.1 / 81.0.4044.138 (64bits) Browser Driver version: geckodriver 0.26.0 /ChromeDriver 81.0.4044.138 Language Bindings version: Python 3.8.1 Selenium Versions: tested on 3.141.0 and 4.0.0a5 Selenium Grid version (if applicable): N/A
1590483590906 [email protected] WARN Loading extension '[email protected]': Reading manifest: Invalid extension permission: networkStatus 1590483591080 [email protected] WARN Loading extension '[email protected]': Reading manifest: Invalid extension permission: mozillaAddons 1590483591080 [email protected] WARN Loading extension '[email protected]': Reading manifest: Invalid extension permission: telemetry 1590483591080 [email protected] WARN Loading extension '[email protected]': Reading manifest: Invalid extension permission: resource://pdf.js/ 1590483591080 [email protected] WARN Loading extension '[email protected]': Reading manifest: Invalid extension permission: about:reader* 1590483592119 Marionette INFO Listening on port 35757 1590483592202 Marionette WARN TLS certificate errors will be ignored for this session 1590483592289 Marionette WARN TimedPromise timed out after 0 ms: stacktrace: TimedPromise/<@chrome://marionette/content/sync.js:245:13 TimedPromise@chrome://marionette/content/sync.js:230:10 Sleep@chrome://marionette/content/sync.js:283:10 dispatchPause@chrome://marionette/content/action.js:1482:10 toEvents/<@chrome://marionette/content/action.js:1156:16 action.dispatchTickActions@chrome://marionette/content/action.js:1060:35 action.dispatch/chainEvents<@chrome://marionette/content/action.js:1028:20 action.dispatch@chrome://marionette/content/action.js:1034:5 performActions@chrome://marionette/content/listener.js:853:16 dispatch/</req<@chrome://marionette/content/listener.js:527:14 dispatch/<@chrome://marionette/content/listener.js:520:15 1590483592553 Marionette WARN TimedPromise timed out after 0 ms: stacktrace: TimedPromise/<@chrome://marionette/content/sync.js:245:13 TimedPromise@chrome://marionette/content/sync.js:230:10 Sleep@chrome://marionette/content/sync.js:283:10 dispatchPause@chrome://marionette/content/action.js:1482:10 toEvents/<@chrome://marionette/content/action.js:1156:16 action.dispatchTickActions@chrome://marionette/content/action.js:1060:35 action.dispatch/chainEvents<@chrome://marionette/content/action.js:1028:20 1590483592554 Marionette WARN TimedPromise timed out after 0 ms: stacktrace: TimedPromise/<@chrome://marionette/content/sync.js:245:13 TimedPromise@chrome://marionette/content/sync.js:230:10 Sleep@chrome://marionette/content/sync.js:283:10 dispatchPause@chrome://marionette/content/action.js:1482:10 toEvents/<@chrome://marionette/content/action.js:1156:16 action.dispatchTickActions@chrome://marionette/content/action.js:1060:35 action.dispatch/chainEvents<@chrome://marionette/content/action.js:1028:20 1590483592818 Marionette WARN TimedPromise timed out after 0 ms: stacktrace: TimedPromise/<@chrome://marionette/content/sync.js:245:13 TimedPromise@chrome://marionette/content/sync.js:230:10 Sleep@chrome://marionette/content/sync.js:283:10 dispatchPause@chrome://marionette/content/action.js:1482:10 toEvents/<@chrome://marionette/content/action.js:1156:16 action.dispatchTickActions@chrome://marionette/content/action.js:1060:35 action.dispatch/chainEvents<@chrome://marionette/content/action.js:1028:20 1590483593083 Marionette WARN TimedPromise timed out after 0 ms: stacktrace: TimedPromise/<@chrome://marionette/content/sync.js:245:13 TimedPromise@chrome://marionette/content/sync.js:230:10 Sleep@chrome://marionette/content/sync.js:283:10 dispatchPause@chrome://marionette/content/action.js:1482:10 toEvents/<@chrome://marionette/content/action.js:1156:16 action.dispatchTickActions@chrome://marionette/content/action.js:1060:35 action.dispatch/chainEvents<@chrome://marionette/content/action.js:1028:20 1590483598398 Marionette INFO Stopped listening on port 35757
The text was updated successfully, but these errors were encountered:
maybe related to #8342
Sorry, something went wrong.
This is another duplicate of #8003 Native drag and drop is broken in pretty much all of the drivers right now, and there's not much Selenium can do about it right now: https://wpt.fyi/results/webdriver/tests/perform_actions/pointer.py
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
🐛 Bug Report
Drag and drop don't release Web Element.
To Reproduce
Run code in section
Expected behavior
Move element to another element
Test script or set of commands reproducing this issue
Environment
OS: ArchLinux
Browser: Firefox and Chrome
Browser version: Firefox 76.0.1 / 81.0.4044.138 (64bits)
Browser Driver version: geckodriver 0.26.0 /ChromeDriver 81.0.4044.138
Language Bindings version: Python 3.8.1
Selenium Versions: tested on 3.141.0 and 4.0.0a5
Selenium Grid version (if applicable): N/A
gecko log
The text was updated successfully, but these errors were encountered: