Is there any way to expand the app source hierarchy? Dev mobile team already added the identifier for these options but its not visible in app source.
Asked
Active
Viewed 157 times
1
-
Did you try switching to WebView context in the Appium Inspector? – drunkencheetah May 24 '22 at 13:28
-
@drunkencheetah No, Its hybrid application. resource-id and content-desc are already added and visible while inspecting through chrome inspector. But not visible through Appium Inspector – Aazad Saini May 25 '22 at 08:18
-
Exactly, because it is a hybrid application you have a Native context and a Webview context. The same way you are expected to switch contexts in your code, you should also be able to switch the contexts in the Appium Inspector. For my hybrid app the inspector automatically detects there is a Webview and presents a dropdown to switch between Native and Webview context. Check [this](https://appium.io/docs/en/writing-running-appium/web/hybrid/) out if you haven't – drunkencheetah May 25 '22 at 10:50