-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
How to allow <all_urls>
optional permission
#5054
Comments
Hello, we had a similar problem, there is no way to fetch permission dialog event and accept because that dialog is not triggered by any JS on the page, is triggered by Chrome API
We used this library for nodejs in order to simulate tab and enter keys for allow/disallow the permission. |
@agomez0207 The permission dialog looks cannot approve by the keyboard. |
We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days. |
We are closing this issue. If the issue still persists in the latest version of Puppeteer, please reopen the issue and update the description. We will try our best to accomodate it! |
Any update here? |
Was this resolve? I can't find the documentation on this... |
I'm having trouble testing additional permission request of my extension.
The following is set as optional permission in the
manifest.json
file:And in the extension I do request and revoke the permission using:
I would like to be able to test the extension behavior when permission is successfully requested and revoked, but there seem to be no way to fetch permission
dialog
event and accept, also it doesn't seem to be possible to do usingbrowserContext.overridePermissions
.Any idea how that can be done?
The text was updated successfully, but these errors were encountered: