public class MobileCommand extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
CLOSE_APP |
static Map<String,org.openqa.selenium.remote.CommandInfo> |
commandRepository |
protected static String |
COMPLEX_FIND |
protected static String |
CURRENT_ACTIVITY |
protected static String |
END_TEST_COVERAGE |
protected static String |
GET_DEVICE_TIME |
protected static String |
GET_NETWORK_CONNECTION |
protected static String |
GET_SESSION |
protected static String |
GET_SETTINGS |
protected static String |
GET_STRINGS |
protected static String |
HIDE_KEYBOARD |
protected static String |
INSTALL_APP |
protected static String |
IS_APP_INSTALLED |
protected static String |
IS_LOCKED |
protected static String |
LAUNCH_APP |
protected static String |
LOCK |
protected static String |
LONG_PRESS_KEY_CODE |
protected static String |
OPEN_NOTIFICATIONS |
protected static String |
PERFORM_MULTI_TOUCH |
protected static String |
PERFORM_TOUCH_ACTION |
protected static String |
PRESS_KEY_CODE |
protected static String |
PULL_FILE |
protected static String |
PULL_FOLDER |
protected static String |
PUSH_FILE |
protected static String |
REMOVE_APP |
protected static String |
REPLACE_VALUE |
protected static String |
RESET |
protected static String |
RUN_APP_IN_BACKGROUND |
protected static String |
SET_NETWORK_CONNECTION |
protected static String |
SET_SETTINGS |
protected static String |
SET_VALUE |
protected static String |
SHAKE |
protected static String |
START_ACTIVITY |
protected static String |
TOGGLE_LOCATION_SERVICES |
protected static String |
UNLOCK |
Constructor and Description |
---|
MobileCommand() |
Modifier and Type | Method and Description |
---|---|
static org.openqa.selenium.remote.CommandInfo |
deleteC(String url)
This methods forms DELETE commands.
|
static org.openqa.selenium.remote.CommandInfo |
getC(String url)
This methods forms GET commands.
|
static org.openqa.selenium.remote.CommandInfo |
postC(String url)
This methods forms POST commands.
|
protected static com.google.common.collect.ImmutableMap<String,Object> |
prepareArguments(String[] params,
Object[] values) |
protected static com.google.common.collect.ImmutableMap<String,Object> |
prepareArguments(String param,
Object value) |
protected static final String RESET
protected static final String GET_STRINGS
protected static final String SET_VALUE
protected static final String PULL_FILE
protected static final String PULL_FOLDER
protected static final String HIDE_KEYBOARD
protected static final String RUN_APP_IN_BACKGROUND
protected static final String PERFORM_TOUCH_ACTION
protected static final String PERFORM_MULTI_TOUCH
protected static final String IS_APP_INSTALLED
protected static final String INSTALL_APP
protected static final String REMOVE_APP
protected static final String LAUNCH_APP
protected static final String CLOSE_APP
protected static final String LOCK
protected static final String COMPLEX_FIND
protected static final String GET_SETTINGS
protected static final String SET_SETTINGS
protected static final String GET_DEVICE_TIME
protected static final String GET_SESSION
protected static final String SHAKE
protected static final String CURRENT_ACTIVITY
protected static final String END_TEST_COVERAGE
protected static final String GET_NETWORK_CONNECTION
protected static final String IS_LOCKED
protected static final String LONG_PRESS_KEY_CODE
protected static final String OPEN_NOTIFICATIONS
protected static final String PRESS_KEY_CODE
protected static final String PUSH_FILE
protected static final String SET_NETWORK_CONNECTION
protected static final String START_ACTIVITY
protected static final String TOGGLE_LOCATION_SERVICES
protected static final String UNLOCK
protected static final String REPLACE_VALUE
public static org.openqa.selenium.remote.CommandInfo getC(String url)
url
- is the command URLCommandInfo
public static org.openqa.selenium.remote.CommandInfo postC(String url)
url
- is the command URLCommandInfo
public static org.openqa.selenium.remote.CommandInfo deleteC(String url)
url
- is the command URLCommandInfo
protected static com.google.common.collect.ImmutableMap<String,Object> prepareArguments(String param, Object value)
param
- is a parameter name.value
- is the parameter value.ImmutableMap
.Copyright © 2016. All rights reserved.