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
Suggested Answer

UI Element question

(0) ShareShare
ReportReport
Posted on by 4
Does the action "Take screenshot of UI element" take a new screenshot, or does it continue to use the same element?  I am scheduling a job that will generate a new report every day.  I used the "Take screenshot of UI element" to capture the image from the screen that will be placed in an email.  Since this action is in the flow, will it capture/create a new UI element every day?  If it doesn't, what actions do I need to include to create a new UI element?
 
Thanks for any assistance that can be provided.
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    69,556 Most Valuable Professional on at
    If its the desktop flow you are scheduling then it should take a fresh screenshot each time it runs.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Suggested answer
    Haque Profile Picture
    3,653 on at
    Hi,
     
     
    "Take screenshot of UI element"- the action executes each time at runtime so you will get a fresh new screenshot.
     
    The only risk I see is if the selector becomes invalid (due to dynamic attributes).  In that case, you’d need to refine the selector (wildcards, parent/child anchors, or stable attributes).
     
    For example: PAD will try to find that exact element every day. If the ID changes, it fails.
    input[id="jqxWidget5f08ce746fc5"] //--Looking for exact match.
     
    Instead: use the below syntax
    input[id^="jqxWidget"] //--Match my element whose id attribute starts with "jqxWidget".
    PAD will still find the element daily, and the screenshot will always be new.
     
    Please let me know if this helps.
     
     

    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • CU06031228-0 Profile Picture
    4 on at
    Thanks for the confirmation!

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 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard