RPA Browser initialization failure

Certified Associate Developer

Hi everyone,

please can anyone guide me through RPA browser Selenium recording ? I have  "Browser initialization failure" error after recording browser with Selenium " . I have no idea what steps to follow in the RPA to solve this issue. The screenshots are attached. 

Thank you in advance .

  Discussion posts and replies are publicly visible

  • 0
    Certified Associate Developer

    The process now got hanged here after i changed the Google Chrome webDriver version : 

  • 0
    Certified Associate Developer
    in reply to olalekana0448

    The previous Execution log for anyone that wants to help :

    Execution log 
     View full trace
    [INFO] 2021-07-06 13:52:38 - - Robot 'TrainingBot' (60d598b3e4b036fc57314aae), execution #8, technology JAVA, start method CONSOLE, log level TRACE, testing mode is OFF, external workflow is OFF, user olalekan.adebayo
    [INFO] 2021-07-06 13:52:38 - - Robot will run with following parameters:
    [INFO] 2021-07-06 13:52:38 - - Parameter 'endCity', value 'Frankfurt/Main International' (default value 'Frankfurt/Main International')
    [INFO] 2021-07-06 13:52:38 - - Parameter 'flightNumber', value '1157' (default value '1157')
    [INFO] 2021-07-06 13:52:38 - - Parameter 'lufthansaWebsite', value 'www.lufthansa.com/.../timetable-and-flight-status (default value 'www.lufthansa.com/.../timetable-and-flight-status
    [INFO] 2021-07-06 13:52:38 - - Parameter 'startAirport', value 'Hamburg, all airports' (default value 'Hamburg, all airports')
    [INFO] 2021-07-06 13:52:39 - - Parameter 'startCity', value 'Hamburg, all airports' (default value 'Hamburg, all airports')
    [INFO] 2021-07-06 13:52:39 - - Robot without environment variables
    [INFO] 2021-07-06 13:52:39 - - Waiting for a node
    [INFO] 2021-07-06 13:52:43 - - Node selected was Training2_Resource (60dee963e4b036fc57314ac3#1), permissions: training
    [INFO] 2021-07-06 13:52:43 - - Agent version 7.8.0, revision 21051812
    [INFO] 2021-07-06 13:52:43 - - Memory: free 30.62Mb, reserved 57.543Mb (23%), limit 247.5Mb, maximum 247.5Mb
    [INFO] 2021-07-06 13:52:43 - - Disk: free 13.594Gb (11%), total 117.545Gb
    [INFO] 2021-07-06 13:52:45 - - Processing libraries
    [INFO] 2021-07-06 13:52:45 - - Checking #92 libraries
    [INFO] 2021-07-06 13:52:45 - - Sending #1 of #1 libraries
    [INFO] 2021-07-06 13:52:45 - - Assembling class com.appian.robot.core.template.RobotBrowserTemplate version 0.0.1
    [INFO] 2021-07-06 13:52:45 - - Processing 6 variables
    [INFO] 2021-07-06 13:52:45 - - Processing support files
    [INFO] 2021-07-06 13:52:46 - - Processing support file 'chromeWebDriver/chromedriver.exe'
    [STAT] 2021-07-06 13:52:52 - - <ACTION_START> - Start action 'start' - 'Start' // dur: - - avg: - etc:
    [STAT] 2021-07-06 13:52:52 - - <NUMBER_OF_ITEMS> - #1 of total items // dur: - - avg: - etc:
    [STAT] 2021-07-06 13:52:52 - - <ACTION_END> - End action 'start' - 'Start' (transition through '' to 'section-a711aee4-b8b0-4fb0-b145-be403bcbf9cb') // dur: - - avg: - etc:
    [STAT] 2021-07-06 13:52:52 - - <ACTION_START> - Start action 'execution->log' - 'Init' // dur: - - avg: - etc:
    [INFO] 2021-07-06 13:52:52 - - Start of section lufthansaAirlineSearch
    [STAT] 2021-07-06 13:52:53 - - <ACTION_END> - End action 'execution->log' - 'Init' (transition through '' to 'browser->open-browser') // dur: - - avg: - etc:
    [STAT] 2021-07-06 13:52:53 - - <ACTION_START> - Start action 'browser->open-browser' - 'Open browser' // dur: - - avg: - etc:
    [INFO] 2021-07-06 13:52:53 - - Detected SO: WINDOWS
    [DEBUG] 2021-07-06 13:52:53 - - Driver file: C:\Users\cristian.rotar\Desktop\Appian\.\Jidoka-workspace\60d598b3e4b036fc57314aae\.\chromeWebDriver\chromedriver.exe
    [DEBUG] 2021-07-06 13:52:53 - - Using default module Chrome options
    [DEBUG] 2021-07-06 13:53:02 10s (0h) - Browser version:
    [DEBUG] 2021-07-06 13:53:02 10s (0h) - Driver version: {chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=C:\Users\CRISTI~1.ROT\AppData\Local\Temp\scoped_dir20844_834628395}
    [DEBUG] 2021-07-06 13:53:02 10s (0h) - New page load timeout established: 60
    [DEBUG] 2021-07-06 13:53:02 10s (0h) - Navigating to www.lufthansa.com/.../timetable-and-flight-status
    [DEBUG] 2021-07-06 13:53:17 25s (0h) - Navigation finished
    [STAT] 2021-07-06 13:53:17 25s (0h) - <ACTION_END> - End action 'browser->open-browser' - 'Open browser' (transition through '' to 'common-actions->take-screenshot') // dur: 24s - avg: - etc:
    [STAT] 2021-07-06 13:53:17 25s (0h) - <ACTION_START> - Start action 'common-actions->take-screenshot' - 'Open browser' // dur: - - avg: - etc:
    [SCREENSHOT] 2021-07-06 13:53:23 31s (0h) - <SCREENSHOT> - Screen captured with file name "Screen-2021-07-06-13h53m23s.586.png". Description: "Action-end screenshot"
    [STAT] 2021-07-06 13:53:23 31s (0h) - <ACTION_END> - End action 'common-actions->take-screenshot' - 'Open browser' (transition through '' to 'browser->interact-with-element-v2') // dur: 05s - avg: - etc:
    [STAT] 2021-07-06 13:53:23 31s (0h) - <ACTION_START> - Start action 'browser->interact-with-element-v2' - 'Interact with element' // dur: - - avg: - etc:
    [DEBUG] 2021-07-06 13:53:24 32s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #1 of #60
    [DEBUG] 2021-07-06 13:53:25 33s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #2 of #60
    [DEBUG] 2021-07-06 13:53:26 34s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #3 of #60
    [DEBUG] 2021-07-06 13:53:27 35s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #4 of #60
    [DEBUG] 2021-07-06 13:53:28 36s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #5 of #60
    [DEBUG] 2021-07-06 13:53:29 37s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #6 of #60
    [DEBUG] 2021-07-06 13:53:30 38s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #7 of #60
    [DEBUG] 2021-07-06 13:53:31 39s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #8 of #60
    [DEBUG] 2021-07-06 13:53:32 40s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #9 of #60
    [DEBUG] 2021-07-06 13:53:34 41s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #10 of #60
    [DEBUG] 2021-07-06 13:53:35 42s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #11 of #60
    [DEBUG] 2021-07-06 13:53:36 43s (0h) - Waiting for condition "Element [By.id: dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber]", try #12 of #60
    [WARN] 2021-07-06 13:53:48 56s (0h) - Method manageException invoked
    [ERROR] 2021-07-06 13:53:48 56s (0h) - java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.novayre.jidoka.client.RobotClientExecutor.invokeMethod(RobotClientExecutor.java:1615)
        at com.novayre.jidoka.client.RobotClientExecutor.workflow(RobotClientExecutor.java:665)
        at com.novayre.jidoka.client.ETechnologyClient.internalRunJava(ETechnologyClient.java:263)
        at com.novayre.jidoka.client.ETechnologyClient.runJava(ETechnologyClient.java:240)
        at com.novayre.jidoka.client.ETechnologyClient.lambda$static$1(ETechnologyClient.java:36)
        at com.novayre.jidoka.client.ETechnologyClient.run(ETechnologyClient.java:95)
        at com.novayre.jidoka.client.RobotClientExecutor.tryExecute(RobotClientExecutor.java:327)
        at com.novayre.jidoka.client.RobotClientExecutor.execute(RobotClientExecutor.java:210)
        at com.novayre.jidoka.client.ResponseHandler.execute(ResponseHandler.java:296)
        at com.novayre.jidoka.client.ResponseHandler.robotDeclaredResponse(ResponseHandler.java:252)
        at com.novayre.jidoka.client.ResponseHandler.onMessage(ResponseHandler.java:146)
        at com.novayre.jidoka.client.ClientManager.processResponse(ClientManager.java:1674)
        at com.novayre.jidoka.client.ClientManager.internalSendCommandRetry(ClientManager.java:1375)
        at com.novayre.jidoka.client.ClientManager.internalSendCommand(ClientManager.java:1241)
        at com.novayre.jidoka.client.ClientManager.sendCommand(ClientManager.java:1064)
        at com.novayre.jidoka.client.ClientManager.sendCommand(ClientManager.java:1050)
        at com.novayre.jidoka.client.ClientManager.loop(ClientManager.java:1039)
        at com.novayre.jidoka.client.ClientManager.realConnectToServer(ClientManager.java:923)
        at com.novayre.jidoka.client.ClientManager.connectToServer(ClientManager.java:881)
        at com.novayre.jidoka.client.JidokaClient.connect(JidokaClient.java:960)
        at com.novayre.jidoka.client.JidokaClient.mainLoop(JidokaClient.java:544)
        at com.novayre.jidoka.client.JidokaClient.run(JidokaClient.java:530)
        at com.novayre.jidoka.client.JidokaClient.main(JidokaClient.java:375)
    Caused by: com.novayre.jidoka.client.api.exceptions.JidokaException: Error invoking method 'browser->interact-with-element-v2'
        at com.novayre.jidoka.client.RobotClientExecutor.invokeMethod(RobotClientExecutor.java:1335)
        at com.novayre.jidoka.client.RobotClientExecutor.internalCallAction(RobotClientExecutor.java:727)
        at com.novayre.jidoka.client.RobotClientExecutor.workflow(RobotClientExecutor.java:623)
        ... 21 more
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.novayre.jidoka.client.RobotClientExecutor.invokeSDKMethod(RobotClientExecutor.java:1400)
        at com.novayre.jidoka.client.RobotClientExecutor.internalInvokeMethod(RobotClientExecutor.java:1356)
        at com.novayre.jidoka.client.RobotClientExecutor.invokeMethod(RobotClientExecutor.java:1318)
        ... 23 more
    Caused by: org.openqa.selenium.WebDriverException: chrome not reachable
    (Session info: chrome=91.0.4472.124)
    Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
    System info: host: 'CPX-M4KVWPDJUX1', ip: '192.168.0.28', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_291'
    Driver info: org.openqa.selenium.chrome.ChromeDriver
    Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 91.0.4472.124, chrome: {chromedriverVersion: 91.0.4472.101 (af52a90bf870..., userDataDir: C:\Users\CRISTI~1.ROT\AppDa...}, goog:chromeOptions: {debuggerAddress: localhost:52204}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
    Session ID: 582be40ae9a7fdf22605c2a41e550b6a
    *** Element info: {Using=id, value=dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber}
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
        at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
        at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
        at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:353)
        at org.openqa.selenium.remote.RemoteWebDriver.findElementsById(RemoteWebDriver.java:376)
        at org.openqa.selenium.By$ById.findElements(By.java:180)
        at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:311)
        at com.novayre.jidoka.browser.impl.WebBrowserSupport.lambda$waitElements$4(WebBrowserSupport.java:1027)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitIteration(JidokaRobot.java:498)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitCondition(JidokaRobot.java:405)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitCondition(JidokaRobot.java:384)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitCondition(JidokaRobot.java:370)
        at com.novayre.jidoka.browser.impl.WebBrowserSupport.waitElements(WebBrowserSupport.java:1023)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.waitElements(WebBrowserSupportV2.java:72)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.interactWithElement(WebBrowserSupportV2.java:479)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.interactWithElement(WebBrowserSupportV2.java:394)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.interactWithElementV2(WebBrowserSupportV2.java:407)
        ... 30 more

    [ERROR] 2021-07-06 13:53:48 56s (0h) - java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.novayre.jidoka.client.RobotClientExecutor.invokeMethod(RobotClientExecutor.java:1615)
        at com.novayre.jidoka.client.RobotClientExecutor.workflow(RobotClientExecutor.java:665)
        at com.novayre.jidoka.client.ETechnologyClient.internalRunJava(ETechnologyClient.java:263)
        at com.novayre.jidoka.client.ETechnologyClient.runJava(ETechnologyClient.java:240)
        at com.novayre.jidoka.client.ETechnologyClient.lambda$static$1(ETechnologyClient.java:36)
        at com.novayre.jidoka.client.ETechnologyClient.run(ETechnologyClient.java:95)
        at com.novayre.jidoka.client.RobotClientExecutor.tryExecute(RobotClientExecutor.java:327)
        at com.novayre.jidoka.client.RobotClientExecutor.execute(RobotClientExecutor.java:210)
        at com.novayre.jidoka.client.ResponseHandler.execute(ResponseHandler.java:296)
        at com.novayre.jidoka.client.ResponseHandler.robotDeclaredResponse(ResponseHandler.java:252)
        at com.novayre.jidoka.client.ResponseHandler.onMessage(ResponseHandler.java:146)
        at com.novayre.jidoka.client.ClientManager.processResponse(ClientManager.java:1674)
        at com.novayre.jidoka.client.ClientManager.internalSendCommandRetry(ClientManager.java:1375)
        at com.novayre.jidoka.client.ClientManager.internalSendCommand(ClientManager.java:1241)
        at com.novayre.jidoka.client.ClientManager.sendCommand(ClientManager.java:1064)
        at com.novayre.jidoka.client.ClientManager.sendCommand(ClientManager.java:1050)
        at com.novayre.jidoka.client.ClientManager.loop(ClientManager.java:1039)
        at com.novayre.jidoka.client.ClientManager.realConnectToServer(ClientManager.java:923)
        at com.novayre.jidoka.client.ClientManager.connectToServer(ClientManager.java:881)
        at com.novayre.jidoka.client.JidokaClient.connect(JidokaClient.java:960)
        at com.novayre.jidoka.client.JidokaClient.mainLoop(JidokaClient.java:544)
        at com.novayre.jidoka.client.JidokaClient.run(JidokaClient.java:530)
        at com.novayre.jidoka.client.JidokaClient.main(JidokaClient.java:375)
    Caused by: com.novayre.jidoka.client.api.exceptions.JidokaException: Error invoking method 'browser->interact-with-element-v2'
        at com.novayre.jidoka.client.RobotClientExecutor.invokeMethod(RobotClientExecutor.java:1335)
        at com.novayre.jidoka.client.RobotClientExecutor.internalCallAction(RobotClientExecutor.java:727)
        at com.novayre.jidoka.client.RobotClientExecutor.workflow(RobotClientExecutor.java:623)
        ... 21 more
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.novayre.jidoka.client.RobotClientExecutor.invokeSDKMethod(RobotClientExecutor.java:1400)
        at com.novayre.jidoka.client.RobotClientExecutor.internalInvokeMethod(RobotClientExecutor.java:1356)
        at com.novayre.jidoka.client.RobotClientExecutor.invokeMethod(RobotClientExecutor.java:1318)
        ... 23 more
    Caused by: org.openqa.selenium.WebDriverException: chrome not reachable
    (Session info: chrome=91.0.4472.124)
    Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
    System info: host: 'CPX-M4KVWPDJUX1', ip: '192.168.0.28', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_291'
    Driver info: org.openqa.selenium.chrome.ChromeDriver
    Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 91.0.4472.124, chrome: {chromedriverVersion: 91.0.4472.101 (af52a90bf870..., userDataDir: C:\Users\CRISTI~1.ROT\AppDa...}, goog:chromeOptions: {debuggerAddress: localhost:52204}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
    Session ID: 582be40ae9a7fdf22605c2a41e550b6a
    *** Element info: {Using=id, value=dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber}
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
        at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
        at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
        at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:353)
        at org.openqa.selenium.remote.RemoteWebDriver.findElementsById(RemoteWebDriver.java:376)
        at org.openqa.selenium.By$ById.findElements(By.java:180)
        at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:311)
        at com.novayre.jidoka.browser.impl.WebBrowserSupport.lambda$waitElements$4(WebBrowserSupport.java:1027)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitIteration(JidokaRobot.java:498)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitCondition(JidokaRobot.java:405)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitCondition(JidokaRobot.java:384)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitCondition(JidokaRobot.java:370)
        at com.novayre.jidoka.browser.impl.WebBrowserSupport.waitElements(WebBrowserSupport.java:1023)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.waitElements(WebBrowserSupportV2.java:72)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.interactWithElement(WebBrowserSupportV2.java:479)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.interactWithElement(WebBrowserSupportV2.java:394)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.interactWithElementV2(WebBrowserSupportV2.java:407)
        ... 30 more

    [INFO] 2021-07-06 13:53:48 56s (0h) - Start of robot low-code Cleanup
    [STAT] 2021-07-06 13:53:48 56s (0h) - <ACTION_START> - Start action '[no-action]' - 'start' // dur: - - avg: - etc:
    [STAT] 2021-07-06 13:53:48 56s (0h) - <ACTION_END> - End action '[no-action]' - 'start' (transition through '' to 'operating-system->end-process') // dur: - - avg: - etc:
    [STAT] 2021-07-06 13:53:48 56s (0h) - <ACTION_START> - Start action 'operating-system->end-process' - 'Close All Processes|' // dur: - - avg: - etc:
    [DEBUG] 2021-07-06 13:54:10 01m 18s (0h) - No process found with name
    [STAT] 2021-07-06 13:54:10 01m 18s (0h) - <ACTION_END> - End action 'operating-system->end-process' - 'Close All Processes|' (transition through '' to '[no-action]') // dur: 21s - avg: - etc:
    [STAT] 2021-07-06 13:54:10 01m 18s (0h) - <ACTION_START> - Start action '[no-action]' - 'end' // dur: - - avg: - etc:
    [STAT] 2021-07-06 13:54:10 01m 18s (0h) - <ACTION_END> - End action '[no-action]' - 'end' (transition through '' to '') // dur: - - avg: - etc:
    [INFO] 2021-07-06 13:54:10 01m 18s (0h) - End of robot low-code Cleanup
    [INFO] 2021-07-06 13:54:10 01m 18s (0h) - Start of libraries Cleanup
    [INFO] 2021-07-06 13:54:10 01m 18s (0h) - End of libraries Cleanup
    [INFO] 2021-07-06 13:54:10 01m 18s (0h) - Start of robot java Cleanup
    [INFO] 2021-07-06 13:54:11 01m 19s (0h) - End of robot java Cleanup
    [ERROR] 2021-07-06 13:54:11 01m 19s (0h) - Exception thrown on agent...
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.novayre.jidoka.client.RobotClientExecutor.invokeMethod(RobotClientExecutor.java:1615)
        at com.novayre.jidoka.client.RobotClientExecutor.workflow(RobotClientExecutor.java:665)
        at com.novayre.jidoka.client.ETechnologyClient.internalRunJava(ETechnologyClient.java:263)
        at com.novayre.jidoka.client.ETechnologyClient.runJava(ETechnologyClient.java:240)
        at com.novayre.jidoka.client.ETechnologyClient.lambda$static$1(ETechnologyClient.java:36)
        at com.novayre.jidoka.client.ETechnologyClient.run(ETechnologyClient.java:95)
        at com.novayre.jidoka.client.RobotClientExecutor.tryExecute(RobotClientExecutor.java:327)
        at com.novayre.jidoka.client.RobotClientExecutor.execute(RobotClientExecutor.java:210)
        at com.novayre.jidoka.client.ResponseHandler.execute(ResponseHandler.java:296)
        at com.novayre.jidoka.client.ResponseHandler.robotDeclaredResponse(ResponseHandler.java:252)
        at com.novayre.jidoka.client.ResponseHandler.onMessage(ResponseHandler.java:146)
        at com.novayre.jidoka.client.ClientManager.processResponse(ClientManager.java:1674)
        at com.novayre.jidoka.client.ClientManager.internalSendCommandRetry(ClientManager.java:1375)
        at com.novayre.jidoka.client.ClientManager.internalSendCommand(ClientManager.java:1241)
        at com.novayre.jidoka.client.ClientManager.sendCommand(ClientManager.java:1064)
        at com.novayre.jidoka.client.ClientManager.sendCommand(ClientManager.java:1050)
        at com.novayre.jidoka.client.ClientManager.loop(ClientManager.java:1039)
        at com.novayre.jidoka.client.ClientManager.realConnectToServer(ClientManager.java:923)
        at com.novayre.jidoka.client.ClientManager.connectToServer(ClientManager.java:881)
        at com.novayre.jidoka.client.JidokaClient.connect(JidokaClient.java:960)
        at com.novayre.jidoka.client.JidokaClient.mainLoop(JidokaClient.java:544)
        at com.novayre.jidoka.client.JidokaClient.run(JidokaClient.java:530)
        at com.novayre.jidoka.client.JidokaClient.main(JidokaClient.java:375)
    Caused by: com.novayre.jidoka.client.api.exceptions.JidokaException: Error invoking method 'browser->interact-with-element-v2'
        at com.novayre.jidoka.client.RobotClientExecutor.invokeMethod(RobotClientExecutor.java:1335)
        at com.novayre.jidoka.client.RobotClientExecutor.internalCallAction(RobotClientExecutor.java:727)
        at com.novayre.jidoka.client.RobotClientExecutor.workflow(RobotClientExecutor.java:623)
        ... 21 more
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.novayre.jidoka.client.RobotClientExecutor.invokeSDKMethod(RobotClientExecutor.java:1400)
        at com.novayre.jidoka.client.RobotClientExecutor.internalInvokeMethod(RobotClientExecutor.java:1356)
        at com.novayre.jidoka.client.RobotClientExecutor.invokeMethod(RobotClientExecutor.java:1318)
        ... 23 more
    Caused by: org.openqa.selenium.WebDriverException: chrome not reachable
    (Session info: chrome=91.0.4472.124)
    Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
    System info: host: 'CPX-M4KVWPDJUX1', ip: '192.168.0.28', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_291'
    Driver info: org.openqa.selenium.chrome.ChromeDriver
    Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 91.0.4472.124, chrome: {chromedriverVersion: 91.0.4472.101 (af52a90bf870..., userDataDir: C:\Users\CRISTI~1.ROT\AppDa...}, goog:chromeOptions: {debuggerAddress: localhost:52204}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
    Session ID: 582be40ae9a7fdf22605c2a41e550b6a
    *** Element info: {Using=id, value=dcep-a7018fd51-9408-4644-8c71-3bf4fdb8a87f-flightstatus-flightnumber-flightStatusByFlightNumberRequest.flightNumber}
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
        at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
        at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
        at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
        at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
        at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:353)
        at org.openqa.selenium.remote.RemoteWebDriver.findElementsById(RemoteWebDriver.java:376)
        at org.openqa.selenium.By$ById.findElements(By.java:180)
        at org.openqa.selenium.remote.RemoteWebDriver.findElements(RemoteWebDriver.java:311)
        at com.novayre.jidoka.browser.impl.WebBrowserSupport.lambda$waitElements$4(WebBrowserSupport.java:1027)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitIteration(JidokaRobot.java:498)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitCondition(JidokaRobot.java:405)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitCondition(JidokaRobot.java:384)
        at com.novayre.jidoka.client.impl.JidokaRobot.waitCondition(JidokaRobot.java:370)
        at com.novayre.jidoka.browser.impl.WebBrowserSupport.waitElements(WebBrowserSupport.java:1023)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.waitElements(WebBrowserSupportV2.java:72)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.interactWithElement(WebBrowserSupportV2.java:479)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.interactWithElement(WebBrowserSupportV2.java:394)
        at com.novayre.jidoka.browser.impl.WebBrowserSupportV2.interactWithElementV2(WebBrowserSupportV2.java:407)
        ... 30 more

    [INFO] 2021-07-06 13:54:11 01m 19s (0h) - Memory: free 52.677Mb, reserved 115.078Mb (46%), limit 247.5Mb, maximum 247.5Mb
    [INFO] 2021-07-06 13:54:11 01m 19s (0h) - Disk: free 13.571Gb (11%), total 117.545Gb
    [INFO] 2021-07-06 13:54:11 01m 19s (0h) - Memory difference: free 22.057Mb, reserved 57.535Mb (23%)
    [INFO] 2021-07-06 13:54:11 01m 19s (0h) - Disk difference: free -23.551Mb (0%)
    [INFO] 2021-07-06 13:54:11 01m 19s (0h) -
    ****************************************************************************************************
    Total number of items: #1
    Result #Items
    ----------------------------------------------------------------------------------------------------
    Result Duration #Index Item Key (Detail) [Properties]
    ****************************************************************************************************
  • Seems to be an issue with the driver. I recommend deleting the driver from the .jidoka-workspace folder on your resource and running the bot again so it gets a fresh download

  • 0
    Certified Associate Developer
    in reply to Danny Verb

    Thanks a lot Danny for your response. The driver is not the problem.  The RPA gets stuck because the BOT could not perform some of the tasks trained in the Selenium. For example, there is a step that was not included during the Selenium recording but which is the Bot has to perform for the RPA to continue.  Here is the screenshot:

    I do not have the privacy page when I visit the site, only when the Bot visits the site does this privacy page shows. Here is my screenshot when I visit the page:

    Can anyone help on how I can include this privacy settings page on the already trained steps in Selenium? 

    Thank you in advance for your help.

  • If you can only see it when the robot runs, I recommend having the robot run up to that point and then use the browser tools on the page to copy the id, selector, or xpath

  • 0
    Certified Associate Developer
    in reply to Danny Verb

    Please can you send a link to the documentation that explains that in details. Thank you. I only see that because the Bot take screenshot. It does not show it interactively.