Python is a wonderful choice for test development with just about anything you can think of – including Selenium, Pytest, Jenkins and Sauce Labs.

Selenium is an open-source tool that attaches to the browser via various schemes and can simulate user actions on any webpage. Not only can testing be done, but any boring task repeatedly done on a webpage can be automated with Selenium.

Here’s a video showing Selenium Automation on a website:



This video shows the Eclipse IDE running a web test written with Selenium, Java, JUnit, Log4j2, Maven, awt.Robot and other packages. It tests against my own website: which is also known as

The tests are run with JUnit, so each test stands on its own and can be run independently of the others. Each test launches a fresh instance of Firefox with Selenium WebDriver. The tests use Maven and a Maven pom.xml file to specify dependencies. The entire suite was written in and runs with Eclipse on Windows 7.

The source code can be viewed on GitHub at:

This demo was done with inverted color on a Windows 7 machine. I’m using inverted color a lot lately because it’s easier on the eyes.

The script also includes full Maven Surefire site test result reporting. To read more about Selenium, see: