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 |
|---|---|
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, waitthenpublic WithDevTools(Consumer<org.openqa.selenium.devtools.DevTools> action)
public static WithDevTools perform(Consumer<org.openqa.selenium.devtools.DevTools> action)
public <T extends Actor> void performAs(T actor)
performAs in interface Performablepublic boolean isSilent()
isSilent in interface CanBeSilentpublic Performable withNoReporting()
Copyright © 2021. All rights reserved.