sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #39892
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:
The following is an example of using firefox as a browser.
[preparation:]
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
[script code:]
load("C:\selenium\selenium-server-standalone-2.53.1.jar")
import org.openqa.selenium.firefox.FirefoxDriver as FD
import org.openqa.selenium.Dimension as Dm
driver = FD()
sleep(10)
driver.get("http://www.sikuli.org/")
size = Dm(500,500)
driver.manage().window().setSize(size)
sleep(10)
driver.quit()
[environment:]
OS:Windows7
SikuliX:SikuliX1.1.1
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.