public interface SupportsGpsEnabledOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GPS_ENABLED_OPTION |
| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<java.lang.Boolean> |
getGpsEnabled()
Get the state of GPS service on emulator.
|
default T |
gpsEnabled()
Enables GPS service in the Emulator.
|
default T |
setGpsEnabled(boolean value)
Sets whether to enable (true) or disable (false) GPS service in the Emulator.
|
asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, mergeamend, setCapabilitystatic final java.lang.String GPS_ENABLED_OPTION
default T gpsEnabled()
default T setGpsEnabled(boolean value)
value - Whether to enable or disable the GPS service.default java.util.Optional<java.lang.Boolean> getGpsEnabled()