robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Failed to start new Firefox browser session #188

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by exi... on 20 Apr 2011

I get an error when I try to use the selenium-server.jar shipped with robotframework-seleniumlibrary 2.6. I've added C:\Program Files (x86)\Mozilla Firefox to my Path environment variable. My environment consists of Windows Vista Business 64-bit SP2, Python 2.7, Robot Framework 2.5.6, and Firefox 3.6.16. This error isn't encountered when I specify iexplore as the browser or when I use selenium-server-2.0a4.jar.

Failed to start new browser session: java.lang.RuntimeException: Firefox 3 could not be found in the path! Please add the directory containing ''firefox.exe'' to your PATH environment variable, or explicitly specify a path to Firefox 3 like this: *firefox3c:\blah\firefox.exe

spooning commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 3 May 2011

First of all, could you test this with the latest SeleniumLibrary release?

If the problem still occurs, please answer these additional questions:

spooning commented 9 years ago

Originally submitted to Google Code by exi... on 3 May 2011

Tested with robotframework-seleniumlibrary-2.7.win32 and it's working.

spooning commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 4 May 2011

Great that this works with 2.7! My guess is that the upgraded Selenium server fixed this problem. I guess I can mark this issue done.