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

feature request: Search option at the App Source section #1004

Open
maioni opened this issue Jul 27, 2023 · 3 comments · May be fixed by #1494
Open

feature request: Search option at the App Source section #1004

maioni opened this issue Jul 27, 2023 · 3 comments · May be fixed by #1494
Labels
enhancement New feature or request

Comments

@maioni
Copy link

maioni commented Jul 27, 2023

Current Behavior

Why there's no SEARCH option at the App Source section (at Appium Inspector)?

It could help a lot, sometimes I can't find elements by clicking on it, so I have to copy all the source to a note text application, find something I need, and after it, goes back to inspector to make sure I can find it with a selector I created.

An option to search here could help.

Thank you!

Suggested Solution

Add a Search text option to the App Source section.

After type the input, it would highlight the element or elements found. (With a find next or find previous option)

Additional Information

I got this idea when automating a sample application SWAG LABS, after opened the menu and try to click on options (the logout option), it was selecting the elements under the menu, and not from menu.

So I had to copy all the SOURCE, and try to find the menu elements by text, and goes back to Inspector to validate my current selector.

https://github.com/saucelabs/sample-app-mobile/releases

@maioni maioni added the enhancement New feature or request label Jul 27, 2023
@jlipps
Copy link
Member

jlipps commented Jul 27, 2023

Yeah I suppose a simple CMD+F doesn't work in the source box. Seems like a reasonable request to be able to search inside the source tree. Not sure how easy it would be to implement though! Might not be worth it if it's high effort

@sudharsan-selvaraj
Copy link
Contributor

@jlipps @maioni This seems like a reasonable request and a valuable feature to have. I've managed to develop it and would love to hear your feedback. Here's the link to PR and i have added a quick demo as well.

@maioni
Copy link
Author

maioni commented Oct 3, 2024

@sudharsan-selvaraj thank you! it is really good!

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

Successfully merging a pull request may close this issue.

3 participants