How to wait until add gets close | Selenium Forum
A
Avijeet Posted on 17/03/2019

There is a website and when website is launched, multiple ads is shown up one by one. Every ad remains for 5 seconds. You are not aware how many ads will be shown but they will be on screen for 5 seconds. How you will wait till all ads are shown up.


A
Ashish Thakur Replied on 18/03/2019

It depends, how the ads are implemented. 

You can possibly, check the presence of the element and then add the wait accordingly

 


A
Avijeet Replied on 09/04/2019

thanks , it can be closed.