← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #257941]: Integrate Sikuli and Selenium Python on Eclipse IDE

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- general comment: since you are writing Python scripts, you should
use Sikuli accordingly:

from sikuli import *
from selenium import webdriver

def MyHCL():
    click("D:/Anubhav Data/Project/TestSikuli/img/1415965940913.png")
    print ("Sikuli Code")

    driver = webdriver.Firefox()
    driver.get("https://www.myhcl.com";)

MyHCL()

--- external Jython
you should use the latest Jython version 2.7beta3

--- use of SikuliX in Eclipse with Python plugin
see https://github.com/RaiMan/SikuliX-2014/wiki/Usage-in-Java-programming

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.