Skip to content

How to manually disconnect chromedriver before page load, and manually connect it after page loaded? #2315

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

You must be logged in to vote

You can’t disconnect chromedriver from Chrome before issuing the command to load the page because you still need to be connected in order to issue commands to Chrome. While disconnected, you cannot know when a page is done loading, because again, the connection is needed to know that. Therefore, a predetermined time is used for the disconnect/reconnect time, which is customizable.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
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