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
Known problems:
  • Python 3 is not supported
Possible applications:
  • GUI unit-testing
  • automatic GUI control

Basic usage

from discogui.buttons import discover_buttons
from easyprocess import EasyProcess
from pyvirtualdisplay import Display
with Display():
    with EasyProcess('zenity --question') as p:
        buttons = discover_buttons()
print buttons



  • install Xvfb and Xephyr

  • install Xlib

  • install scrot

  • install PIL

  • install xdotool

  • install pip

  • install latest PyMouse and the program:

    # as root
    pip install
    pip install discogui


sudo apt-get install python-pip
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 pip install

sudo pip 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
discogui-0.0.2.tar.gz (12.7 kB) Copy SHA256 hash SHA256 Source None Dec 4, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page