Comments (4)
It is expected as current intention. The change itself was added 3 years ago as a fix. It was just after Appium 1.22.3 creation, which was available as a uia2 driver with Appium v2. appium/appium-uiautomator2-driver#476
https://github.com/appium/appium-uiautomator2-driver/commits/master/?after=56bfdadb81872b9becf6e0e4ec0800089b051bf2+419
from appium.
@KazuCocoa Thanks for the quik reply. So it's not a bug but a fix :( , now if I want to upgrade the apk version but don’t want to clear/reset the app cache data, what should I do? Temporarily modify noReset parameter to false
?
from appium.
I think you could achieve it with:
- start a session without app nor package name (then a session starts without installing/launching app)
- install an app via https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-installapp
- launch the app via https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-startactivity
In case you want to clear the local data, calling https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#mobile-clearapp or uninstalling the app will help
from appium.
thanks , that's a more flexible and controllable approach
from appium.
Related Issues (20)
- regression: "Cannot extract Info.plist from *.ipa" HOT 15
- bug: <After updating Android project with gradle 8.3, some xml resource ids are missing from appium inspector> HOT 4
- [Feat]: Tweak --json option for setup command HOT 1
- API 文档完善建议 HOT 2
- sendKeys Does Not Send Keys Completely IOS HOT 1
- [Feat]: I am trying to use Allure Reporter in my testNG project using Maven Architecture in my Flutter App automation HOT 2
- newSession method failed on multi real device test HOT 2
- bug: <Appium is unable to find a compatible Chromedriver version> HOT 2
- Original error: No Chromedriver found that can automate Chrome '121.0.6167'. HOT 21
- [Feat]: Remove npmlog dependency because it's no longer supported
- [Feat]: Remove inflight dependency because it's no longer supported HOT 7
- when app starts and app home page comes, appium can only locate systemui, I need locate app home page HOT 2
- Original error: Unable to launch WebDriverAgent because of xcodebuild failure: Command 'carthage bootstrap --platform iOS' exited with code 1 HOT 4
- [Feat]: add company logo icons in SPONSORS.md HOT 5
- [Feat]: Support for JavaFX / Swing Desktop applications HOT 1
- iOS 17 always get driver-to-platform version mismatch on Real Devices HOT 6
- bug: iOS - XCUITest - WDA crash during parallel Appium automation HOT 6
- Appium 2.6.0 error: selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Cannot read properties of null (reading 'unpipe') HOT 4
- [Feat]: Appium to generate .gcov, .gcna, .gcda files for iOS apps code coverage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium.