I am working on a Power Automate that logs into a website, but the URL includes a request ID tracker/token that changes each time that website is activated. So the UI element I am trying to select is getting an error, because, in the flow, the URL that is linked to UI element I want has a previous request ID. So - with Browser Automation > Get Details of Web Page I can get Web browser's current URL address in the variable WebPageProperty. Now I can't figure out how to reference the text field I want to fill out using the current URL address rather than the stale URL address from when I was initially creating this flow. Have not really seen this explained in my Google searches. I was able to use Text functions to make a variable that incorporates the fresh requestID into a variable. Now I don't understand how to create a selector that uses that variable to tell PAD to input text into the field. This screen shows the dialog box for "Populate text field on web page". I just don't see how to modify this to change the UI element to something like FreshWebPage <input:email> 'user[email]' Any thoughts?
Hi @jkasavan11
If I understood your post correctly you have everything else and are looking to dynamically change the selectors.
If so do take a look here on how to modify and even add variables in selectors
I could not modify the UI element with variables in the way I wanted to - so it ended up working by customizing the selector and truncating the web page name and then looking for the necessary tag for the input field. Populate text field on web page "Computer > Web Page 'https://xxxx.yyyy.zzz/' > <input:email> 'user[email]'" Text: %Username%
Thanks @jkasavan11. This is very useful and clever workaround. Only downside is that we must add all required UI elements to "Web Page 'https://xxx.yyyy.zzz/'" in one go as new elements won't be added to renamed Web Page subsequently.