Vaadin Testbench 5 Error

My application is using vaadin version7.7.0. For the regression/integration testing, we have recently upgraded firefox to v 60 and selenium driver v 3.14. We are trying to use testbench api v 8.1.5 and core 5.1.0 that is compatible with selenium v 3 but We get following error when we run our test as it fails to locate a button.

EXCEPTION:org.openqa.selenium.NoSuchElementException: Vaadin could not find elements with the selector (//com.vaadin.ui.Button[id=“blotter.settings.id”]
)[0]

at com.vaadin.testbench.TestBenchDriverProxy.executeSearch(TestBenchDriverProxy.java:187) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.TestBenchDriverProxy.findElementsByVaadinSelector(TestBenchDriverProxy.java:132) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.By$ByVaadin.findElements(By.java:55) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.ElementQuery.executeSearch(ElementQuery.java:378) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.ElementQuery.get(ElementQuery.java:328) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.ElementQuery.first(ElementQuery.java:297) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.ElementQuery.id(ElementQuery.java:181) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.freddiemac.pmf.trade.blotter.pages.BlotterPage.select(BlotterPage.java:39) [tradeblotterapptest.jar]

at com.freddiemac.pmf.trade.blotter.fixture.BlotterTester.select(BlotterTester.java:94) [tradeblotterapptest.jar]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_161]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_161]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_161]

at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]

at fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:221) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.fixtureInteraction.DefaultInteraction.callMethod(DefaultInteraction.java:206) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.fixtureInteraction.DefaultInteraction.invokeMethod(DefaultInteraction.java:188) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.fixtureInteraction.DefaultInteraction.findAndInvoke(DefaultInteraction.java:166) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:18) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:18) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:139) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.StatementExecutor.call(StatementExecutor.java:112) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.instructions.Instruction.execute(Instruction.java:29) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:49) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:43) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.ListExecutor.execute(ListExecutor.java:85) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:82) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:75) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:62) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimServer.serve(SlimServer.java:47) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.handle(SlimService.java:169) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.acceptOne(SlimService.java:177) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.accept(SlimService.java:139) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.startWithFactory(SlimService.java:92) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.main(SlimService.java:57) [fitnesse-20180127.jar:20180127]

Caused by: org.openqa.selenium.JavascriptException: TypeError: cyclic object value
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘14813d997a59’, ip: ‘172.17.0.3’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘3.10.0-862.11.6.el7.x86_64’, java.version: ‘1.8.0_161’
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 60.1.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:headless: true, moz:processID: 2889, moz:profile: /tmp/rust_mozprofile.Z2c1Ii…, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 3.10.0-862.11.6.el7.x86_64, rotatable: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}}
Session ID: 32ca29c4-f1d0-4fea-8a35-b523f2ce4e15
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [rt.jar:1.8.0_161]

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [rt.jar:1.8.0_161]

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [rt.jar:1.8.0_161]

at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [rt.jar:1.8.0_161]

at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) [selenium-remote-driver-3.141.59.jar]

at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) [selenium-remote-driver-3.141.59.jar]

at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) [selenium-remote-driver-3.141.59.jar]

at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) [selenium-remote-driver-3.141.59.jar]

at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83) [selenium-remote-driver-3.141.59.jar]

at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) [selenium-remote-driver-3.141.59.jar]

at org.openqa.selenium.remote.RemoteWebDriver.executeScript(RemoteWebDriver.java:489) [selenium-remote-driver-3.141.59.jar]

at com.vaadin.testbench.commands.TestBenchCommandExecutor.executeScript(TestBenchCommandExecutor.java:243) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.TestBenchDriverProxy_$$_javassist_0._d9executeScript(TestBenchDriverProxy_$$_javassist_0.java) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_161]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_161]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_161]

at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]

at com.vaadin.testbench.DriverInvocationHandler.invoke(DriverInvocationHandler.java:56) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.TestBenchDriverProxy_$$_javassist_0.executeScript(TestBenchDriverProxy_$$_javassist_0.java) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.TestBenchDriverProxy.executeSearch(TestBenchDriverProxy.java:178) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.TestBenchDriverProxy.findElementsByVaadinSelector(TestBenchDriverProxy.java:132) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.By$ByVaadin.findElements(By.java:55) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.ElementQuery.executeSearch(ElementQuery.java:378) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.ElementQuery.get(ElementQuery.java:328) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.ElementQuery.first(ElementQuery.java:297) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.vaadin.testbench.ElementQuery.id(ElementQuery.java:181) [vaadin-testbench-core-5.1.0.jar:5.1.0]

at com.freddiemac.pmf.trade.blotter.pages.BlotterPage.select(BlotterPage.java:39) [tradeblotterapptest.jar]

at com.freddiemac.pmf.trade.blotter.fixture.BlotterTester.select(BlotterTester.java:94) [tradeblotterapptest.jar]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.8.0_161]

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [rt.jar:1.8.0_161]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_161]

at java.lang.reflect.Method.invoke(Method.java:498) [rt.jar:1.8.0_161]

at fitnesse.slim.fixtureInteraction.DefaultInteraction.methodInvoke(DefaultInteraction.java:221) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.fixtureInteraction.DefaultInteraction.callMethod(DefaultInteraction.java:206) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.fixtureInteraction.DefaultInteraction.invokeMethod(DefaultInteraction.java:188) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.fixtureInteraction.DefaultInteraction.findAndInvoke(DefaultInteraction.java:166) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.MethodExecutor.findAndInvoke(MethodExecutor.java:18) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.FixtureMethodExecutor.execute(FixtureMethodExecutor.java:18) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.StatementExecutor.getMethodExecutionResult(StatementExecutor.java:139) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.StatementExecutor.call(StatementExecutor.java:112) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.instructions.CallInstruction.executeInternal(CallInstruction.java:35) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.instructions.Instruction.execute(Instruction.java:29) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.ListExecutor$Executive.executeStatement(ListExecutor.java:49) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.ListExecutor$Executive.executeStatements(ListExecutor.java:43) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.ListExecutor.execute(ListExecutor.java:85) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimServer.executeInstructions(SlimServer.java:82) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimServer.processOneSetOfInstructions(SlimServer.java:75) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimServer.tryProcessInstructions(SlimServer.java:62) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimServer.serve(SlimServer.java:47) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.handle(SlimService.java:169) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.acceptOne(SlimService.java:177) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.accept(SlimService.java:139) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.startWithFactory(SlimService.java:92) [fitnesse-20180127.jar:20180127]

at fitnesse.slim.SlimService.main(SlimService.java:57) [fitnesse-20180127.jar:20180127]

note open search panel by selecting the open search button
select openS