Related to https://support.digital.ai/hc/en-us/requests/222966.

The issue happened when users copying XPaths while inspecting WebView elements are getting Native Context XPaths, which cannot be directly used for WebView automation in scripts.

Improvement Request:
When the inspected element belongs to a WebView, the system should automatically switch to the corresponding WebView context when generating XPath.

Comments

  • Hi Sandy,
    Thank you for your suggestion regarding automatic context switching when copying XPaths for WebView elements. While we understand the need, automatically switching to the WebView context may lead to unintended behavior, as elements from different dumps (Native and WebView) often overlay each other, making it difficult to determine the correct context reliably. To avoid such issues, we currently require manual context selection.
    Best Regards,
    Michael Abramovich, Product Manager.