Uses of Interface
com.microsoft.playwright.Browser
-
Packages that use Browser Package Description com.microsoft.playwright com.microsoft.playwright.impl -
-
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(java.lang.String wsEndpoint)This method attaches Playwright to an existing browser instance.BrowserBrowserType. connect(java.lang.String wsEndpoint, BrowserType.ConnectOptions options)This method attaches Playwright to an existing browser instance.default BrowserBrowserType. connectOverCDP(java.lang.String endpointURL)This method attaches Playwright to an existing browser instance using the Chrome DevTools Protocol.BrowserBrowserType. connectOverCDP(java.lang.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(java.util.function.Consumer<Browser> handler)Removes handler that was previously added withonDisconnected(handler).voidBrowser. onDisconnected(java.util.function.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 Browser Modifier and Type Class Description (package private) classBrowserImplMethods in com.microsoft.playwright.impl that return Browser Modifier and Type Method Description BrowserBrowserTypeImpl. connect(java.lang.String wsEndpoint, BrowserType.ConnectOptions options)private BrowserBrowserTypeImpl. connectImpl(java.lang.String wsEndpoint, BrowserType.ConnectOptions options)BrowserBrowserTypeImpl. connectOverCDP(java.lang.String endpointURL, BrowserType.ConnectOverCDPOptions options)private BrowserBrowserTypeImpl. connectOverCDPImpl(java.lang.String endpointURL, BrowserType.ConnectOverCDPOptions options)Method parameters in com.microsoft.playwright.impl with type arguments of type Browser Modifier and Type Method Description voidBrowserImpl. offDisconnected(java.util.function.Consumer<Browser> handler)voidBrowserImpl. onDisconnected(java.util.function.Consumer<Browser> handler)
-