Robotic Process Automation (RPA)

 View Only

Execution Filed with Error

  • 1.  Execution Filed with Error

    Posted Mon June 12, 2023 04:51 AM

    Hi,

    Sometimes I received an execution filed with an error. The error is:

    System.Exception: Fail to start Chrome navigator ---> System.InvalidOperationException: session not created from no such execution context: uniqueContextId not found(Session info: chrome=114.0.5735.110) (SessionNotCreated)at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)at WDG.Automation.Browser.AutomationChromeBrowser.GetWebDriverInstance(DriverService driverService, DriverOptions driverOptions)at WDG.Automation.Browser.AutomationChromiumBrowser`1.<Initialize>d__16.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at WDG.Automation.Browser.AutomationChromeBrowser.<CreateInstance>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at WDG.Automation.Browser.BrowserInstance.<CreateAutomationBrowser>d__3.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at WDG.Automation.Browser.BrowserInstance.<CreateBrowserInstace>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at WDG.Automation.Browser.WebStartCommand.<CreateBrowser>d__84.MoveNext() --- End of inner exception stack trace --- at WDG.Automation.Browser.WebStartCommand.<CreateBrowser>d__84.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)at WDG.Automation.Browser.WebStartCommand.<Execute>d__83.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()

    Could you help me what is the reason?

    Thank you in advance.



    ------------------------------
    Stanislav Terziev
    ------------------------------