logo       

element locator for link pointing to a javascript: msg#00021

web.selenium.user

Subject: element locator for link pointing to a javascript

I used the Firefox plug-in to record a Selenium test script. At one point, I clicked a link for a pop-up window, and a clickAndWait was recorded with the following xpath element locator:

//a[@href=""]

However, when running the script, the element could not be found:

Element //a[@href=""] not found

What can I do to make sure the element is found?

Thanks,

Paul Bennett

_______________________________________________
Selenium-users mailing list
Selenium-users-EcuzILgp2tAZVhN9JVcPDEqbzN8AcRLmILAQCsJbaHk@xxxxxxxxxxxxxxxx
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-users
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise