-
Notifications
You must be signed in to change notification settings - Fork 43
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
Fix browserContext.clearPermissions #1077
Conversation
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.
Nice work 👍 Some suggestions for testing.
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.
LGTM.
f7f3714
to
50992a9
Compare
7768d01
to
3faf6ed
Compare
The base branch was changed.
Add the missing cdp executor which will be used to perform the cdp request. Related: #1040
Add a clearPermissions command which will ensure that we don't regress the fix for clearPermissions.
This change adds code to assert on whether the permissions have been granted before and after certain actions. Co-authored-by: İnanç Gümüş <inanc.gumus@grafana.com>
468d2e0
to
8c31905
Compare
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.
🚀
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.
LGTM.
What?
This fixes the error when
browserContext.clearPermissions
is called.Why?
It was erroring due to the CDP request not being setup correctly.
Checklist
Related PR(s)/Issue(s)
Closes: #443