Uses of Class
net.serenitybdd.screenplay.playwright.actors.PlaywrightCast
Packages that use PlaywrightCast
-
Uses of PlaywrightCast in net.serenitybdd.screenplay.playwright.actors
Methods in net.serenitybdd.screenplay.playwright.actors that return PlaywrightCastModifier and TypeMethodDescriptionstatic PlaywrightCastPlaywrightCast.whereEveryoneCan(Consumer<net.serenitybdd.screenplay.Actor>... abilityProviders) Create a PlaywrightCast where each actor is configured using the provided function.static PlaywrightCastPlaywrightCast.whereEveryoneCan(net.serenitybdd.screenplay.Ability... abilities) Create a PlaywrightCast where all actors have the specified abilities in addition to BrowseTheWebWithPlaywright.PlaywrightCast.withBrowserType(String browserType) Set the browser type (chromium, firefox, or webkit).PlaywrightCast.withContextOptions(com.microsoft.playwright.Browser.NewContextOptions options) Configure context options for browser contexts.PlaywrightCast.withHeadlessMode(boolean headless) Set headless mode for the browser.PlaywrightCast.withLaunchOptions(com.microsoft.playwright.BrowserType.LaunchOptions options) Configure launch options for the Playwright browser.PlaywrightCast.withOptions(com.microsoft.playwright.junit.OptionsFactory optionsFactory) Configure the cast using a PlaywrightOptionsFactory.