Question #248040 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/248040
Status: Needs information => Answered
RaiMan proposed the following answer:
Sikuli 1.0.1 not possible, because it contains Jython 2.5.4
I tested with version 1.1.0-Beta1 (not available yet :-(, which contains Jython
2.7:
at least
from selenium import webdriver
runs without errors.
but
browser = webdriver.Firefox()
complains:
[error] script [ testselenium ] stopped with error in line 49
[error] RuntimeError ( Could not find firefox in your system PATH. Please
specify the firefox binary location or install firefox )
[error] --- Traceback --- error source first
line: module ( function ) statement
153: firefox_binary ( _get_firefox_start_cmd ) raise RuntimeError("Could not
find firefox in your system PATH." +
43: firefox_binary ( __init__ ) self._start_cmd = self._get_firefox_start_cmd()
and
browser = webdriver.Safari()
complains:
[error] script [ testselenium ] stopped with error in line 52
[error] Exception ( No executable path given, please add one to Environment
Variable 'SELENIUM_SERVER_JAR' )
and
browser = webdriver.Chrome()
complains:
[error] script [ testselenium ] stopped with error in line 59
[error] selenium.common.exceptions.WebDriverException ( Message: 'ChromeDriver
executable needs to be available in the path. Please download from
http://chromedriver.storage.googleapis.com/index.html and read up at
http://code.google.com/p/selenium/wiki/ChromeDriver' )
[error] --- Traceback --- error source first
line: module ( function ) statement
65: service ( start ) raise WebDriverException(
I am testing this on Mac 10.9
So you might try with a standalone Jython 2.7 installation and try to
solve these issues.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp