Unable to turn off wifi with appium 2.0.0-beta.35
See original GitHub issueThe problem
Unable to turn off wifi with appium 2.0.0-beta.35 but with appium 1.22.2
Environment
using: https://github.com/appium/appium-docker-android with appium@next
- Appium CLI: 2.0.0-beta.35 installed by npm
- Last Appium version that did not exhibit the issue (been used for testing): 1.22.2
- Drivers (only for Appium2):
- uiautomator2@2.1.1
- Node.js: v12.22.12/v16.15.0
- Mobile devices:
- nokia7.2: android 10
- nokia g50: android 12
- samsung s22: android 12
- samsung a52: android 11
- android SDK (the same between v1.22.2 && 2.0.0-beta.35)
- java-client: 7.3.0/8.0.0
Details
removed these apps before each trial
- io.appium.settings
- io.appium.uiautomator2.server
- io.appium.uiautomator2.server.test
ps: using io.appium.settings installed by appium 2.0 with appium 1.22.2 will also fail the wifi action
Link to Appium logs
appium/adb logs for 2.0 and 1.22.2: https://gist.github.com/e74a6f025a5e5ca566b77207c7e52cc8.git
timestamp of turn off wifi: (appium log in US/Pacific, but looks like timestamp is incorrect)
- 2.0: adb logcat > UTC+8, 05-12 18:09:42 - 05-12 18:09:43
- 1.22.2: adb logcat > UTC+8, 05-13 12:15:55 - 05-13 12:15:56
Code To Reproduce Issue
((AndroidDriver) driver).setConnection(new ConnectionStateBuilder().withWiFiDisabled().build());
Issue Analytics
- State:
- Created a year ago
- Comments:36 (15 by maintainers)
Top Results From Across the Web
How to turn on or off Wi Fi using Appium? - Issues/Bugs
How to turn on or off wifi or data connection using appium? If any one know it please share code.
Read more >appium/appium - Gitter
Hi all ! We have issue in GitHub action macos-12 to perform appium testing. The appium server running is 2.0.0-beta.46. This is the...
Read more >appium/CHANGELOG.md - UNPKG
The CDN for appium. ... 243, * Make sure execution does not fail when trying to shut down simulators that ... 923, -...
Read more >Getting started with Appium 2.0 - SlideShare
Slides used in workshop on "Getting started with Appium 2.0" at AppiumConf 2021 ...
Read more >ThucydidesSystemProperty (serenity-model 2.0.22 API)
Unique device identifier of the connected physical device used for appium tests ... Disable flash on Internet Explorer on BrowserStack. BROWSERSTACK_LOCAL.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://github.com/appium/appium/issues/16967 is for the activateApp behavior thing.
All patches were merged, thus closing