Find and click element by title Python Selenium
This works for me:
driver.find_element_by_xpath('//*[@title="Havai 30"]').click()
** Make sure you include the starting and ending square brackets!
browser.find_element_by_xpath('//*[@title="Havai 30"]').click()
This Will Work for me Like you said.
Like barak manos said the answer was:
'//*[@title="Havai 30"]'
With [0] at ending, case it was list.
For java if someone was looking for the answer here like me:
String title="SOME TITLE";
driver.findElement(By.cssSelector("[title^='"+title+"']")).click();