selenium.webdriver.remote.mobile

class selenium.webdriver.remote.mobile.Mobile(driver)[source]
AIRPLANE_MODE = <selenium.webdriver.remote.mobile.ConnectionType object at 0x10f5e0150>
ALL_NETWORK = <selenium.webdriver.remote.mobile.ConnectionType object at 0x10f5e0090>
class ConnectionType(mask)[source]
airplane_mode[source]
data[source]
wifi[source]
Mobile.DATA_NETWORK = <selenium.webdriver.remote.mobile.ConnectionType object at 0x10f5e0110>
Mobile.WIFI_NETWORK = <selenium.webdriver.remote.mobile.ConnectionType object at 0x10f5e00d0>
Mobile.network_connection[source]
Mobile.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)

This Page