How to wait for either of two elements to appear in a page? | Selenium C# Forum
R
Raj Kishore Posted on 15/10/2021

Hi Gunjan,

Do you have a solution to wait for either of the two elements to appear in a page?

Wait is the biggest concern to remember as i will have to wait for either of the element to appear. I tried the below solution but it didn't worked.

https://stackoverflow.com/questions/59772366/how-to-wait-for-either-of-the-two-elements-in-the-page-using-selenium-in-c-sharp

 

Can you please me a solution to wait for either of the element to appear.

 

Regards,

Kishore