cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EdBay
New Member

Web automation failed to create new tab?

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?

3 REPLIES 3
sakula1996
Responsive Resident
Responsive Resident

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

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.

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

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (2,632)