web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Web automation, proble...
Power Automate
Unanswered

Web automation, problem with writing text to field due to invalid object reference

(0) ShareShare
ReportReport
Posted on by 205

I have a web automation flow where I cannot write to a specific UI element, with an error message stating that the object reference is not valid.

I assume this is because of the actual web address is dynamic, even though the element ID in the DOM is still identical.

 

Within my flow a button is clicked on the starting web page, which launches another tab in the browser. It is on this new tab that my problematic UI element is located on. Is there any way to make the subsequent web automation steps interact with this new tab automatically?

 

Or, what ways are there to make the web address dynamic within the Desktop flow, e.g. just looking for part of the URL?

 

Thanks.

I have the same question (0)
  • fraenK Profile Picture
    2,125 on at

    You just have to set/attach the browser instance to the new tab e.g. through title or URL

  • fugixi Profile Picture
    205 on at

    Allright.

    That was actually the first thing I thought about, but I could not see any way that I could set it to the new tab.

    How would you go about doing that?

  • Verified answer
    fraenK Profile Picture
    2,125 on at

    After that button click you need to add the launch web browser action and set the launch mode to an existing instance with details about the new tab (title or URL): https://docs.microsoft.com/en-us/power-automate/desktop-flows/automation-web#building-a-web-automation-flow

  • fugixi Profile Picture
    205 on at

    Wow, that was simple. I sure feel stupid now. 😀

     

    Thank you. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard