This content has been marked as final.
Show 1 reply
-
1. Selenium-richfaces library. Is it possible to get id of the element using other properties?
drblast Apr 5, 2011 4:53 AM (in response to drblast)I've solved it:
XPathLocator xpathLoc = xp("//img[@alt='some text']");
AttributeLocator<XpathLocator> attLocator = xpathLoc.getAttribute(Attribute.ID);
String str = selenium.getAttribute(attLocator);