Method: Playwright::BrowserContext#grant_permissions
- Defined in:
- lib/playwright_api/browser_context.rb
#grant_permissions(permissions, origin: nil) ⇒ Object
Grants specified permissions to the browser context. Only grants corresponding permissions to the given origin if specified.
225 226 227 |
# File 'lib/playwright_api/browser_context.rb', line 225 def (, origin: nil) wrap_impl(@impl.(unwrap_impl(), origin: unwrap_impl(origin))) end |