-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try restarting chromedriver on timeout #6566
Conversation
Stats from current PRClick to expand stats
|
Stats from current PRClick to expand stats
|
retry to only retry max twice
Stats from current PRClick to expand stats
|
Stats from current PRClick to expand stats
|
Stats from current PRClick to expand stats
|
driverPort = await getPort() | ||
chromedriver.stop() | ||
chromedriver.start([`--port=${driverPort}`]) | ||
// https://github.com/giggio/node-chromedriver/issues/117 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at giggio/node-chromedriver#177 It seems like when you call it like
await chromedriver.start([`--port=${driverPort}`], true)
You can eliminate the wait-port
dependency. Since you updated chromedriver, this PR should be included in the new version now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's true, although it looks like the timeout is fixed that way and unfortunately I think we need to allow the timeout to be higher than 10 seconds. Thanks for looking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, I filed giggio/node-chromedriver#193
test to make windows happy
Stats from current PRClick to expand stats
|
Stats from current PRClick to expand stats
|
Stats from current PRClick to expand stats
|
Stats from current PRClick to expand stats
|
@ijjk To mitigate the |
Also added
HEADLESS
env var for local testing