Uses of Interface
com.microsoft.playwright.Browser
-
Packages that use Browser Package Description com.microsoft.playwright com.microsoft.playwright.impl.junit -
-
Uses of Browser in com.microsoft.playwright
Methods in com.microsoft.playwright that return Browser Modifier and Type Method Description BrowserBrowserContext. browser()Returns the browser instance of the context.default BrowserBrowserType. connect(String wsEndpoint)This method attaches Playwright to an existing browser instance.BrowserBrowserType. connect(String wsEndpoint, BrowserType.ConnectOptions options)This method attaches Playwright to an existing browser instance.default BrowserBrowserType. connectOverCDP(String endpointURL)This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.BrowserBrowserType. connectOverCDP(String endpointURL, BrowserType.ConnectOverCDPOptions options)This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.default BrowserBrowserType. launch()Returns the browser instance.BrowserBrowserType. launch(BrowserType.LaunchOptions options)Returns the browser instance.Method parameters in com.microsoft.playwright with type arguments of type Browser Modifier and Type Method Description voidBrowser. offDisconnected(Consumer<Browser> handler)Removes handler that was previously added withonDisconnected(handler).voidBrowser. onDisconnected(Consumer<Browser> handler)Emitted when Browser gets disconnected from the browser application. -
Uses of Browser in com.microsoft.playwright.impl.junit
Methods in com.microsoft.playwright.impl.junit that return Browser Modifier and Type Method Description static BrowserBrowserExtension. getOrCreateBrowser(org.junit.jupiter.api.extension.ExtensionContext extensionContext)Returns the Browser that belongs to the current test.
-