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 / Argument 'BrowserInsta...
Power Automate
Unanswered

Argument 'BrowserInstance' must be 'Web browser instance'

(1) ShareShare
ReportReport
Posted on by 11

Hi

 

I have an issue where PAD at random gives me this error: Argument 'BrowserInstance' must be 'Web browser instance'

 

It can be both after either attaching to or starting a new browser.

But for this specific issue, it's just when I open the Chrome browser, navigate to a website and then I want PAD to click a button - and it's just about 50/50 whether I get this issue or not at this point.

 

PAD is executing unattended on a VM, and I have been wondering if it can be caused by a lack of resources? Is this a common error?

 

Does anybody know why this happens at random and what I can do to bulletproof this?

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Set up an on error action to reattach to the browser if an error occurs. 

  • Dapta Profile Picture
    11 on at

    Hi @MichaelAnnis 

     

    Thanks for your comment. I've tried that, and it usually bugs out as well, sadly.

     

    It's hard to say, but maybe that solutions helps the error-rate up a bit from 50/50 to 40/60. None of my fail-safes has been bulletproof, as of now I'm having it close the browser, open a new instance and try the script again (which still fails).

     

    I was hoping that there was something I've overseen in PAD - do you experience the same error commonly?

  • RituT Profile Picture
    4 on at

    Hi, I had the similar issue while launching the New chrome browser instance and that got resolved after I have uninstalled and installed back the Microsoft power desktop extension. See if that works for you as well.

    RituT_0-1647838106716.png

     

  • Jimbotron3000 Profile Picture
    31 on at

    Did you ever find a solution that works? This is happening to me constantly. Sometimes it hangs after opening the browser. With error handling set to continue on error after timeout, I then get the 'BrowserInstance must be Web browser instance' error.

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    Yeah I get this with IE and the Automation browser on my VM.....works just fine on my laptop....

  • CParsons09 Profile Picture
    141 on at

    I'm also facing this issue now that we are testing unattended automation. Re-installing the MS extension did not solve the issue.

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    My Edge browser has started doing this randomly.....

  • ApexOrigin Profile Picture
    150 on at

    I have starting having some reliability issues recently with browser actions.  I am suspecting it has something to do with an update Microsoft made recently to the browser extensions.

     

    In my case, I added wait statements, and the processes are more reliable now. These are processes that have been running on WinAutomation for years without any issue and without wait statements, and then all of sudden, issues. It's the same problem with PAD, so that's why I suspect a change to the browser extensions software.

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    Frustrating! So you are adding the wait statements before the action directly after starting the browser? I think I have some on most, but maybe I need to extend them.

  • ApexOrigin Profile Picture
    150 on at

    I put them between all the code lines where the problem exists.

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
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard