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()
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()