selenium.webdriver.remote.mobile

class selenium.webdriver.remote.mobile.Mobile(driver)[source]
AIRPLANE_MODE = <selenium.webdriver.remote.mobile.ConnectionType object at 0x10f5940d0>
ALL_NETWORK = <selenium.webdriver.remote.mobile.ConnectionType object at 0x10f58bfd0>
class ConnectionType(mask)[source]
airplane_mode[source]
data[source]
wifi[source]
Mobile.DATA_NETWORK = <selenium.webdriver.remote.mobile.ConnectionType object at 0x10f594090>
Mobile.WIFI_NETWORK = <selenium.webdriver.remote.mobile.ConnectionType object at 0x10f594050>
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