sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #46337
Re: [Question #665575]: Unable to load the Selenium jar file in the common file
Question #665575 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/665575
Status: Open => Answered
RaiMan proposed the following answer:
ok, I have to admit: does not work this way - sorry for misleading.
Finally did my own experiments now and this is the solution:
(from: http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#access-python-packages-from-sikulix-scripts-run-by-sikulix-gui-or-commandline)
create a sites.txt file that contains the absolute path to your
selenium...jar file and place it according to the above doc/approach 2
Then just run your scripts just with the (unmodified) runsikulix.cmd
Since the selenium....jar now automatically gets on to sys.path, the
imports will work without any other additional handling.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.