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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate for Des...
Power Automate
Answered

Power Automate for Desktop Fails to Find a Website Field

(0) ShareShare
ReportReport
Posted on by 15

I am updating a web page and creating a log record in Excel. My flow  in Power Automate for Desktop reads a currency amount from a dialog into a variable, populates the batch number on the web page from the Excel sheet and sets a drop-down box in the web page.  The flow creates the rows in the Excel worksheet correctly and updates some of the web page fields correctly, but it fails to populate the currency amount field from the variable because the field is “not found”. Earlier actions in the flow extract the currency amount field from the web page and display the content to me. The field was found then. Seeing that the solution of running as administrator sometimes solves a problem, I tried that, but it made no difference. I also tried to focus on the field and send keys to it, but that produced the same “not found” error. What do I need to do to my flow to populate the currency amount field on the web page?

Flow error message.jpg
Amount field inspected.jpg
I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Does your form on the web page have more than one row? It seems to me like you captured the fields for the first row, but then there are more and they don't work because the selector is built for the first one.

    There is more than one <div> element directly under the <form> element and you're not targeting the first one, but you have not provided an Ordinal property to it, indicating that the flow should target the first one.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • Dinocheese Profile Picture
    15 on at

    Thank you for your interest. The web page as displayed looks like the amount field is a single item but my knowledge of HTML is limited. I changed the flow to write the currency amount to the Notes field and that works. Attached is a screenshot of the relevant part of the web page with the Notes and amount fields HTML alongside. 

    Notes and Amount inspected.jpg
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Can you also share the selector that works when populating the Notes field?

  • Dinocheese Profile Picture
    15 on at

    I have attached 2 screenshots of the selector for the Notes field which the flow does populate. I included the second screenshot in case the higher level fields are relevant.

    Selector for Notes higher level.jpg

    Selector for Notes.jpg

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Seems like the two are very different fields. Have you tried simply using input[name="amount"]  as the selector for the amount field?

     

  • Dinocheese Profile Picture
    15 on at

    I tried your suggestion of input[name = "amount"] and it was successful. My flow now does exactly what I wanted it to do. Are there any published guidelines advising when to replace the default selector?

  • Dinocheese Profile Picture
    15 on at

    I forgot to thank you for your assistance. Thank you. You have helped me have more confidence to find further uses for Power Automate . 

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    I don't think there are guidelines for that published anywhere. The basic idea is to test it thoroughly and if it doesn't work, then make changes.

    I would usually try to remove any class names and anything that seems like it could easily change from the selector, but knowledge of what to change usually comes with experience.

    Glad I could help you. Good luck automating!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 225

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard