org.http4k.playwright.Http4kBrowser.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http4k-testing-playwright Show documentation
Show all versions of http4k-testing-playwright Show documentation
http4k extensions for testing with Playwright
package org.http4k.playwright
import com.microsoft.playwright.Browser
import org.http4k.core.Uri
/**
* Custom Page implementation to add convenience functions to the standard Playwright model
*/
class Http4kBrowser(delegate: Browser, val baseUri: Uri) : Browser by delegate {
override fun newPage(): HttpPage = HttpPage(super.newPage(), baseUri)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy