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 57 of file __init__.py.

Member Function Documentation

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

Definition at line 76 of file __init__.py.

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

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