Giter Club home page Giter Club logo

Comments (6)

KazuCocoa avatar KazuCocoa commented on June 8, 2024

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.

mykola-mokhnach avatar mykola-mokhnach commented on June 8, 2024

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.

hassineabd avatar hassineabd commented on June 8, 2024

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.

KazuCocoa avatar KazuCocoa commented on June 8, 2024

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.

hassineabd avatar hassineabd commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.