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.
Instructor
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
thanks , it can be closed.