Uses of Interface
com.microsoft.playwright.BrowserContext
-
Packages that use BrowserContext Package Description com.microsoft.playwright -
-
Uses of BrowserContext in com.microsoft.playwright
Methods in com.microsoft.playwright that return BrowserContext Modifier and Type Method Description BrowserContext
Page.Binding.Source. context()
BrowserContext
Page. context()
Get the browser context that the page belongs to.default BrowserContext
BrowserType. launchPersistentContext(Path userDataDir)
BrowserContext
BrowserType. launchPersistentContext(Path userDataDir, BrowserType.LaunchPersistentContextOptions options)
Returns the persistent browser context instance.default BrowserContext
Browser. newContext()
BrowserContext
Browser. newContext(Browser.NewContextOptions options)
Creates a new browser context.Methods in com.microsoft.playwright that return types with arguments of type BrowserContext Modifier and Type Method Description List<BrowserContext>
Browser. contexts()
Returns an array of all open browser contexts.
-