-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
selenium can't drag Canvas elements #9581
New issue
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
Comments
This comment has been minimized.
This comment has been minimized.
Apologies, I wrote my reply in the wrong issue, reopening. |
@YinChunGuang, could you please provide a concise reproducible test case, that includes the page required to execute the scenario (a sample page or a public site). |
test case :
please set chrome driver for the test ! |
What is running in |
Could you please add instructions, either here or at the README showing how to setup and execute everything? |
I think this might be another version of w3c/webdriver#1488 since it's dragging an element from outside the canvas into the canvas. |
Duplicate of #8345 |
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. |
🐛 Bug Report
There are abnormalities in the functions such as click, double-click, drag and drop of Canvas used by Selenium to automate testing.
The specific reason is that Selenium cannot get the elements inside Canvas.
To Reproduce
Exercising a page's dragging and dropping functionailty used to be simple with
Seleniums's Action Builder, but sadly ,it won't work with HTML5 drag and drop .
We use the selenium function 'Actions.dragAndDrop(source,target)' to control the elements inside canvas,it dosen't work that way for selenium can't select the element .
Expected behavior
selenium can drap canvas elements
Test script or set of commands reproducing this issue
The code dosen't work ,also no exception.
Environment
OS: Windows 10
Browser: Chrome
Browser version: 90.0.4430.24
Browser Driver version: 90.0.4430.24
Language Bindings version: Java 8 c
The text was updated successfully, but these errors were encountered: