2010.08.06 22:19:19 INFO Starting bot with configuration config.xml
2010.08.06 22:19:20 ERROR An error occured during starting the bot:Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: XP
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_21'
Driver info: driver.version: firefox
org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: XP
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_21'
Driver info: driver.version: firefox
at org.openqa.selenium.firefox.internal.Executable.<init>(Executable.java:48)
at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:56)
at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:52)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:113)
at net.sf.stbot.Browser.init(Browser.java:34)
at net.sf.stbot.SmartTravianBot.main(SmartTravianBot.java:56)
firefox is installed!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi nobody,
the bot can not find the right path possibly base on
-you didn't chose the standard installation path for firefox
-your firefox is installed on a different partition as your win xp /vista / 7
- or a similar case
i'll try to explain it but for the reason that i don't have a windows machine and i don't know the correct specification for the windows labels my description could deffer.
how to fix it:
first way: fixed within a minute
1. right click on workplace -> properties
2. click on environment variable
3. search for system variables
4. now edit "Path" and add your firefox path
for example
your current "Path" could looks like this:
If your afraid of touching to your computer settings.Take this guide as an example http://www.mobilefish.com/developer/android/android.html
except you have to insert either
;c:\ProgramFiles\Mozilla Firefox2
or
;c:\ProgramFiles\Mozilla Firefox2
If you want to confirm where your firefox resides. Right click on your firefox dektop icon and click on properties.
Click on find target. Windows Explorer will open and you can copy the path of firefox from explorer.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
2010.08.06 22:19:19 INFO Starting bot with configuration config.xml
2010.08.06 22:19:20 ERROR An error occured during starting the bot:Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: XP
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_21'
Driver info: driver.version: firefox
org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: XP
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_21'
Driver info: driver.version: firefox
at org.openqa.selenium.firefox.internal.Executable.<init>(Executable.java:48)
at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:56)
at org.openqa.selenium.firefox.FirefoxBinary.<init>(FirefoxBinary.java:52)
at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:113)
at net.sf.stbot.Browser.init(Browser.java:34)
at net.sf.stbot.SmartTravianBot.main(SmartTravianBot.java:56)
firefox is installed!!
hi nobody,
the bot can not find the right path possibly base on
-you didn't chose the standard installation path for firefox
-your firefox is installed on a different partition as your win xp /vista / 7
- or a similar case
i'll try to explain it but for the reason that i don't have a windows machine and i don't know the correct specification for the windows labels my description could deffer.
how to fix it:
first way: fixed within a minute
1. right click on workplace -> properties
2. click on environment variable
3. search for system variables
4. now edit "Path" and add your firefox path
for example
your current "Path" could looks like this:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1
\COMMON~1\ULEADS~1\MPEG;C:\Program Files\QuickTime\QTSystem\;C:\Program
Files\Common Files\DivX Shared\
now add your firefox path, for example:
D:\ProgramFiles\Mozilla Firefox\
your result:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1
\COMMON~1\ULEADS~1\MPEG;C:\Program Files\QuickTime\QTSystem\;C:\Program
Files\Common Files\DivX Shared\;D:\ProgramFiles\Mozilla Firefox\
2th way, a bit harder but if you want to know i'll post it.
Best Regards
Frank
and don't forget the ;
;-)
If your afraid of touching to your computer settings.Take this guide as an example
http://www.mobilefish.com/developer/android/android.html
except you have to insert either
;c:\ProgramFiles\Mozilla Firefox2
or
;c:\ProgramFiles\Mozilla Firefox2
If you want to confirm where your firefox resides. Right click on your firefox dektop icon and click on properties.
Click on find target. Windows Explorer will open and you can copy the path of firefox from explorer.
I forgot . some of you might also find the target as
C:\Program Files\Mozilla Firefox only.
Aks