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 / Web automation failed ...
Power Automate
Unanswered

Web automation failed to create new tab?

(0) ShareShare
ReportReport
Posted on by 2

Hello, I'm creating a flow that iterates through files in a folder and pastes the contents into a given field on a webpage for posting.

The flow currently: Gets files within a specified folder > Launches a new instance of chrome > begins a loop that iterates through the files > Reads the contents of the current file > creates a new tab within the earlier launched instance of chrome... and here it throws an error.

When I run the flow it DOES create a new tab within Chrome at this step, but the flow stops and throws and error saying it "Failed to create a new tab"

 

Here are the full error details:

 

Object reference not set to an instance of an object.: Robin.Core.ActionException: Failed to create new tab. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.<>c.<ExecuteWebAutomationActionCore>b__20_1(WebAutomationResult r)
at Robin.Shared.Runtime.Utilities.Clock[T](Int64 maxMillisecondsToWait, Int32 step, Func`1 action, Func`2 successCondition)
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.ExecuteWebAutomationActionCore(IWebExtensionsBrowser webExtensionsBrowser, Boolean waitForPageToLoad, Int32 courseOfActionIfDialogAppears, TextVariant dialogButtonToPress, Func`3 coreFunction)
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.CreateNewTab(IWebExtensionsBrowser webExtensionsBrowser, Uri uri, Boolean waitForPageToLoad, TextVariant dialogButtonToPress, WebPageCourseOfActionIfDialogAppearsEnum courseOfActionIfDialogAppears, WebBrowserTypeEnum webBrowserType)
at Robin.Modules.WebAutomation.Actions.WebAutomationRuntime.CreateNewTab(WebBrowserInstanceVariant webBrowserInstanceVariant, TextVariant urlToNavigateTo, Boolean waitForPageToLoad, TextVariant dialogButtonToPress, WebPageCourseOfActionIfDialogAppearsEnum courseOfActionIfDialogAppears)
at Robin.Modules.WebAutomation.Actions.WebAutomationActions.CreateNewTab(Variant webBrowserInstance, Variant urlToNavigateTo, Variant dialogButtonToPress, Variant& newWebBrowserInstance, Boolean waitForWebPageToLoad, Int32 courseOfActionIfDialogAppears)
--- End of inner exception stack trace ---
at Robin.Modules.WebAutomation.Actions.CreateNewTabBase.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)

 

Does anyone know why it isn't recognizing that is has created a new tab?

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @EdBay  did you install and enable PowerAutomate extensions in chrome browser?

  • EdBay Profile Picture
    2 on at

    I did. The "Launch new Instance of Chrome" step in the flow works and so does the "Open new tab" step within the loop. But for some reason, despite it successfully opening a new tab within chrome, it throws the error that it "Failed to create a new tab" and stops running.

  • Bristolizer Profile Picture
    17 on at

    @EdBay I am having the same issue. Did you happen to find a solution?

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 267 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 196

#3
Haque Profile Picture

Haque 182

Last 30 days Overall leaderboard