← Back to team overview

sikuli-driver team mailing list archive

[Question #267116]: Run Sikuli code in Python script

 

New question #267116 on Sikuli:
https://answers.launchpad.net/sikuli/+question/267116

Hi all,

I am working in the following environmnet:

O.S: Windoes 8
Python 2.7
Selenium
IDE: PyCharm

I want to automate the process of upload a file:

Currently in my python script I have:

---------------------------------------------------------

        # Here I do a click in the browse button, an OS window is displayed
        browse_button = self._browser.find_element_by_id("data-file")
        browse_button.click()
        # Now I want to interact with the windows using Sikuli

---------------------------------------------------------

The Sikuli script is created. 

How do I do to include inside my Python code? Should I include only the .skl file for this?

I've already installed pip install sikuli.

Please help and thanks in advance


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