Unity 8
|
Inherits UbuntuUIToolkitCustomProxyObjectBase.
Public Member Functions | |
def | get_greeter (self) |
def | get_login_loader (self) |
def | get_login_list (self) |
def | get_bottombar (self) |
def | get_pinPadLoader (self) |
def | get_lockscreen (self) |
def | get_pinentryField (self) |
def | open_indicator_page (self, indicator_name) |
def | close_indicator_page (self) |
def | show_dash_swiping (self) |
def | get_current_focused_app_id (self) |
def | show_dash_from_launcher (self) |
def | open_launcher (self) |
def | is_launcher_open (self) |
def | launch_application (self, application_name) |
def | enter_pin_code (self, code) |
def | get_shell_orientation_angle (self) |
def | get_shell_orientation (self) |
def | get_shell_primary_orientation (self) |
def | get_shell_native_orientation (self) |
def | wait_for_notification (self) |
An helper class that makes it easy to interact with the shell
Definition at line 96 of file __init__.py.
def unity8.shell.ShellView.close_indicator_page | ( | self | ) |
Swipe to close the opened indicator, wait until it's closed.
Definition at line 150 of file __init__.py.
def unity8.shell.ShellView.enter_pin_code | ( | self, | |
code | |||
) |
Enter code 'code' into the single-pin lightdm pincode entry screen. :param code: must be a string of numeric characters. :raises: TypeError if code is not a string. :raises: ValueError if code contains non-numeric characters.
Definition at line 209 of file __init__.py.
def unity8.shell.ShellView.get_current_focused_app_id | ( | self | ) |
Return the id of the focused application.
Definition at line 173 of file __init__.py.
def unity8.shell.ShellView.launch_application | ( | self, | |
application_name | |||
) |
Launch an application. :parameter application_name: The name of the application to launch.
Definition at line 198 of file __init__.py.
def unity8.shell.ShellView.open_indicator_page | ( | self, | |
indicator_name | |||
) |
Swipe to open the indicator, wait until it's open. :returns: The indicator page.
Definition at line 136 of file __init__.py.
def unity8.shell.ShellView.show_dash_from_launcher | ( | self | ) |
Open the dash clicking the dash icon on the launcher.
Definition at line 178 of file __init__.py.
def unity8.shell.ShellView.show_dash_swiping | ( | self | ) |
Show the dash swiping from the left.
Definition at line 160 of file __init__.py.
def unity8.shell.ShellView.wait_for_notification | ( | self | ) |
Wait for a notification dialog to appear. :return: An object for the notification dialog data. :raise StateNotFoundError: if the timeout expires when the notification has not appeared.
Definition at line 249 of file __init__.py.