Hi Pedro, thanks for your suggestion.
Had check on the destination website, however it seems there is no iframe in the page itself.
Original Message:
Sent: Tue September 20, 2022 11:29 AM
From: Pedro Botolli Santos
Subject: Browser Chrome Failed on RPA v21.0.3
Hi Janis,
I've had this same problem trying to create robots that access government websites (some block robot access), the way around the problem probably doesn't work for all cases, but I'll explain my case so that if yours is similar you can get an idea of what can be done:
The site that I was trying to navigate with the robot makes several requests internally to consolidate everything in a single page, being only a piece (iframe) of this page important for the robot (the part that has the information that the robot must obtain), the problem was solved by identifying the direct url for this iframe (using chrome's DevTools) and configuring the robot to access it directly.
------------------------------
Pedro Botolli Santos
Original Message:
Sent: Fri September 09, 2022 11:21 PM
From: Janis Giovani Tan
Subject: Browser Chrome Failed on RPA v21.0.3
Hi, recently upgrade IBM RPA to v21.0.3 on Premises, on Windows Server 2019 Standard
However there is an intermittent error while running the script on RPA studio, attended, and unattended bot. The error seems related with the broswer itself, the chrome version is 98.0.4758.102
FYI, the computer does have internet access.
There are a few things that has been configured as suggested:
1. Manual Install WebDriver, referring to the guideline https://www.ibm.com/docs/en/rpa/21.0?topic=tutorials-running-bot-in-environment-without-internet-access
2. Add chrome driver C:\Windows\System32\config\systemprofile\AppData\Local\WDG Automation\packages\21.0.3.0
3. Add chrome driver to C:\Users\<user>\AppData\Local\IBM Robotic Process Automation\packages\21.0.3.0
However the error seems to still hapening. Please find the error message below:
[9/10/2022 10:36:01 AM] [19] [ERROR] - The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds.
[9/10/2022 10:36:01 AM] [18] [ERROR] - Runtime return error: OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
--- End of inner exception stack trace ---
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at WDG.Automation.Browser.SeleniumBrowser.Navigate(String url)
at WDG.Automation.Browser.BrowserInstance.<>c__DisplayClass36_0.<Navigate>b__0()
at WDG.Automation.Browser.BrowserInstance.HandleStaleElement(Action action, Single timeout)
at WDG.Automation.Browser.WebNavigateCommand.Execute(BrowserContext context)
--- 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()
[9/10/2022 10:35:57 AM] [17] [ERROR] - Error executing script
[9/10/2022 10:35:57 AM] [16] [ERROR] - Error executing script
[9/10/2022 10:35:57 AM] [15] [ERROR] - WDG.Automation.Language.RuntimeException: Error executing command at line 122: webNavigate --url "${powerBiURL}" ---> OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
--- End of inner exception stack trace ---
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at WDG.Automation.Browser.SeleniumBrowser.Navigate(String url)
at WDG.Automation.Browser.BrowserInstance.<>c__DisplayClass36_0.<Navigate>b__0()
at WDG.Automation.Browser.BrowserInstance.HandleStaleElement(Action action, Single timeout)
at WDG.Automation.Browser.WebNavigateCommand.Execute(BrowserContext context)
--- 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()
--- End of inner exception stack trace ---
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()
--- 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.Language.ScriptInterpreter.<<RunAsync>b__16_0>d.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.AsyncHelper.<>c__DisplayClass5_0.<<StartSTASingleThreaded>b__1>d.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.AsyncHelper.RunSingleThreaded(Func`1 action)
at WDG.AsyncHelper.<>c__DisplayClass4_0.<Start>b__0()
--- 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.Language.ScriptInterpreter.<RunAsync>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.Base.ExecuteScriptCommand.<Execute>d__29.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()
---> (Inner Exception #0) OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
--- End of inner exception stack trace ---
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at WDG.Automation.Browser.SeleniumBrowser.Navigate(String url)
at WDG.Automation.Browser.BrowserInstance.<>c__DisplayClass36_0.<Navigate>b__0()
at WDG.Automation.Browser.BrowserInstance.HandleStaleElement(Action action, Single timeout)
at WDG.Automation.Browser.WebNavigateCommand.Execute(BrowserContext context)
--- 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()<---
[9/10/2022 10:35:28 AM] [14] [ERROR] - Error executing script
[9/10/2022 10:35:28 AM] [13] [ERROR] - OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.
at System.Net.HttpWebRequest.GetResponse()
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
--- End of inner exception stack trace ---
at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at WDG.Automation.Browser.SeleniumBrowser.Navigate(String url)
at WDG.Automation.Browser.BrowserInstance.<>c__DisplayClass36_0.<Navigate>b__0()
at WDG.Automation.Browser.BrowserInstance.HandleStaleElement(Action action, Single timeout)
at WDG.Automation.Browser.WebNavigateCommand.Execute(BrowserContext context)
--- 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()
------------------------------
Janis Giovani Tan
------------------------------