Open kif1205 opened 5 years ago
Need to check the corresponding tag , and then decides which EC can be used ,
Use the below link to find the corresponding tag https://www.w3schools.com/tags/tag_a.asp
Example : element_to_be_clickable is for button object , thus the tag function should be button too , so the EC can work as expected
Official page : https://selenium-python.readthedocs.io/waits.html
Sample code :
There are some common conditions that are frequently of use when automating web browsers. Listed below are the names of each. Selenium Python binding provides some convenience methods so you don’t have to code an expected_condition class yourself or create your own utility package for them.