Is it possible to attach webview2 instance embeded within native app by html selector

I’m trying to automate process on a native application with embeded webview2 window, it will launch win app first and click on native windows control, and then open a webview2 window, I want to extract data from html element from this webview2 window.

I’ve enabled webview2 native automation from project settings, but element indicator selectors are still wnd selectors, not html selector. those wnd selectors has few and limit attributes to help with automation.

I tried indicate elements on UiPath Assistent window, it gives me html selector instead, it means the settings enabled works , but not work with my application. The difference between them is my application launch webview2 window by clicking on native control, not from executable file.

My questions is if my automation scenario is supported by UiPath? If it’s supported, what additional steps required other than enable webview2 settings.

@SunnyX

Did you try changing the mode to AA and check

cheers

Yes, I tried both AA and UI Automation, all get wnd selectors.

Let us know:

  • UiPath Studio Version
  • UiPath.UiAutomation.Activities Package version

Kindly note, you had configured for IE
grafik

We assume that another Browser is needed

Visual studio is 2023.10.6
uiautomation package is 23.10.11

Thank you notify me the browser in settings, my understanding it’s default browser type settings, should not much impact for webview2 setting. whatever I changed it to Edge, it does the same. i tried both classic and modern activity, the webview2 page is still indicated as window, not browser page.

It still can happen, that also with current actual versions the elements are not recognized for the selector generations.

If possible (e.g. depending to your license type) feel free to get in touch with UiPath as well

  • Feedback category
  • Support / Ticket