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: Add history to selectors #1584

Open
fleytman opened this issue Aug 6, 2024 · 3 comments
Open

feature request: Add history to selectors #1584

fleytman opened this issue Aug 6, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@fleytman
Copy link

fleytman commented Aug 6, 2024

Current Behavior

Typical mechanism for using the appium inspector

  1. Start session or attach to session
  2. Click on the magnifying glass icon
  3. Test your selector
  4. Repeat in a another session

Problems:

  1. At step 3, you may need to check the selector in id, xpath, etc. In this case, the last entered value is saved in the field, regardless of the tab.
  2. At step 4, the field "Selector" will be empty

Suggested Solution

  1. Store the selector value separately for each "Locator Strategy" tab
  2. Save multiple selector values, such as 100 (or manage the number in the settings)
  3. Store the value between sessions

Additional Information

No response

@fleytman fleytman added the enhancement New feature or request label Aug 6, 2024
@eglitise
Copy link
Collaborator

eglitise commented Aug 6, 2024

Thanks, this feature absolutely makes sense. I think a reasonable approach would be to just have a new 'history' button in the search window, saving the last X strategies+selectors. This would be saved between sessions, and clicking any entry would populate the respective fields.

@fleytman
Copy link
Author

fleytman commented Aug 7, 2024

The button with the history is quite normal - as the most obvious and simple one. If you are interested, what could be more convenient, but probably more complex?

  1. Switch between options with the up/down arrows as in the terminal
  2. Suggest for autocomplete with the ability to switch between suggestions

@itkhanz
Copy link

itkhanz commented Aug 21, 2024

I also agree this feature would be pretty useful. Currently I have to write/copy locators again if I am to try any locators. Having them saved in history tab would allow users to quickly pick up the locator from recently tried locators history. This will be handy when we are trying to build complex XPath locators in absence of IDs in order to build a suitable locator.

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

No branches or pull requests

3 participants