Uses of Interface
com.microsoft.playwright.BrowserContext
Packages that use BrowserContext
Package
Description
-
Uses of BrowserContext in com.microsoft.playwright
Methods in com.microsoft.playwright that return BrowserContextModifier and TypeMethodDescriptionPage.context()Get the browser context that the page belongs to.default BrowserContextBrowserType.launchPersistentContext(Path userDataDir) Returns the persistent browser context instance.BrowserType.launchPersistentContext(Path userDataDir, BrowserType.LaunchPersistentContextOptions options) Returns the persistent browser context instance.default BrowserContextBrowser.newContext()Creates a new browser context.Browser.newContext(Browser.NewContextOptions options) Creates a new browser context.Methods in com.microsoft.playwright that return types with arguments of type BrowserContextModifier and TypeMethodDescriptionBrowser.contexts()Returns an array of all open browser contexts.Method parameters in com.microsoft.playwright with type arguments of type BrowserContextModifier and TypeMethodDescriptionvoidBrowserContext.offClose(Consumer<BrowserContext> handler) Removes handler that was previously added withonClose(handler).voidBrowserContext.onClose(Consumer<BrowserContext> handler) Emitted when Browser context gets closed. -
Uses of BrowserContext in com.microsoft.playwright.impl
Classes in com.microsoft.playwright.impl that implement BrowserContextMethods in com.microsoft.playwright.impl that return BrowserContextMethods in com.microsoft.playwright.impl that return types with arguments of type BrowserContextMethod parameters in com.microsoft.playwright.impl with type arguments of type BrowserContextModifier and TypeMethodDescriptionvoidBrowserContextImpl.offClose(Consumer<BrowserContext> handler) voidBrowserContextImpl.onClose(Consumer<BrowserContext> handler) -
Uses of BrowserContext in com.microsoft.playwright.options
Methods in com.microsoft.playwright.options that return BrowserContext