Skip to content
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

Wait until the UI thread becomes idle #831

Open
paulohvalipio opened this issue Oct 14, 2024 · 1 comment
Open

Wait until the UI thread becomes idle #831

paulohvalipio opened this issue Oct 14, 2024 · 1 comment

Comments

@paulohvalipio
Copy link

Hi,

It would be very interesting to add functionality to wait until the UI thread becomes idle similar to the mobile command: waitForUIThread from the appium-espresso-driver or a capability appium:waitForUIThread, this functionality is necessary to avoid the use of implicit waiting that can impact the performance of test case execution.

@mykola-mokhnach
Copy link
Contributor

Do you known any UIAutomator APIs that would allow this? I have doubts it is possible because Espresso is very different from UIA2. The latter relies merely on system accessibility and is a black box solution, while Espresso has access to the app code and its code execution sandbox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants