All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.screenplay.playwright.abilities.ActorCannotUsePlaywrightException Maven / Gradle / Ivy

There is a newer version: 4.2.9
Show newest version
package net.serenitybdd.screenplay.playwright.abilities;

public class ActorCannotUsePlaywrightException extends RuntimeException {
    public ActorCannotUsePlaywrightException(String actorName) {
        super("The actor " + actorName + " does not have the ability to use Playwright." + System.lineSeparator()
                + "You can give them this ability using the BrowseTheWebWithBlaywright class, e.g."  + System.lineSeparator()
                + "   actor.can(BrowseTheWebWithPlaywright.usingTheDefaultConfiguration());"
                );
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy