New answers tagged

0

You can locate this element by using either of these methods: xpath: //div[@id='info-usuario']//div[@class='clearfix']//p[1] css selector: div#info-usuario > div.clearfix > p Locating an element using css selector is considered more reliable than xpath in any of the automated testing services as it works with multiple browsers.


0

In a webpage, there is a "Top" window, which can be considered as a default frame (not conceptually) and there can be zero or more iframes. While executing the automation test script, the driver always points to the default frame which is "Top". If you want the driver to find the element which is inside an iframe, you need to first locate the iframe and ...



Top 50 recent answers are included