[wtr-general] Find xpath element

2013-10-10 Thread Luis Espla
Hello, I would like to know if there is anyway for knowing xpath of an element. For example: div id=test1 a href=http//www.elpais.es id=elpaisEl Pais/a /div Is there anything like this? xpath_element = browser.div(:id = test1).a(:id = elpais).get_xpath Sincerely regards -- -- Before posting,

Re: [wtr-general] Find xpath element

2013-10-10 Thread Željko Filipin
On Thu, Oct 10, 2013 at 11:06 AM, Luis Espla luises...@gmail.com wrote: Is there anything like this? xpath_element = browser.div(:id = test1).a(:id = elpais).get_xpath As far as I can see in the method list at http://watir.github.io/watir-webdriver/doc, no. Željko -- -- Before posting,