Closed omerdurmaz2 closed 1 month ago
I'm not sure if anything can be done from the Inspector side here. The page source is retrieved using Google's UiAutomator framework, and the Appium server and Inspector only parse it. But looking at your first screenshot:
If the element details stay the same after refreshing the page source, then it is likely that the issue lies somewhere in your application code. Unfortunately I'm not an Android developer myself, so I can't help you with Compose questions; the only thing I know is the need for testTag
s, which you are already using.
You may also try https://github.com/appium/appium-uiautomator2-driver?tab=readme-ov-file#elements-cannot-be-found
Also, appium espresso driver has a built-in compose automation support. Check https://github.com/appium/appium-espresso-driver?tab=readme-ov-file#jetpack-compose-support for more details
Thanks a lot! allowInvisibleElements
parameter worked for me.
Is this an issue specifically with Appium Inspector?
Is there an existing issue for this?
Current Behavior
When i try to inspect this bottomsheet, I only see one element no child components.
Expected Behavior
I want to see the child elements in inspector just like this image. One of my bottomsheet works fine but the other one seems like one component no child component.
Operating System
Mac
Appium Inspector Version
2024.6.1
Appium Version
2.10.3
Further Information
Note: Both of them BottomSheetDialogFragment and both of them developed with jetpack compose. What am i missing? Note: And I have already added
testTag
andmodifiers.