Unable to perform Drag and Drop using selenium WebDriver -


i trying perform draganddrop functionality. tried draganddrop , clickandhold also. able drag object destination, after object comes source position. when tried clickandhold object dragged destination location, when released clickandhold object again came old source location. tried below code well.

builder.clickandhold(source).movetoelement(destination).release(destination).build().perform();  builder.draganddrop(source, destination).build().perform(); 

how can handle issue ???

i have same issue.in order give show,i this:

builder.clickandhold(source).build().perform(); for(int i=0;i<size;i++) {     builder.movetoelement(source,xoffset*i,yoffset).build().perform();//builder.movetoelement(destination,xoffset,yoffset*i).build().perform(); } builder.release(target).build.perform(); 

the hope can you.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -