Question #182530 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/182530

    Status: Open => Answered

RaiMan proposed the following answer:
Looking into the Selenium docs at "Python Client Driver Configuration",
I guess you have to do the following:

selDir = "path-to-folder-containing-selenium.py"
if not selDir in sys.path: sys.path.append(selDir)
import selenium

this replaces your
from selenium import selenium

the rest of your code seems ok

from __future__ import with_statement
is not needed, since already done by Sikuli internally.

-- 
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

Reply via email to