Find and click element by title Python Selenium -
i looking site. in inspect element see this:
<span id="item60" title="havai 30" class="item button link">get</span> <span id="item90" title="classic 50" class="item button link">get</span>
need , click element title. this:
browser.find_element_by_xpath('//*[@id="item60"]').click()
but via title.
like barak manos said answer was:
'//*[@title="havai 30"]'
with [0] @ ending, case list.
Comments
Post a Comment