← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #290134]: [1.1.0] Linux: App.isRunning always reports false --- not yet implemented

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
the problem is the with: statement, which needs a Region object on the
Python script level (firefox.window() returns a Region object from the
Java level, that does not know about the with: feature).

try 
with Region(firefox.window()):

or do not use with.

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