Skip to content

Adding the function wait for path#110

Merged
faaxm merged 4 commits intofaaxm:masterfrom
53845714nF:add_wait_for_path
Apr 9, 2025
Merged

Adding the function wait for path#110
faaxm merged 4 commits intofaaxm:masterfrom
53845714nF:add_wait_for_path

Conversation

@53845714nF
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

Looks good, doesn't it?

@faaxm
Copy link
Copy Markdown
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

Comment thread lib/src/Commands/WaitForPath.cpp Outdated
@faaxm faaxm self-assigned this Apr 9, 2025
Comment thread lib/src/Commands/WaitForPath.cpp Outdated
@faaxm faaxm added the enhancement New feature or request label Apr 9, 2025
Copy link
Copy Markdown
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