Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unable to use development plugins with flag --use-plugins #8

Open
bipin-k opened this issue Jul 18, 2023 · 1 comment
Open

Unable to use development plugins with flag --use-plugins #8

bipin-k opened this issue Jul 18, 2023 · 1 comment

Comments

@bipin-k
Copy link
Contributor

bipin-k commented Jul 18, 2023

I made some changes into the plugin code and then followed the same instructions to uninstall the production version plugin and then run clean & build scripts and thereafter used the same version to restart appium server with the altunity plugin but the plugin isn't getting activated after that.

The version was changed to 1.3.3 from 1.3.2.

List Installed Plugins,

➜  appium-altunity-plugin git:(master) ✗ appium plugin list
✔ Listing available plugins
- altunity@1.3.3 [installed (dev mode)]
- images [not installed]
- execute-driver [not installed]
- relaxed-caps [not installed]
- universal-xml [not installed]

Appium Logs when plugin is enabled with the provided flags,

➜  appium-altunity-plugin git:(master) ✗ appium --use-plugins=altunity
[Appium] Welcome to Appium v2.0.0 (REV 9600617c52d0d2e48493424c529ac6c945d2775b)
[Appium] Non-default server args:
[Appium] {
[Appium]   usePlugins: [
[Appium]     'altunity@1.3.3'
[Appium]   ]
[Appium] }
[Appium] Attempting to load driver uiautomator2...
[debug] [Appium] Requiring driver at /Users/bipinchaurasia/Documents/github/appium-altunity-plugin/node_modules/appium-uiautomator2-driver
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723
[Appium] You can provide the following URLS in your client code to connect to this server:
[Appium] 	http://127.0.0.1:4723/ (only accessible from the same host)
[Appium] 	http://172.17.24.170:4723/
[Appium] 	http://192.0.2.1:4723/
[Appium] Available drivers:
[Appium]   - uiautomator2@2.29.2 (automationName 'UiAutomator2')
[Appium] Available plugins:
[Appium]   - altunity@1.3.3
[Appium] No plugins activated. Use the --use-plugins flag with names of plugins to activate
@jlipps
Copy link
Collaborator

jlipps commented Jul 19, 2023

Not sure what you're trying to report is going on here. Are you wanting to use a developer branch of this plugin? In that case, simply run npx appium --use-plugins=altunity from within this repo's directory and appium will find this plugin

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants