LaunchPlaywrightBrowser

class LaunchPlaywrightBrowser @JvmOverloads constructor(http: HttpHandler, browserType: Playwright.() -> BrowserType = Playwright::chromium, launchOptions: BrowserType.LaunchOptions = LaunchOptions(), createPlaywright: () -> Playwright = ::create, serverFn: (Int) -> ServerConfig = ::SunHttp) : ParameterResolver, BeforeTestExecutionCallback, AfterTestExecutionCallback

Constructors

Link copied to clipboard
constructor(http: HttpHandler, browserType: Playwright.() -> BrowserType = Playwright::chromium, launchOptions: BrowserType.LaunchOptions = LaunchOptions(), createPlaywright: () -> Playwright = ::create, serverFn: (Int) -> ServerConfig = ::SunHttp)

Functions

Link copied to clipboard
open override fun afterTestExecution(context: ExtensionContext)
Link copied to clipboard
open override fun beforeTestExecution(context: ExtensionContext?)
Link copied to clipboard
open override fun resolveParameter(pc: ParameterContext, ec: ExtensionContext): Http4kBrowser
Link copied to clipboard
open override fun supportsParameter(pc: ParameterContext, ec: ExtensionContext): Boolean