Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Feat]: help initial steps to use appium #20097

Closed
KazuCocoa opened this issue May 16, 2024 · 7 comments
Closed

[Feat]: help initial steps to use appium #20097

KazuCocoa opened this issue May 16, 2024 · 7 comments
Assignees
Labels

Comments

@KazuCocoa
Copy link
Member

KazuCocoa commented May 16, 2024

Is your feature request related to a problem? Please describe.

e.g. when a new user wants to achieve appium automation.

npm install -g appium
appium driver install uiautomator2
appium doctor run driver (if necessary)
appium

The appium driver install uiautomator2 part is one extra step from appium v1. In case a user want to use xcuitest driver, appium driver install xcuitest will be added. Perhaps... could we define a command like appium init or appium setup then appium command can ask users to use which driver they want etc, and appium command takes care of these installations behind that..?

This is just to reduce reading  https://appium.io/docs/en/latest/quickstart after npm install -g appium for beginners. Just an idea.

Describe the solution you'd like
A clear and concise description of what you want to happen.

For advanced usage, we could guide users to check documentation etc, so this is if we could help beginners to use Appium as their first step.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@KazuCocoa KazuCocoa added the Enhancement feature label May 16, 2024
@KazuCocoa
Copy link
Member Author

appium setup-standard is another naming idea.

Perhaps... we could offer drivers:

  • uia2
  • xcuitest

and plugins..

  • images

Perhaps sufficient...?

@KazuCocoa KazuCocoa self-assigned this May 16, 2024
@KazuCocoa
Copy link
Member Author

let me grab this up

@KazuCocoa
Copy link
Member Author

#20102 is this idea (still wip)

@KazuCocoa
Copy link
Member Author

Created #20102 for this ticket.

  • appium setup
  • appium setup all

then it installs multiple drivers/plugins. We can add more code in the future to reduce user setup.
As future work, possibly it could also be nice to run doctor command as part of this setup as well? Just an idea.

@KazuCocoa
Copy link
Member Author

I wondered if appium setup reset could do #17348, which start removing APPIUM_HOME and install packages. Current doctor is appium driver doctor so maybe setup could include such a cleaning task

@KazuCocoa
Copy link
Member Author

Done the initial implementation

@jlipps
Copy link
Member

jlipps commented May 22, 2024

Yeha I like a reset idea too

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

No branches or pull requests

2 participants