Write a program to add wait for load the page in selenium

— Below is the program. Add it into the @before hook to make sure everytime a new scenario run it will be executed.
— Add it where the new page will be loaded using any action performed.

I hope it will be helpful.

Leave a Reply

Your email address will not be published. Required fields are marked *