How to properly use .readyState in selenium-python to wait for a web page to be “complete”? [duplicate]
问题 This question already has answers here : Do we have any generic function to check if page has completely loaded in Selenium (5 answers) Selenium IE WebDriver only works while debugging (1 answer) Closed 12 months ago . I'm trying to get selenium to wait for a page to fully load using .readyState but I can't find the correct way to get selenium to test the .readyState of the web page before proceeding. The two hashed out lines are my best attempts to get it to work including the example from