net.serenitybdd.screenplay.playwright.abilities.ActorCannotUsePlaywrightException Maven / Gradle / Ivy
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