double click in web driver

View previous topic View next topic Go down

double click in web driver

Post by rashmi on Tue Mar 29, 2011 10:56 pm

hi can anyone suggest how to use double click in selenium 2 web driver. I tried using Mouse.doubleClick(WebElement onElement) but giving error in eclipse saying the method double click is not applicable for web element. Do i need to import any thing to support this or wat??

rashmi

Posts : 2
Join date : 2011-03-29

Back to top Go down

Re: double click in web driver

Post by freesky on Tue Feb 28, 2012 4:21 pm

Actions actions = new Actions(driver);
actions.doubleClick(element).perform();

freesky
Amateur
Amateur

Posts : 72
Join date : 2011-04-13

Back to top Go down

Re: double click in web driver

Post by zlos7ar on Tue Feb 28, 2012 5:34 pm

freesky wrote:Actions actions = new Actions(driver);
actions.doubleClick(element).perform();

lol I guess he already found the solution since his post is one year old.....

zlos7ar
Amateur
Amateur

Posts : 41
Join date : 2012-01-13
Age : 29
Location : Germany

Back to top Go down

Re: double click in web driver

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum