I have a script with multiple lines for selenium webscraping in python. Sometimes the websites take time to load longer which results into a crash of the script.
Therefore my question is, is there any other solution apart from using sleep? Or can I repeat somehow line by line with try and except until it works?
Thx