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?