Skip to main content

GUI discovery

Project description

discogui discovers GUI elements

  • python module
  • works on Linux
  • does not depend on Accessibility technologies
  • toolkit independent
  • only basic tests on very simple GUI
  • GUI should be displayed on Xvfb or Xephyr
  • slow



Possible applications:
  • GUI unit-testing
  • automatic GUI control

Basic usage

from discogui.buttons import discover_buttons
from easyprocess import EasyProcess
from pyvirtualdisplay import Display
buttons = Display().wrap(
            EasyProcess('zenity --question').wrap(
                discover_buttons, delay=1))
print buttons()



  • install Xvfb and Xephyr

  • install Xlib

  • install scrot

  • install PIL

  • install xdotool

  • install setuptools

  • install latest PyMouse and the program:

    # as root
    easy_install discogui


sudo apt-get install python-setuptools
sudo apt-get install xvfb
sudo apt-get install xserver-xephyr
sudo apt-get install python-xlib
sudo apt-get install scrot
sudo apt-get install python-imaging
sudo apt-get install xdotool

# PyPI version of PyMouse is too old, this is the latest
sudo easy_install

sudo easy_install discogui


# as root
pip uninstall discogui

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for discogui, version 0.0.0
Filename, size File type Python version Upload date Hashes
Filename, size discogui-0.0.0.tar.gz (37.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page