Answer the question
In order to leave comments, you need to log in
How to make that would press the button until it disappears?
The problem is that he only presses me 1 time, but I need to press as many times as this button is visible on the page
my code
arena = driver.find_elements_by_partial_link_text('Атаковать')
for arenas in arena:
try:
arenas.click()
except Exception:
pass
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question