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

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Unanswered

Unattended Flow Unable to Click on Browser Icon.

(0) ShareShare
ReportReport
Posted on by

I'm working on a flow to download a report from a website. After setting the report parameters the only option is to click a printer icon, print to PDF and save as. Works great in attended mode but when triggered by cloud flow in unattended mode the automation fails to get the UI element of the and errors out. I'm used to troubleshooting these unattended errors, but my normal tricks are not working. All the other UI element interactions work just fine in unattended. Since it's unattended I only have error screenshots to go off of. It's unclear if the failure is in the clicking of the printer icon or if the "print to PDF" screen is not popping up.  

So far, I have tried:
- using the move mouse to image and click instead of click UI element. 
- validate the screen resolutions are properly forced and the same in both modes.
- All the permutations of changing the UI elements and screen selectors I can think of. 

Let me know if any of you out there have some ideas on what to try next to get this thing working. 
Categories:
I have the same question (0)
  • Suggested answer
    sannavajjala87 Profile Picture
    107 on at
    Unattended Flow Unable to Click on Browser Icon.

    Hi, this is a common challenge when automating print dialogs in unattended mode. Here are a few things you can try:

     

    Use “Send Keys” Instead of UI Click

     
    • The print dialog often behaves differently in unattended sessions.
    • Try sending the keyboard shortcut (e.g., Ctrl + P) to trigger the print window instead of clicking the printer icon.

    Add Delays and “Wait for Window”

     
    • Insert a delay after triggering the print action.
    • Use Wait for window or Wait for UI element to ensure the print dialog is fully loaded before interacting with it.
     

    Switch to “Print to PDF” via System Dialog

     
    • If the browser print dialog is causing issues, consider using the system print dialog.
    • You can open it with Ctrl + Shift + P in most browsers and then automate the PDF selection.
     

    Validate Unattended Session Settings

     
    • Ensure the unattended session has:
      • Same resolution as attended mode.
      • Display scaling set to 100%.
      • Printer drivers installed (including “Microsoft Print to PDF”).

    Use Image Recognition as Fallback

     
    • If UI selectors fail, use Move mouse to image and click for the print button and the “Save” button.
    • Make sure the images are captured at the same resolution as the unattended session.
     

    Alternative Approach

     
    • Instead of automating the print dialog, check if the report can be:
      • Exported via URL parameters or API.
      • Downloaded directly as a file without printing.

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

Coming soon: forum hierarchy changes

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 481 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 472 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 245 Most Valuable Professional

Last 30 days Overall leaderboard