sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #11640
Re: [Question #202820]: Selenium in sikuli
Question #202820 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/202820
Status: Open => Answered
RaiMan proposed the following answer:
--- you have to get the Selenium Python client and the Selenium server
of course.
--- in a Sikuli script:
# at the beginning
selDir = "path-to-folder-containing-selenium.py"
if not selDir in sys.path: sys.path.append(selDir)
import selenium
reload(selenium) # if in run IDE
# get a session with a browser
browser = selenium("localhost", 4444, "*chrome", "http://www.google.co.in/")
browser.start()
# now you can do everything with the browser, the Selenium Python client
allows.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.