← Back to team overview

sikuli-driver team mailing list archive

[Bug 747006] Re: app.window() doesn't work on Ubuntu

 

I have lost the track, since I always build from the current source, if
something is fixed in Sikuli.

There has been a problem, that App.window() did not return a full
featured Region object.

The workaround was, to force it a Region object:

print Region(ff.window()).getY()

so give it a try.

BTW: What Sikuli version?

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/747006

Title:
  app.window() doesn't work on Ubuntu

Status in Sikuli:
  New

Bug description:
  app.window() can return the region of the application's window on Mac
  and Window. However, it returns NONE on Ubuntu.

  For instance, the following code results in error on Ubuntu, but works well on Mac and Windows.
  ff = App("firefox")
  wait(3)
  print ff.window().getY()



References