selenium.webdriver.remote.mobile¶
Classes
|
- class selenium.webdriver.remote.mobile.Mobile(driver)[source]¶
- ConnectionType¶
alias of
_ConnectionType
-
ALL_NETWORK =
object> ¶
-
WIFI_NETWORK =
object> ¶
-
DATA_NETWORK =
object> ¶
-
AIRPLANE_MODE =
object> ¶
- property network_connection¶
- set_network_connection(network)[source]¶
Set the network connection for the remote device.
Example of setting airplane mode:
driver.mobile.set_network_connection(driver.mobile.AIRPLANE_MODE)
- property context¶
Returns the current context (Native or WebView).
- property contexts¶
Returns a list of available contexts.