Skip to content

Unable to access the page contents until it fully loads #3185

Answered by mdmintz
Byperion asked this question in Q&A
Discussion options

You must be logged in to vote

There are ways of accessing the page sooner:

--pls="none" / pls="none" --> Set pageLoadStrategy to "none": This strategy causes Selenium to return immediately after the initial HTML content is fully received by the browser.

--sjw / sjw=True --> Skip JS Waits, such as wait_for_ready_state_complete().

With those combined, you'll have access to the page quickly, but you may need to add waits on top of that if things are too fast.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Byperion
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants