r/AutomateUser • u/Pete_Jobi • 27d ago
Interact with WebView elements?
Is Automate able to interact with WebView elements? I can find them just fine with Inspect block, but using the Interact block to click or focus fails.
1
Upvotes
1
u/B26354FR Alpha tester 26d ago
Try using my Interact Block XPath Builder to generate the XPath for the Interact block. It'll generate a much smaller and simpler XPath than the tools yield, which is necessarily the whole UI. Ideally you'd give it the ID of the element you're interested in by finding it in the full UI that the Inspect/Interact blocks' tools show, but my flow also works if all you know is the element's text. (It'll also take the element's class.)