Use the latest release (http://stackoverflow.com/a/1172371) of Selenium to prevent issues with Firefox updating (if possible).