spix
spix copied to clipboard
Adding the function wait for path
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.