I have this list on a website using Python's Selenium.
Clicking an item opens a sublist where you can click multiple buttons. I click these buttons with JavaScript so that the sublist never opens. This method is faster.
...
driver.execute_script(button)
My question is which expected_conditions should I use to wait for the buttons to appear in the DOM so that I can select it with JavaScript?
expected_conditions.element_to_be_clickable
(what I use all the time) isn't the right answer.