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

Add BrowserContext permission overrides #82

Merged
merged 1 commit into from Sep 5, 2018

Conversation

Projects
None yet
1 participant
@zploskey
Copy link
Owner

zploskey commented Sep 5, 2018

Add BrowserContext.permission poly-variant with string enum converters.

Adds the following functions:

  • Browser.defaultBrowserContext
  • BrowserContext.overridePermissions
  • BrowserContext.overridePermissionsUnsafe

The unsafe version takes an array of strings instead of the permission type.

Fixes #78.

Add BrowserContext permission overrides
Add BrowserContext.permission poly-variant with string enum converters.

Adds the following functions:
- Browser.defaultBrowserContext
- BrowserContext.overridePermissions
- BrowserContext.overridePermissionsUnsafe

The unsafe version takes an array of strings instead of the
permission type.

@zploskey zploskey merged commit fbfbdf3 into master Sep 5, 2018

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@zploskey zploskey deleted the overridePermissions branch Sep 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment