Device manager

class gaiatest.gaia_test.GaiaDevice(marionette, testvars=None, manager=None)[source]
change_orientation(orientation)[source]

There are 4 orientation states which the phone can be passed in: portrait-primary(which is the default orientation), landscape-primary, portrait-secondary and landscape-secondary

has_mobile_connection
has_wifi
hold_home_button()[source]
hold_sleep_button()[source]
is_android_build
is_b2g_running
is_desktop_b2g
is_emulator
is_locked
is_online
is_screen_enabled
lock()[source]
press_release_volume_up_then_down_n_times(n_times)[source]
press_sleep_button()[source]
restart_b2g()[source]
screen_orientation
start_b2g(timeout=120)[source]
stop_b2g(timeout=5)[source]
touch_home_button()[source]
turn_screen_off()[source]
turn_screen_on()[source]
unlock()[source]
wait_for_b2g_ready(timeout=120)[source]