-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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 wifi is connected #12502
Comments
I think we could add such info (wifi state, and, probably, the AP name) into device_details endpoint |
Since the recent appium@beta you can use |
Thank you very much :) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The problem ( More like a new feature)
Is there a method to wait until the connection state is Connected then continue with the test execution?
Environment
Details
I'm turning off the wifi then I turning on again. And I need to move forward with the steps after the wifi is connected. The problem is that the steps are executed before the device is connected. It takes some second since I turn on the wifi and it connects again.
I found this command and I will try to executed based on my needs:
adb shell dumpsys wifi | grep "mNetworkInfo"
But I was thinking, maybe we can add something like this in Appium waitUntil(ExpectedCondition.etc..)
The text was updated successfully, but these errors were encountered: