Problem with Open URL action in Firefox

logs.zip (35.0 KB) wfagent_logs.zip (1.4 MB) I receive the following error while trying to open a URL in Firefox using OpenURLAction in RPA Express. I have also attached the logs for the same.

Blockquote
Error executing OpenURLAction
com.workfusion.studio.rpa.recorder.playback.PlaybackException: Error executing TemplateAction[templateName=OpenURLAction.ftl,id=36,name=Optional[OpenURLAction],parent=-1,children=[37, 38, 48, 57, 58, 462, 2363, 4248, 6133, 8018],arguments=ActionArguments[delay=[0],xsi:type=[recorder:OpenURLAction, recorder:OpenURLAction],waitTimeout=[30000],pollingInterval=[300],active=[true],comment=[Opening Cvs Precima Portal],actionDetails=[(https://cvs.precima.io/login)],url=[https://cvs.precima.io/login],awaitTimeout=[5000]]]
at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:54)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:28)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:15)
at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:64)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:152)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:112)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.NoSuchSessionException:
Build info: version: ‘9.1.0.0’, revision: ‘fd814778f3’, time: ‘2018-08-23T11:59:12.788Z’
System info: host: ‘M-CP-D-TEAM1’, ip: ‘172.16.28.38’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_121’
Driver info: driver.version: UniversalDriver
remote stacktrace: WebDriverError@chrome://marionette/content/error.js:227:5
InvalidSessionIDError@chrome://marionette/content/error.js:382:5
assert.that/<@chrome://marionette/content/assert.js:383:13
assert.session@chrome://marionette/content/assert.js:49:3
execute/req<@chrome://marionette/content/server.js:536:9
TaskImpl_run@resource://gre/modules/Task.jsm:331:42
TaskImpl@resource://gre/modules/Task.jsm:280:3
asyncFunction@resource://gre/modules/Task.jsm:252:14
Task_spawn@resource://gre/modules/Task.jsm:166:12
execute@chrome://marionette/content/server.js:529:15
onPacket@chrome://marionette/content/server.js:500:7
_onJSONObjectReady/<@chrome://marionette/content/transport.js:501:9

Command duration or timeout: 0 milliseconds
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:41)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:82)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:45)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:723)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:385)
at com.workfusion.rpa.helpers.RPA.openFirefox(RPA.java:470)
at com.workfusion.rpa.helpers.RPA$openFirefox$1.callStatic(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:206)
at Script2.run(Script2.groovy:10)
at com.workfusion.studio.rpa.recorder.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:48)
at com.workfusion.studio.rpa.recorder.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:33)
at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:28)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:15)
at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:64)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:152)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:112)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.NoSuchSessionException:
Build info: version: ‘9.1.0.0’, revision: ‘fd814778f3’, time: ‘2018-08-23T11:59:12.788Z’
System info: host: ‘M-CP-D-TEAM1’, ip: ‘172.16.28.38’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_121’
Driver info: driver.version: UniversalDriver
remote stacktrace: WebDriverError@chrome://marionette/content/error.js:227:5
InvalidSessionIDError@chrome://marionette/content/error.js:382:5
assert.that/<@chrome://marionette/content/assert.js:383:13
assert.session@chrome://marionette/content/assert.js:49:3
execute/req<@chrome://marionette/content/server.js:536:9
TaskImpl_run@resource://gre/modules/Task.jsm:331:42
TaskImpl@resource://gre/modules/Task.jsm:280:3
asyncFunction@resource://gre/modules/Task.jsm:252:14
Task_spawn@resource://gre/modules/Task.jsm:166:12
execute@chrome://marionette/content/server.js:529:15
onPacket@chrome://marionette/content/server.js:500:7
_onJSONObjectReady/<@chrome://marionette/content/transport.js:501:9

