sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #39889
Re: [Question #353956]: Permission issue with Selenium in Sikuli
Question #353956 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/353956
Status: Open => Answered
masuo proposed the following answer:
I introduce my solution to use Selenium-webdriver from SikuliX-IDE.
The following is an example of using chrome as a browser.
[preparation:]
(1)Download Selenium Standalone Server(e.g. selenium-server-standalone-2.53.1.jar)
Place selenium-server-stand\alone-2.53.1.jar at C:\Selenium
(2)Download chromedriver(e.g. chromedriver.exe)
Place chromedriver.exe at C:\Selenium
[script code:]
load("C:\Selenium\selenium-server-standalone-2.53.1.jar")
import org.openqa.selenium.chrome.ChromeDriver as CD
import org.openqa.selenium.chrome.ChromeDriverService as CS
import java.lang
java.lang.System.setProperty(
CS.CHROME_DRIVER_EXE_PROPERTY,
"C:\Selenium\chromedriver.exe")
driver = CD()
driver.get("http://www.sikuli.org/")
sleep(10)
driver.quit()
[environment:]
OS:Windows10
SikuliX:SikuliX1.1.1
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.