-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[js] Fixes cdp for Chrome and Firefox #9909
Conversation
if (debuggerAddress.match(/\/se\/cdp/)) { | ||
if (debuggerAddress.match("ws:\/\/", "http:\/\/")) { |
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.
These checks are not needed anymore. Just returning the debuggerAddress when it matches /se/cdp works fine with the Grid. Otherwise, the Grid complains about wrong protocol.
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.
Removed!
Thank you @pujagani!
Kudos, SonarCloud Quality Gate passed! |
* replacing targets page and browser for ff and chrome * Placing await * Updating devtools_tests * Removing extra checkes Co-authored-by: David Burns <[email protected]>
Description
enableDebugger
firefox option to enable debugger address which is used for CDPTypes of changes
Checklist