Unity 8
unity8.greeter.Greeter Class Reference

Inherits UbuntuUIToolkitCustomProxyObjectBase.

Public Member Functions

def wait_swiped_away (self)
 
def swipe (self)
 
def get_prompt (self)
 

Detailed Description

A helper that understands the greeter screen.

Definition at line 61 of file __init__.py.

Member Function Documentation

def unity8.greeter.Greeter.swipe (   self)
Swipe the greeter screen away.

Definition at line 80 of file __init__.py.

80  def swipe(self):
81  """Swipe the greeter screen away."""
82  self.waiting.wait_for(False)
83  coverPage = self.select_single(objectName='coverPage')
84  coverPage.showProgress.wait_for(1)
85 
86  rect = self.globalRect
87  start_x = rect[0] + rect[2] - 3
88  start_y = int(rect[1] + rect[3] / 2)
89  stop_x = int(rect[0] + rect[2] * 0.2)
90  stop_y = start_y
91  self.pointing_device.drag(start_x, start_y, stop_x, stop_y)
92 
93  self.wait_swiped_away()
94 
def wait_swiped_away(self)
Definition: __init__.py:64

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