Selenium RC, Firefox 3, and Ubuntu


I’ve got a system setup which uses Firefox on an Ubuntu machine, with the Selenium RC server (remote control). I had a set of scripts which would run automatically every 15 minutes, which would prompt Firefox to open and go to the site and submit certain forms. This stopped working after I ran an update on some packages in my Ubuntu machine (9.04 Jaunty).

I was able to resolve this issue by upgrading from Selenium RC 1.0.1 to 1.0.3.



2 Responses to Selenium RC, Firefox 3, and Ubuntu
  1. Sofia
    August 24, 2010 | 7:37 am

    i work with ubuntu 9.10 and i installed the Selenium RC server (remote control) and python client on the same machine.

    I want to execute a python script but i have alwayas the same error:

    ERROR: test_google (__main__.TestGoogle)
    ———————————————————————-
    Traceback (most recent call last):
    File “test_google.py”, line 31, in test_google
    sel.open(“/”)
    File “/home/zoubeida/Bureau/selenium/selenium-python-client-driver-1.0.1/selenium.py”, line 764, in open
    self.do_command(“open”, [url,])
    File “/home/zoubeida/Bureau/selenium/selenium-python-client-driver-1.0.1/selenium.py”, line 215, in do_command
    raise Exception, data
    Exception: XHR ERROR: URL = http://www.google.com/ Response_Code = -1 Error_Message = Request Error

    ———————————————————————-
    Ran 1 test in 6.011s

    FAILED (errors=1)

    will you give me the correct steps to handle this problem. i’ve mad a lot of research with google but i don’t find a solution.

    Thanks

  2. admin
    August 24, 2010 | 11:27 am

    I wish I could help you Sofia, but I have no clue why it’s getting this error. Obviously it’s raising an exception, and it appears to be an ‘XHR’ error…whatever that means. I searched online and found this:

    http://groups.google.com/group/selenium-users/browse_thread/thread/3f529933b26ce88c

    I also found this, but I’m not sure if it’s related. Same ‘XHR Error’ but a different circumstance.

    http://code.google.com/p/selenium/issues/detail?id=408

Leave a Reply

Wanting to leave an <em>phasis on your comment?

Trackback URL http://www.redconfetti.com/2010/07/selenium-rc-firefox-3-and-ubuntu/trackback/