public interface Command
Modifier and Type | Method and Description |
---|---|
Command |
assertDoesntHaveClass(String locator,
String className) |
Command |
assertHasClass(String locator,
String className) |
Command |
clear(String locator) |
Command |
click(String locator) |
Command |
get() |
Command |
log(String text) |
Command |
select(String location,
int value) |
Command |
select(String location,
String value) |
Command |
sendKeys(String locator,
CharSequence... keys) |
Command |
sendKeysSecret(String locator,
String secret) |
Command |
skip() |
Command |
sleep(int ms) |
Command |
submit(String locator) |
SwitchTo |
switchTo() |
Command |
takeScreenshot() |
Command |
takeScreenshot(String label) |
Command |
waitFor(String locator) |
Command |
waitFor(String locator,
int timeOutSeconds) |
Command |
waitForVisible(String locator) |
Command |
waitForVisible(String locator,
int timeOutSeconds) |
Command |
when(boolean condition) |
Command |
when(String label,
boolean condition) |
Command get() throws IOException
IOException
Command takeScreenshot() throws IOException
IOException
Command takeScreenshot(String label) throws IOException
IOException
Command sleep(int ms) throws IOException
IOException
Command waitFor(String locator) throws IOException
IOException
Command waitFor(String locator, int timeOutSeconds) throws IOException
IOException
Command waitForVisible(String locator) throws IOException
IOException
Command waitForVisible(String locator, int timeOutSeconds) throws IOException
IOException
SwitchTo switchTo() throws IOException
IOException
Command log(String text) throws IOException
IOException
Command clear(String locator) throws IOException
IOException
Command click(String locator) throws IOException
IOException
Command sendKeys(String locator, CharSequence... keys) throws IOException
IOException
Command sendKeysSecret(String locator, String secret) throws IOException
IOException
Command submit(String locator) throws IOException
IOException
Command select(String location, int value) throws IOException
IOException
Command select(String location, String value) throws IOException
IOException
Command assertHasClass(String locator, String className) throws IOException
IOException
Command assertDoesntHaveClass(String locator, String className) throws IOException
IOException
Command skip() throws IOException
IOException
Command when(String label, boolean condition) throws IOException
IOException
Command when(boolean condition) throws IOException
IOException
Copyright © 2021 Avantage Compris. All rights reserved.