Skip to content Skip to sidebar Skip to footer

Error When Trying To Execute Drag And Drop Using Javascript For Selenium Webdriver Test

I have tried to simulate drag and drop for Selenium WebDriver test using the following JavaScript call, but I get a WebDriver error. I tried this way, as with Actions class didn't

Solution 1:

Try removing the single quotes from String source = "li[draggable='true']"; and try now. guess it will work.

String source = "li[draggable=true]";

Post a Comment for "Error When Trying To Execute Drag And Drop Using Javascript For Selenium Webdriver Test"