io.orangebuffalo.testcontainers.playwright.junit.PlaywrightApiProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testcontainers-playwright Show documentation
Show all versions of testcontainers-playwright Show documentation
Testcontainers-based container for Playwright
package io.orangebuffalo.testcontainers.playwright.junit
import io.orangebuffalo.testcontainers.playwright.PlaywrightApi
/**
* Extension point for providing [PlaywrightApi] instances for tests.
*
* See [PlaywrightConfigurer.createPlaywrightApiProvider] for detailed explanation.
*/
interface PlaywrightApiProvider {
/**
* Returns a [PlaywrightApi] instance for the current thread, creating it if necessary.
*/
fun getOrCreatePlaywrightApiForCurrentThread(): PlaywrightApi
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy