All Methods Instance Methods Abstract Methods Default Methods
| Modifier and Type |
Method and Description |
default Finder |
above(String locator) |
void |
actions(List<Map<String,Object>> actions) |
void |
activate() |
default Map<String,Object> |
afterScenario() |
String |
attribute(String locator,
String name) |
void |
back() |
default Finder |
below(String locator) |
Element |
clear(String locator) |
void |
clearCookies() |
Element |
click(String locator) |
void |
close() |
void |
cookie(Map<String,Object> cookie) |
Map<String,Object> |
cookie(String name) |
default Driver |
delay(int millis) |
void |
deleteCookie(String name) |
void |
dialog(boolean accept) |
void |
dialog(boolean accept,
String input) |
Object |
elementId(String locator) |
List |
elementIds(String locator) |
boolean |
enabled(String locator) |
default boolean |
exists(String locator) |
Element |
focus(String locator) |
void |
forward() |
void |
fullscreen() |
List<Map> |
getCookies() |
String |
getDialog() |
Map<String,Object> |
getDimensions() |
DriverOptions |
getOptions() |
List<String> |
getPages() |
String |
getTitle() |
String |
getUrl() |
default Element |
highlight(String locator) |
default Element |
highlight(String locator,
int millis) |
default void |
highlightAll(String locator) |
default void |
highlightAll(String locator,
int millis) |
String |
html(String locator) |
Element |
input(String locator,
String value) |
default Element |
input(String locator,
String[] values) |
default Element |
input(String locator,
String[] values,
int delay) |
default Element |
input(String locator,
String chars,
int delay) |
boolean |
isTerminated() |
default Keys |
keys() |
default Finder |
leftOf(String locator) |
default Element |
locate(String locator) |
default List<Element> |
locateAll(String locator) |
default List<Element> |
locateAll(String locator,
java.util.function.Predicate predicate) |
void |
maximize() |
default List<String> |
methodNames() |
void |
minimize() |
default Mouse |
mouse() |
default Mouse |
mouse(int x,
int y) |
default Mouse |
mouse(String locator) |
default Finder |
near(String locator) |
default Element |
optional(String locator) |
Map<String,Object> |
position(String locator) |
String |
property(String locator,
String name) |
void |
quit() |
void |
refresh() |
void |
reload() |
default Driver |
retry() |
default Driver |
retry(int count) |
default Driver |
retry(Integer count,
Integer interval) |
default Finder |
rightOf(String locator) |
default byte[] |
screenshot() |
byte[] |
screenshot(boolean embed) |
default byte[] |
screenshot(String locator) |
byte[] |
screenshot(String locator,
boolean embed) |
Object |
script(String expression) |
default Object |
script(String locator,
String expression) |
default List |
scriptAll(String locator,
String expression) |
default List |
scriptAll(String locator,
String expression,
java.util.function.Predicate predicate) |
default Element |
scroll(String locator) |
Element |
select(String locator,
int index) |
Element |
select(String locator,
String text) |
default void |
setContext(ScenarioContext context) |
void |
setDimensions(Map<String,Object> map) |
void |
setUrl(String url) |
Driver |
submit() |
void |
switchFrame(int index) |
void |
switchFrame(String locator) |
void |
switchPage(int index) |
void |
switchPage(String titleOrUrl) |
String |
text(String locator) |
Driver |
timeout() |
Driver |
timeout(Integer millis) |
String |
value(String locator) |
Element |
value(String locator,
String value) |
default Element |
waitFor(String locator) |
default Element |
waitForAny(String[] locators) |
default Element |
waitForAny(String locator1,
String locator2) |
default Element |
waitForEnabled(String locator) |
default List<Element> |
waitForResultCount(String locator,
int count) |
default List |
waitForResultCount(String locator,
int count,
String expression) |
default Element |
waitForText(String locator,
String expected) |
default String |
waitForUrl(String expected) |
boolean |
waitUntil(String expression) |
default Element |
waitUntil(String locator,
String expression) |
default Object |
waitUntil(java.util.function.Supplier<Object> condition) |