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 UI does...
Power Automate
Unanswered

Power Automate UI does not work when run (Click on web page)

(0) ShareShare
ReportReport
Posted on by 23

Hi,

I have a flow that navigates to a web page and then selects the button "Import". On selection this opens a new pane over the web page to "Import Existing Model". I have tried capturing the "Select Files" UI but I am unable to get it to press the button when I run the flow.... below are the screen grabs and the code.... any ideas?

Thanks in advance

 

Mike1976_0-1651067211722.png

<div class="k-widget k-window" style="visibility: visible; display: block; padding-top: 41px; min-width: 90px; min-height: 50px; width: 500px; top: 430px; left: 0px; z-index: 10003; transform: scale(1); opacity: 1;"><div class="k-window-titlebar k-header" style="margin-top: -41px;"><span class="k-window-title" id="ImportModelModal_wnd_title">Import Existing Model</span><div class="k-window-actions"><a role="button" href="#" class="k-button k-bare k-button-icon k-window-action" aria-label="Close"><span class="k-icon k-i-close"></span></a></div></div><div id="ImportModelModal" style="" data-role="window" class="k-window-content k-content" tabindex="0" role="dialog" aria-labelledby="ImportModelModal_wnd_title">

                    <div id="uploadDiv" class="upload-component">

<div class="k-widget k-upload k-header k-upload-empty"><div class="k-dropzone"><div class="k-button k-upload-button" aria-label="Select files..."><input id="fileUpload" name="fileUpload" type="file" data-role="upload" autocomplete="off"><span>Select files...</span></div><em>Drop files here to upload</em></div></div>

                    </div>

                </div></div>

  • Pavel_NaNoi Profile Picture
    1,074 on at

    Some things you could try to solve this:

    - If you want to keep it to UI elements only, do the following, use "Extract data from webpage" and right click select "Select files" button, if it does not allow you to select the button, select either the entire box its in or select "Import", then go into the "Advanced Options".

     

    Inside there, if you were able to select the "Select files" button, simply copy the selector that is shown:

    Pavel_NaNoi_0-1651152618252.png

     

    and put it in as a custom selector in any dummy selector that you don't need:

    Pavel_NaNoi_1-1651152662092.pngPavel_NaNoi_2-1651152676212.png

     

    If you were unable to select that button and instead selected the entire box or import, try to add > div at the end and maneuver around the webpage until you see it highlighted by the extraction tool.


    -If you want the easy way out, just use an if image on screen instead and just select that as an image the robot will click on.

     

    -You could also try OCR if the above don't work.

  • businesstaken Profile Picture
    26 on at

    really cool and useful reply

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey 
    Have you tried making a selector that just contains "span:Contains('Select files ...')"?
    Or is the problem that you can find the element but not press it?

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 211 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 190

Last 30 days Overall leaderboard