-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
chore: report highlight parse error to debug controller #33984
chore: report highlight parse error to debug controller #33984
Conversation
4944893
to
665bf6b
Compare
This comment has been minimized.
This comment has been minimized.
@@ -144,9 +147,17 @@ export class DebugController extends SdkObject { | |||
} | |||
|
|||
async highlight(params: { selector?: string, ariaTemplate?: string }) { | |||
// Assert parameters validity. | |||
if (params.selector) | |||
unsafeLocatorOrSelectorAsSelector(this._sdkLanguage, params.selector, 'data-testid'); |
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.
Who catches the error here?
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.
debugControllerDispatcher will try catch and return the protocol error.
This comment has been minimized.
This comment has been minimized.
665bf6b
to
b6bced1
Compare
Test results for "tests 1"2 failed 9 flaky37248 passed, 650 skipped Merge workflow run. |
No description provided.