public class WithDevTools extends Object implements Performable, CanBeSilent
actor.attemptsTo(
WithDevTools.perform(
devTools -> devTools.createSession()
)
);
Constructor and Description |
---|
WithDevTools(Consumer<org.openqa.selenium.devtools.DevTools> action) |
Modifier and Type | Method and Description |
---|---|
static Question<Object> |
ask(Function<org.openqa.selenium.devtools.DevTools,Object> question) |
boolean |
isSilent() |
static WithDevTools |
perform(Consumer<org.openqa.selenium.devtools.DevTools> action) |
<T extends Actor> |
performAs(T actor) |
Performable |
withNoReporting() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
then
public WithDevTools(Consumer<org.openqa.selenium.devtools.DevTools> action)
public static WithDevTools perform(Consumer<org.openqa.selenium.devtools.DevTools> action)
public static Question<Object> ask(Function<org.openqa.selenium.devtools.DevTools,Object> question)
public <T extends Actor> void performAs(T actor)
performAs
in interface Performable
public boolean isSilent()
isSilent
in interface CanBeSilent
public Performable withNoReporting()
Copyright © 2023. All rights reserved.