Uses of Interface
com.microsoft.playwright.Browser
Packages that use Browser
-
Uses of Browser in com.microsoft.playwright
Methods in com.microsoft.playwright that return BrowserModifier and TypeMethodDescriptionBrowserContext.browser()Returns the browser instance of the context.default BrowserThis method attaches Playwright to an existing browser instance.BrowserType.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.BrowserType.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.BrowserType.launch(BrowserType.LaunchOptions options) Returns the browser instance.Method parameters in com.microsoft.playwright with type arguments of type BrowserModifier and TypeMethodDescriptionvoidBrowser.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
Classes in com.microsoft.playwright.impl that implement BrowserMethods in com.microsoft.playwright.impl that return BrowserModifier and TypeMethodDescriptionBrowserTypeImpl.connect(String wsEndpoint, BrowserType.ConnectOptions options) private BrowserBrowserTypeImpl.connectImpl(String wsEndpoint, BrowserType.ConnectOptions options) BrowserTypeImpl.connectOverCDP(String endpointURL, BrowserType.ConnectOverCDPOptions options) private BrowserBrowserTypeImpl.connectOverCDPImpl(String endpointURL, BrowserType.ConnectOverCDPOptions options) Method parameters in com.microsoft.playwright.impl with type arguments of type BrowserModifier and TypeMethodDescriptionvoidBrowserImpl.offDisconnected(Consumer<Browser> handler) voidBrowserImpl.onDisconnected(Consumer<Browser> handler)