spix icon indicating copy to clipboard operation
spix copied to clipboard

Adding the function wait for path

Open 53845714nF opened this issue 2 months ago • 0 comments

I added a function to wait for a path. It is useful when you click on a UI, and have to wait for an Element.

Can be used:

from xmlrpc.client import ServerProxy

session = ServerProxy('http://localhost:9000')
session.mouseClick('mainWindow/buttonImage')
session.waitForPath('mainWindow/theTitle', 400)

The first parameter is the path that is waited for. The second is the timeout for the waiting.

53845714nF avatar Apr 29 '24 08:04 53845714nF