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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Web automation- new tab
Power Automate
Unanswered

Web automation- new tab

(1) ShareShare
ReportReport
Posted on by 32
Hello all, 
I’m new to Power Automate Desktop, and my task is to download files from a website using PAD. On the website, when I manually click the Utilities link, it opens a new window where I can download files. However, when the bot clicks the Utilities link, it opens the new window but remains on the original window with the Utilities link. This results in an error stating, "Failed to get UI element." I also tried using the "Go to Webpage" action to navigate to the new window, but it fails and gives the error from the original tab. please guide me. Thanks in advance for your help.
I have the same question (0)
  • Suggested answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at
    Hi @T24k,
     
    After the new tab or window opens just use focus window to activate that new tab or window .Then perform your click actions. It will solve your issue.
     
     
     
    (Note:- if you got your solution you can mark as solution and gives kudos)
     
     
    Thanks & Regards
    Vishnu Reddy
     
     
  • T24k Profile Picture
    32 on at
    Thank you for your response! Using the "Focus window" action, I can successfully focus on the newly opened tab. To download files from the focused window, I first need to click on "Report files" and then "See available files" on the website. However, when I use the "Click link on webpage" or "Press button on webpage" actions, the flow automatically switches back to the previous tab (the "Browser" tab) and throws an error. On the other hand, the "Press button in windows" action works fine. Since the files are displayed as hyperlinks, I’m unsure how to proceed with downloading them. Additionally, I need to download only those files that contain the keyword "sample" in their filename. Could you please guide me?




     
  • Suggested answer
    VishnuReddy1997 Profile Picture
    2,656 Super User 2025 Season 2 on at
    Hi @T24k,
     
    Trying Like for the process upto opening new tab keep as instance name as First_Browser and after opening new tab use Launch browser(Attach to the runnning browser) and rename it to Second browser and from there change in all the action instance as Second_Browser.
     
     
    Regards,
    Vishnu Reddy

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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard