I am trying to auto-open any contacts menu on the page: as example I am going to "http://www.bawnlodge.co.uk/" page - then I would like to click on "Contact" tab
ATM I tried various approaches like:
driver.find_element_by_xpath("//*[contains(text(), 'onta')]").click()
or
driver.find_element_by_xpath('//a[contains(@href, "onta")]').click()
(and few similar)
however so far, I was unable to click the element
I would be grateful if anyone could explain me why I am failing here :/