selenium.webdriver.remote.mobile#
Classes
|
- class Mobile(driver)[source]#
Bases:
object- ConnectionType#
alias of
_ConnectionType
- ALL_NETWORK = <selenium.webdriver.remote.mobile._ConnectionType object>#
- WIFI_NETWORK = <selenium.webdriver.remote.mobile._ConnectionType object>#
- DATA_NETWORK = <selenium.webdriver.remote.mobile._ConnectionType object>#
- AIRPLANE_MODE = <selenium.webdriver.remote.mobile._ConnectionType 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.