Http4kBrowser

class Http4kBrowser(delegate: Browser, val baseUri: Uri) : Browser

Custom Page implementation to add convenience functions to the standard Playwright model

Constructors

Link copied to clipboard
constructor(delegate: Browser, baseUri: Uri)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun browserType(): BrowserType
Link copied to clipboard
open override fun close()
open override fun close(options: Browser.CloseOptions)
Link copied to clipboard
open override fun contexts(): MutableList<BrowserContext>
Link copied to clipboard
open override fun isConnected(): Boolean
Link copied to clipboard
open override fun newBrowserCDPSession(): CDPSession
Link copied to clipboard
open fun newContext(): BrowserContext
open override fun newContext(options: Browser.NewContextOptions): BrowserContext
Link copied to clipboard
open override fun newPage(options: Browser.NewPageOptions): Page
open override fun newPage(): HttpPage
Link copied to clipboard
open override fun offDisconnected(handler: Consumer<Browser>)
Link copied to clipboard
open override fun onDisconnected(handler: Consumer<Browser>)
Link copied to clipboard
open fun startTracing()
open fun startTracing(page: Page)
open override fun startTracing(page: Page, options: Browser.StartTracingOptions)
Link copied to clipboard
open override fun stopTracing(): ByteArray
Link copied to clipboard
open override fun version(): String