Skip to content
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

core(driver): recover from rejection on handleJavaScriptDialog #6327

Merged
merged 2 commits into from
Oct 17, 2018

Conversation

paulirish
Copy link
Member

On LR I'm seeing a lot of errors to do with handleJavaScriptDialog. The error response is typically this:

{"error":{"code":-32602,"message":"No dialog is showing"},

For whatever reason, on LR, this error will reject starting inside the connection and then terminate the entire run.

The comment about intentionally unhandled comes from here: #2106 (comment) which seems irrelevant at this point. I don't see why we wouldn't catch this.

closes #2402
ref #2141

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WFM!

@paulirish paulirish merged commit 03f8d02 into master Oct 17, 2018
@paulirish paulirish deleted the dialogrejection branch October 17, 2018 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants