Comments (6)
How did you manage Appium? Usually the path to module installation would be like:
~/.appium/node_modules/.cache/appium/extensions.yaml
So I guess your local has custom APPIUM_HOME
to... perhaps APPIUM_HOME=~/
?
For images plugin installation. you may need to run appium plugin install images
https://appium.io/docs/en/latest/cli/extensions/
from appium.
handle the old packages automatically
Not sure what you mean by that. Could you please describe in more details what is expected, step by step?
from appium.
The expected behavior is : I upgrade appium / appium plugin / appium driver , the file extensions.yaml should be updated automatically
the current behavior : extensions.yml (as attached here) had the old version of appium and images plugin after upgrading it ... when I deleted appium and reinstall it the appium version in extensions.yml has been updated but when I did the same thing to appium image plugin it didn't manage to solve the problem
the actual workaround : delete the appium -> delete its ecosystem (plugins , driver etc ..) -> delete the file extensions.yml manually -> reinstall it again
from appium.
Did you try out update
? (this is not the latest appium though)
% appium plugin install [email protected]
✔ Installing '[email protected]' using NPM install spec '@appium/[email protected]'
ℹ Plugin [email protected] successfully installed
% cat ~/.appium/node_modules/.cache/appium/extensions.yaml
drivers: {}
plugins:
images:
pkgName: "@appium/images-plugin"
version: 3.0.0
installType: npm
installSpec: [email protected]
installPath: /Users/kazu/.appium/node_modules/@appium/images-plugin
appiumVersion: ^2.0.0
mainClass: ImageElementPlugin
schemaRev: 4
% appium plugin update images
✔ Checking if plugin 'images' is updatable
✔ Checking if plugin 'images' needs an update
✔ Installing 'images' using NPM install spec '@appium/[email protected]'
✔ Updating driver 'images' from 3.0.0 to 3.0.6
ℹ Update report:
✔ - plugin images updated: 3.0.0 => 3.0.6
% cat ~/.appium/node_modules/.cache/appium/extensions.yaml
drivers: {}
plugins:
images:
pkgName: "@appium/images-plugin"
version: 3.0.6
installType: npm
installSpec: images
installPath: /Users/kazu/.appium/node_modules/@appium/images-plugin
appiumVersion: ^2.0.0
mainClass: ImageElementPlugin
schemaRev: 4
from appium.
I think that I got it why:
Besides all those steps above, and in parallel, I had appium running in another terminal maybe that's why it kept cache file.
from appium.
Related Issues (20)
- bug: close method on Mobile Browser iPhone15/Safari does not close the browser window HOT 2
- getScreenshot failing with 500 and then everything goes into a bad state HOT 4
- appium
- [iOS-17] getScreenshot command timing out multiple times HOT 4
- help me to automate any apps(system apps or custom apps) on secondary display android HOT 1
- [Feat]: alternate sendkey strategy/ies for iOS web HOT 1
- Any plans to support appium-windows-driver for windows 11 HOT 1
- Unable to install appium drivers on windows 11 HOT 4
- ERROR webdriver: Request failed with status 500 due to unsupported operation: This API is not supported anymore. See https://github.com/appium/appium/issues/15807 HOT 4
- Getting error "WDA is not listening at 'http://127.0.0.1" HOT 14
- × Installing 'uiautomator2' using NPM install spec 'appium-uiautomator2-driver' HOT 1
- Large DOM structure takes long time and sometimes crashed appium HOT 4
- Unable to start appium session HOT 1
- Unable to start appium session using appium GUI inspector even after upgrading or installing appium v2.5 HOT 12
- Is there a way or any desired capabilities in which we can stop Appium from launching the app after installation. HOT 1
- How to get bundleId dinamically? HOT 2
- My automation tests are flaky- get alert text returns empty string sometimes HOT 7
- Issue when perform gestures on both Android and iOS HOT 3
- [Feat]: introduce getContextsWithDetails endpoint HOT 4
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.