Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

click command not working on Firefox

View previous topic View next topic Go down

click command not working on Firefox

Post by shrutika on Fri Sep 26, 2014 5:42 pm

 Hi I am beginner to selenium I used click command in script but it is not working in Firefox. please help me to solve this issue
 my Firefox version is :32.0.3. I have written my script in java
I am getting an exception : com.thoughtworks.selenium.SeleniumException: ERROR: Command execution failure. 
 The error message is: Argument 1 of EventTarget.dispatchEvent does not implement interface Event.

try{





d.click("xpath=(//a[contains(text(),'Buy Now')])[2]");

d.waitForPageToLoad("2000");



}

catch(Exception e)

{

System.out.println(e);

}

shrutika

Posts : 4
Join date : 2014-09-26

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