The browser view that is embedded inside a native app is called a Web View. To view the XPath of a webview in a hybrid app, we make use of the Selendroid Inspector. To use the Selendroid Inspector, perform the following the steps:
- Open the Appium Server GUI and put the local APK file path in the application path.
- Select the Automation Name as Selendroid and the other mandatory parameters.
- Start the server after selecting Pre-Launch Application.
- Navigate to http://localhost:8080/inspector and start using the Selendroid Inspector.