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.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp