Skip to content

Adding the function wait for path #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 9, 2025
Merged

Conversation

53845714nF
Copy link
Contributor

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
Copy link
Contributor Author

Can you run the tests again?
That should run with the repaired tests.
(The PR is also very small.)

@faaxm faaxm closed this Apr 9, 2025
@faaxm faaxm reopened this Apr 9, 2025
@53845714nF
Copy link
Contributor Author

Looks good, doesn't it?

@faaxm
Copy link
Owner

faaxm commented Apr 9, 2025

Looks good, doesn't it?

Jup, pretty sweet. Just gonna do a local checkout and test it a little, but probably gonna merge it tomorrow. Thanks a lot for your patience!!! @53845714nF

@faaxm faaxm self-assigned this Apr 9, 2025
@faaxm faaxm added the enhancement New feature or request label Apr 9, 2025
Copy link
Owner

@faaxm faaxm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@faaxm faaxm merged commit 229b745 into faaxm:master Apr 9, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants