Answer the question
In order to leave comments, you need to log in
PYTHON SELENIUM How to activate non-clickable element?
<a href="#" id="workButton0" style="margin-left: 7px;">НАЖАТЬ</a>
<a href="#" id="workButton1" style="margin-left: 7px; display: none;">НАЖАТЬ</a>
<a href="#" id="workButton2" style="margin-left: 7px;">ЗАКРЫТЬ</a>
Answer the question
In order to leave comments, you need to log in
can be searched by text using xpath
buttons = driver.find_elements_by_xpath("//*[contains(text(), 'TEXT')]")
for btn in buttons:
btn.click()
is_displayed()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question