appium-inspector icon indicating copy to clipboard operation
appium-inspector copied to clipboard

feature request: Add searched element to popup window

Open Dor-bl opened this issue 2 years ago • 2 comments

Current Behavior

Currently when searching for an element, in case the element is not found the user see a general message saying: "Could not find any elements"

Suggested Solution

the popup should include the element we searched for as well. i.e. Could not find any elements matching the below criteria: {Element selector value}" image

Additional Information

This will help users when they are working closely with dev teams to add unique identifiers to their app, so they can show them what is missing for what value of selector used.

Dor-bl avatar Dec 10 '23 07:12 Dor-bl

image Something like this?

VineethG-Protean avatar Apr 29 '24 12:04 VineethG-Protean

I believe so. Maybe also include the selector type

Dor-bl avatar Apr 29 '24 14:04 Dor-bl

@Dor-bl How about this one? Any thoughts? If it looks good, i shall raise a PR with the changes.

Screenshot 2024-06-04 at 7 00 51 AM

sudharsan-selvaraj avatar Jun 04 '24 01:06 sudharsan-selvaraj

LGTM 🍻

Dor-bl avatar Jun 04 '24 04:06 Dor-bl

@Dor-bl Cool. Opened a PR with the changes.

sudharsan-selvaraj avatar Jun 04 '24 05:06 sudharsan-selvaraj