webdriver.remote.mobile

Module Contents

Classes

Mobile(self,driver)
class Mobile(driver)
class ConnectionType(mask)
__init__(mask)
airplane_mode()
wifi()
data()
__init__(driver)
network_connection()
set_network_connection(network)

Set the network connection for the remote device.

Example of setting airplane mode:

driver.mobile.set_network_connection(driver.mobile.AIRPLANE_MODE)
context()

returns the current context (Native or WebView).

contexts()

returns a list of available contexts

context(new_context)

sets the current context