Timeline for Selenium and C#: Check if an element is present and click it, else skip and go to next step
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 12, 2017 at 14:38 | comment | added | Peter M. - stands for Monica | Correct. Checking if returned list is empty (if element is not present) is IMNSHO easier that try/catch you used. | |
Oct 12, 2017 at 13:28 | comment | added | Tired Of Testing | As far as I understood he needs to locate a single drop down on the page, and interact with it if it's there. | |
Oct 12, 2017 at 12:10 | history | answered | Peter M. - stands for Monica | CC BY-SA 3.0 |