Build info: version: ‘9.1.0.0’, revision: ‘fd814778f3’, time: ‘2018-08-23T11:59:12.788Z’
System info: host: ‘M-CP-D-TEAM1’, ip: ‘172.16.28.38’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_121’
Driver info: driver.version: UniversalDriver
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$new$0(W3CHandshakeResponse.java:57)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$getResponseFunction$2(W3CHandshakeResponse.java:104)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$24(ProtocolHandshake.java:359)
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
at java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:126)
at java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:498)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:152)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:464)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:362)
at org.openqa.selenium.remote.server.ServicedSession$Factory.apply(ServicedSession.java:211)
at org.openqa.selenium.remote.server.ActiveSessionFactory.lambda$createSession$16(ActiveSessionFactory.java:171)
at java.util.Optional.map(Optional.java:215)
at org.openqa.selenium.remote.server.ActiveSessionFactory.createSession(ActiveSessionFactory.java:171)
at com.workfusion.universal.factory.UniversalDriverFactory.createDriverSession(UniversalDriverFactory.java:58)
at com.workfusion.universal.factory.UniversalDriverFactory.createDriver(UniversalDriverFactory.java:38)
at com.workfusion.universal.state.UniversalDriverState.lambda$createWebDriverIfNotExists$0(UniversalDriverState.java:118)
at java.util.HashMap.computeIfAbsent(HashMap.java:1126)
at com.workfusion.universal.state.UniversalDriverState.createWebDriverIfNotExists(UniversalDriverState.java:118)
at com.workfusion.universal.driver.UniversalDriver.get(UniversalDriver.java:45)
at org.openqa.selenium.remote.server.handler.GetBrowser.call(GetBrowser.java:43)
at org.openqa.selenium.remote.server.handler.GetBrowser.call(GetBrowser.java:25)
at org.openqa.selenium.remote.server.handler.WebDriverHandler.handle(WebDriverHandler.java:41)
at org.openqa.selenium.remote.server.rest.ResultConfig.handle(ResultConfig.java:133)
at org.openqa.selenium.remote.server.JsonHttpCommandHandler.handleRequest(JsonHttpCommandHandler.java:204)
at org.openqa.selenium.remote.server.InMemorySession.execute(InMemorySession.java:98)
at org.openqa.selenium.remote.server.WebDriverServlet.lambda$handle$0(WebDriverServlet.java:231)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Blockquote

@arar96 you are using quite an old version of software, so it is possible that Gecko driver has updated.
Try changing it to the version of the driver compatible with your Firefox version. Here is the instruction:
https://kb.workfusion.com/display/RPAe/Troubleshooting#expand-ErrorexecutingWebElementAction

Actually the recording (.rpae) is of older version but the Workfusion RPA Express is Version 2.1-beta Sunbird. So should I still have to update the drivers?

Yes, try updating them. The latest 2.1 version was released a year ago, so the drivers have probably updated since then.

Tried updating them, but after updating, even the browser doesn’t open now. Should I share the logs again?

Yes, please share the logs.
Also, advise which version of Firefox you use and which version of Gecko driver you have installed.

We have updated the Gecko version 0.26.0 as specified. We use the inbuilt Firefox that comes with the Workfusion in the recording for which, I’m not sure about the version. Although we have Firefox version 56.0 32 bit installed in our system.logs.zip (41.7 KB) wfagent.zip (475.3 KB)

Thank you. Since version 1.4 there is no portable Firefox in WorkFusion package, it uses the Firefox browser that is installed on your machine.

@arar96 can you update Firefox to the latest version?

@ashapkina No luck despite updating the Firefox version to 70.0.1 64-bit. Have attached the latest logs. Is there something we can try?logs.zip (44.6 KB) wfagent.zip (618.2 KB)

Hello @arar96.

Can you please advise whether all ports are not blocked on your organization by any software or firewall? You can check the list here - Installation Preconditions.
Also it seems that you have an old version of our application. Can you please check it in Control Panel - Programs and Features?

Hi @arar96 do you still have this issue?