Reputation: 346
I have written a simple test case to open Firefox browser and go to "https://www.google.co.in". I am getting this error.
Test script
*** Settings ***
Library Selenium2Library
*** Test Cases ***
case1
Open Browser https://www.google.co.in/ ff
Upvotes: 2
Views: 1647
Reputation: 1
Most of the links relate to chrome driver not firefox. Well I degrade my firefox version and selenium version and this was solved.
Upvotes: 0
Reputation: 25
Check the browser version and browser operation system(32 bit or 64 bit) then install the driver put inside python installation directory. For Example : C:\Python27/yourinstalleddriver.exe either C:\Python27\Scripts/yourinstalleddriver.exe
Upvotes: 0
Reputation: 1073
To Run in Firefox we need geckodriver. Place geckodriver in C:/python/scripts
and then try to run the scripts.
To Run in Chrome, place chrome driver X32 in C:/python/scripts
and then run your scrpts
Upvotes: 2
Reputation: 6961
Searching for the error: "Selenium OSerror [Errno 8] firefox" in Google the first few results were quite informative and it seems to me that this was not done.
The first few options highlight that not the correct webdriver is installed. Example here. (A different error is presented when the Gecko driver is not installed).
In a follow-up result item an explanation was given that the script is missing a shebang: #!/usr/bin/env bash
when a script is fired.
Upvotes: 0