Selenium is a great instrument for testing web application with browsers drivers. It provides API for filling forms, pushing buttons, simulation of mouse movings etc.
I had some problems with use Selenium on my Ubuntu server because of display abscence. Thats why I want to share here with the requirments to write a small Selenium test in this case.
First of all, we will install python-selenium package:
sudo apt-get install python-selenium
Selenium uses browser drivers, so we need at least one Internet browser installed. You can use different browsers (Firefox, Opera, Chrome, IE and many other) I used Firefox for this purpose:
sudo apt-get install firefox
We also will...