I want to click on all buttons in a table that delete their line :
try:
elements = driver.find_elements(By.XPATH, '//table//button[@class="deleteEntry"]')
except NoSuchElementException:
print(" [NoSuch] Buttons not found")
return False
for element in elements:
element.click()
# How to wait element is destroyed ?
I must click on them one by one and wait one by one they are destroyed. I know to locate and click on them, but how do I to wait they are destroyed ?