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 Automate
Answered

Web buttons problem

(1) ShareShare
ReportReport
Posted on by 22

Good day,

Unfortunately, I don't know where to find a solution to my problem, so I want to try to contact you. Namely, I try to use a power automate to control the browser. Everything works except for one button, which the program finds, but pressing does not work at all. The only way out was to locate the button using the mouse position functions and then double-click with the mouse. But this is not a good solution as the position of the button changes with different monitors. Can you advise me on how to approach this problem? Alternatively, there is a function that would press the button "like a mouse". I also tried the "CLICK LINK ON WEB PAGE" function also doesn't work.

Thank you very much in advance

Sincerely

Robert.

I have the same question (0)
  • miketran13 Profile Picture
    720 on at

    Hi Robert,

     

    Have you tried to use Press Button on web page yet? If not, please try it. 

    And I also know that, Click link on web page and Press Button on web page is not always working as expected. I got few problems with these before. There is a workaround solution that I tried sometime, that is sending Tabs key on the browser until it located at the Button position. Then, I just need to send another hotkey is Enter replaces for the Press button action.

     

    miketran13_0-1612769969598.png

    Thanks and hope it can help you. 

    Mike

    ---------------------------------

    Did I answer your question? Please consider to Mark my post as a solution! to guide others

  • Scenox Profile Picture
    22 on at

    Hello Mike,

     

     

  • Scenox Profile Picture
    22 on at

    Hello Mike,

     

    Thank you for your answer. Well i tried  press button on web page it doesn't work.

    With hotkeys couldn't be problem when user will be work simultaneously on the computer?

     

    Thanks

     

    Robert.

  • Verified answer
    Shrav Profile Picture
    Microsoft Employee on at

    Hello Robert,

     

    When you say Click Link/Press Button on Web Page don't work, double check the error.


    If you see an error that says the element is not found, it would be an issue with the CSS Selector of the button.

    In such cases, you'll need to modify the CSS Selector of the button for the interaction to be successful.

    Press F12 while on a browser to see the structure of the webpage and create your own CSS selectors.

    Know more about CSS Selectors here.

     

    If there's no error, it means that the click was successfully sent. You may see the button highlighted in yellow, indicating that the element is in focus but it hasn't been clicked. For such cases, you can send an "Enter" keystroke to complete the click event.

     

    You can also use JavaScript to press a button,

    Populate text field and click on link using JavaScript | Microsoft Docs

     

    On a sidenote, if a user is working simultaneously on the same system, the user's interactions would conflict with any such interactive actions (mouse clicks/keystrokes etc.) that your flow may perform.

     

    Thanks,
    Shrav

  • GanCW Profile Picture
    237 on at

    As a last resort, you can use click on image to simulate the click.

  • vtse Profile Picture
    on at

    if you can not use any other solution, to overcome the issue with the resolution you can add the actions get / set resolution 

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard