Answer the question
In order to leave comments, you need to log in
Firefox selenium webdriver: Page won't load until the end
I am using selenium and python to process a lot of pages. Sometimes some pages take a very long time to load (although visually all the necessary elements have loaded), the program execution is suspended during this time. If I press stop in the browser manually, the program continues to work. Is it possible to automatically stop the download when an element appears, or after some time. I googled. Similar questions appeared a year ago on stackoverflow and habré. The described methods of solving problems did not bring results. Neither set_page_load_timeout nor set_script_timeout help.
Answer the question
In order to leave comments, you need to log in
I used Selenium Library along with Rodot IDE and page loading was done with two commands:
Go To <url>
Wait Until Page Loaded
Go To <url>
Wait Until Element Visible <XPath>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question