Wednesday, 11 September 2013

How to click Image icon using selenium webdriver

How to click Image icon using selenium webdriver

I am trying to click the image icon via xPath but when i run the code the
link present on image icon is not opening. could you please help me in
resolving this issue.
The Code i used to click the mail icon :
driver.findElement(By.xpath("//*[@id='e-switcher-mail-icon']")).click();

No comments:

Post a Comment