Blog Archive for November 23, 2010

Selenium Headless

November 23, 2010

If you try to run selenium-server on a machine without firefox installed, you'll get the following error when running your tests:

$ python bbr.py
E
======================================================================
ERROR: test_bbr (__main__.bbr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "bbr.py", line 8, in setUp
    self.selenium.start()
  File "/home/user/Programming/Selenium/bbr/selenium.py", line 189, in start
    result = …

Testing with Selenium

November 23, 2010

This post covers creating your first Selenium test. We want to record a test in Firefox using Selenium IDE, save it as a python script, then run it back using Selenium RC. Ultimately we want to call this automatically from a Hudson job on a remote Debian machine, but we'll …