withDriver
IDriverActions
IDriverActions driverActions = DriverActions.withDriver ();
executeScript (script, args[])
import static io.github.boykaframework.actions.drivers.DriverActions.withDriver; . . . String output = withDriver ().executeScript ("alert('Hello World');");
pause
import static io.github.boykaframework.actions.drivers.DriverActions.withDriver; import static java.time.Duration.ofMillis; . . . withDriver ().pause (ofMillis (100));
saveLogs
import static io.github.boykaframework.actions.drivers.DriverActions.withDriver; . . . withDriver ().saveLogs ();
waitUntil
ExpectedCondition<Boolean>
import static io.github.boykaframework.actions.drivers.DriverActions.withDriver; import org.openqa.selenium.support.ui.ExpectedConditions; . . . withDriver ().waitUntil (ExpectedConditions.urlMatches (URL));
Was this page helpful?