Class RemoveRoutes
java.lang.Object
net.serenitybdd.screenplay.playwright.network.RemoveRoutes
Remove previously registered network route handlers.
Sample usage:
// Remove all route handlers
actor.attemptsTo(RemoveRoutes.all());
// Remove routes matching a specific pattern
actor.attemptsTo(RemoveRoutes.forUrl("**\/api/**"));
-
Method Summary
-
Method Details
-
all
public static net.serenitybdd.screenplay.Performable all()Remove all registered route handlers. -
forUrl
Remove route handlers matching the specified URL pattern.
-