All Classes Functions Properties
unity8.shell.emulators.greeter.Greeter Class Reference
Inheritance diagram for unity8.shell.emulators.greeter.Greeter:
[legend]
Collaboration diagram for unity8.shell.emulators.greeter.Greeter:
[legend]

## Public Member Functions

def | swipe
def | get_prompt

## Detailed Description

    An emulator that understands the greeter screen.

Definition at line 23 of file greeter.py.

## Member Function Documentation

def unity8.shell.emulators.greeter.Greeter.swipe | ( |  | self | ) |

    Swipe the greeter screen away.

Definition at line 26 of file greeter.py.

def swipe(self):
"""Swipe the greeter screen away."""
self.created.wait_for(True)
rect = self.globalRect
start_x = rect[0] + rect[2] - 3
start_y = int(rect[1] + rect[3] / 2)
stop_x = int(rect[0] + rect[2] * 0.2)
stop_y = start_y
self.pointing_device.drag(start_x, start_y, stop_x, stop_y)
self.created.wait_for(False)
unity8.shell.emulators.greeter.Greeter.swipe
def swipe
Definition: greeter.py:26

The documentation for this class was generated from the following file:

- tests/autopilot/unity8/shell/emulators/greeter.py