ipython/ipython — pull request #1493 by stefanv (2012-03-15 01:51:04+00:00)
Title: Selenium web tests proof-of-concept

This PR provides a starting point for adding web tests to IPython.

Use ``easy_install`` or ``pip`` to install the ``selenium`` package, and then run `iptest-web`. Currently, the scripted browser is Firefox.

I made use of the PageObject pattern--more here: http://pragprog.com/magazines/2010-08/page-objects-in-python

It will be interesting to see how the web tests eventually influence page design. E.g., at the moment I only have one test which creates a new notebook from the dashboard and then renames it. In order to script that test I had to jump through a couple of hoops, since many of the elements, such as buttons, are not uniquely identified by IDs.