autopilot Package¶
autopilot Package¶
An automated test runner and driver for Unity
glibrunner Module¶
keybindings Module¶
testcase Module¶
utilities Module¶
Various utility classes and functions that are useful when running tests.
-
class
autopilot.utilities.X¶ Bases:
object
-
autopilot.utilities.get_desktop_geometry()¶ Get the full width and height of the desktop, including all the viewports.
-
autopilot.utilities.get_desktop_viewport()¶ Get the x,y coordinates for the current desktop viewport top-left corner.
-
autopilot.utilities.make_window_skip_taskbar(window, set_flag=True)¶ Set the skip-taskbar kint on an X11 window.
‘window’ should be an Xlib window object. set_flag should be ‘True’ to set the flag, ‘False’ to clear it.