← Back to team overview

sikuli-driver team mailing list archive

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:
When you use selenium-server-standalone-2.53.1.jar as API library, use
java API instead of Python API.

[codes:]
load("C:\Selenium\selenium-server-standalone-2.53.1.jar")
import org.openqa.selenium.firefox.FirefoxDriver as FD
import org.openqa.selenium.By as By

driver = FD()
driver.get("http://sikulix-2014.readthedocs.io/en/latest/index.html";)
driver.findElement(By.name("q")).sendKeys("12345")
sleep(20)
driver.quit()

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.