The screen that you're inspecting is a web view. You can directly automate this by switching the driver context and you may try inspecting after connecting your device using following way.
Android -> chrome://inspect/#devices
Safari -> develop menu
For switching driver context:
Set<String> contextNames = driver.getContextHandles();
for (String contextName : contextNames) {
if (contextName.contains("WEBVIEW"))
DriverFactory.driver.context(contextName);
}
The screen that you're inspecting is a web view. You can directly automate this by switching the driver context and you may try inspecting after connecting your device using following way.
For switching driver context:
Hope this helps. Cheers