RSelenium
RSelenium copied to clipboard
driver version unknown, error in parse_con
Since Firefox version 48, Mozilla requires all add-ons to be signed. Until recently, Firefox support in Selenium was exclusively provided by an add-on. As this add-on is not currently signed, this solution does not work with the latest Firefox releases. As an alternative, Mozilla are working on a WebDriver specification compliant implementation named GeckoDriver. Please note that the specification is not complete, and that Selenium itself does not comply with the specification at this time. This means that features previously available through Selenium will not be available using GeckoDriver.
Currently we would advise against using the latest firefox/geckodriver with selenium untill the w3c webdriver specification is complete. If you wish to use firefox we would advise using an older version via a Docker image. See the RSelenium Docker vignette for more detail:
http://rpubs.com/johndharrison/RSelenium-Docker
If your issue is not with geckodriver/firefox please fill out the template
Operating System
Win 7 Professional
Selenium Server version (selenium-server-standalone-3.0.1.jar etc.)
selenium-server-standalone-3.9.1.jar
Browser version (firefox 50.1.0, chrome 54.0.2840.100 (64-bit) etc.)
chrome

Other driver version (chromedriver 2.27, geckodriver v0.11.1, iedriver x64_3.0.0, PhantomJS 2.1.1 etc.)
2.43
Expected behaviour
Open chrome
Actual behaviour
see screeenshot

Library version [1] binman_0.1.1 wdman_0.2.4 RSelenium_1.7.4
Steps to reproduce the behaviour
If the maintainer can respond in terms of the schematic like what interacts with selenium server, is the driver just a handler for browser and when the error is unknown driver version , whose version is it talking about. java , selenium server, driver or browser? I also tried doing the rsDriver method but that results in the following
rsDriver(browser = c("internet explorer") , iedrver = "latest") checking Selenium Server versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking chromedriver versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking geckodriver versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking phantomjs versions: BEGIN: PREDOWNLOAD Error in parse_con(txt, bigint_as_char) : lexical error: invalid char in json text. <!DOCTYPE html PUBLIC "-//W3C// (right here) ------^
@syedfahadalihashmi
Your selenium binary is outdate (Feb 18). Try it again with the latest version (v3.141). http://selenium-release.storage.googleapis.com/3.141/selenium-server-standalone-3.141.0.jar
If that doesn't work, could you include the log from remDr$errorDetails()?
Re: rsDriver error:
That looks like a jsonlite error. What's the version of jsonlite on your machine? If it's outdated, I recommend installing the latest version and trying rsDriver again.
Re:
rsDrivererror:That looks like a
jsonliteerror. What's the version ofjsonliteon your machine? If it's outdated, I recommend installing the latest version and tryingrsDriveragain.
Hi , I acted on your suggestions and the error for remote driver persists, saying about version.
here is a screenshot of the server
Here is the error detail
remDr$errorDetails() $
stacktrace[1] "org.openqa.selenium.SessionNotCreatedException: Unable to create new service: ChromeDriverService\nBuild info: version: '3.141.0', revision: '2ecb7d9a', time: '2018-10-31T20:22:52'\nSystem info: host: 'AHAWWL1302', ip: '160.222.175.27', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_131'\nDriver info: driver.version: unknown\r\n\tat org.openqa.selenium.grid.session.remote.ServicedSession$Factory.lambda$get$0(ServicedSession.java:135)\r\n\tat org.openqa.selenium.grid.session.remote.ServicedSession$Factory.apply(ServicedSession.java:152)\r\n\tat org.openqa.selenium.remote.server.ActiveSessionFactory.lambda$apply$12(ActiveSessionFactory.java:180)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline$11$1.accept(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)\r\n\tat java.util.Spliterators$ArraySpliterator.tryAdvance(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.copyInto(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)\r\n\tat java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.evaluate(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline.findFirst(Unknown Source)\r\n\tat org.openqa.selenium.remote.server.ActiveSessionFactory.apply(ActiveSessionFactory.java:183)\r\n\tat org.openqa.selenium.remote.server.NewSessionPipeline.lambda$null$2(NewSessionPipeline.java:66)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)\r\n\tat java.util.Collections$2.tryAdvance(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.copyInto(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)\r\n\tat java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.evaluate(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline.findFirst(Unknown Source)\r\n\tat org.openqa.selenium.remote.server.NewSessionPipeline.lambda$createNewSession$3(NewSessionPipeline.java:69)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.util.stream.DistinctOps$1$2.accept(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)\r\n\tat java.util.stream.Streams$StreamBuilderImpl.tryAdvance(Unknown Source)\r\n\tat java.util.stream.Streams$ConcatSpliterator.tryAdvance(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.copyIntoWithCancel(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.copyInto(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)\r\n\tat java.util.stream.FindOps$FindOp.evaluateSequential(Unknown Source)\r\n\tat java.util.stream.AbstractPipeline.evaluate(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline.findFirst(Unknown Source)\r\n\tat org.openqa.selenium.remote.server.NewSessionPipeline.createNewSession(NewSessionPipeline.java:72)\r\n\tat org.openqa.selenium.remote.server.commandhandler.BeginSession.execute(BeginSession.java:65)\r\n\tat org.openqa.selenium.remote.server.WebDriverServlet.lambda$handle$0(WebDriverServlet.java:235)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)\r\n\tat java.util.concurrent.FutureTask.run(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)\r\n\tat java.lang.Thread.run(Unknown Source)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat org.openqa.selenium.grid.session.remote.ServicedSession$Factory.lambda$get$0(ServicedSession.java:131)\r\n\t... 50 more\r\nCaused by: java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html\r\n\tat com.google.common.base.Preconditions.checkState(Preconditions.java:847)\r\n\tat org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:125)\r\n\tat org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:35)\r\n\tat org.openqa.selenium.chrome.ChromeDriverService$Builder.findDefaultExecutable(ChromeDriverService.java:159)\r\n\tat org.openqa.selenium.remote.service.DriverService$Builder.build(DriverService.java:346)\r\n\tat org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:94)\r\n\t... 55 more\r\n"
$stackTrace
$stackTrace[[1]]
$stackTrace[[1]]$fileName
[1] "ServicedSession.java"
$stackTrace[[1]]$methodName [1] "lambda$get$0"
$stackTrace[[1]]$className [1] "org.openqa.selenium.grid.session.remote.ServicedSession$Factory"
$stackTrace[[1]]$lineNumber [1] 135
$stackTrace[[2]]
$stackTrace[[2]]$fileName
[1] "ServicedSession.java"
$stackTrace[[2]]$methodName [1] "apply"
$stackTrace[[2]]$className [1] "org.openqa.selenium.grid.session.remote.ServicedSession$Factory"
$stackTrace[[2]]$lineNumber [1] 152
$stackTrace[[3]]
$stackTrace[[3]]$fileName
[1] "ActiveSessionFactory.java"
$stackTrace[[3]]$methodName [1] "lambda$apply$12"
$stackTrace[[3]]$className [1] "org.openqa.selenium.remote.server.ActiveSessionFactory"
$stackTrace[[3]]$lineNumber [1] 180
$stackTrace[[4]]
$stackTrace[[4]]$fileName
NULL
$stackTrace[[4]]$methodName [1] "accept"
$stackTrace[[4]]$className [1] "java.util.stream.ReferencePipeline$3$1"
$stackTrace[[4]]$lineNumber [1] -1
$stackTrace[[5]]
$stackTrace[[5]]$fileName
NULL
$stackTrace[[5]]$methodName [1] "accept"
$stackTrace[[5]]$className [1] "java.util.stream.ReferencePipeline$11$1"
$stackTrace[[5]]$lineNumber [1] -1
$stackTrace[[6]]
$stackTrace[[6]]$fileName
NULL
$stackTrace[[6]]$methodName [1] "accept"
$stackTrace[[6]]$className [1] "java.util.stream.ReferencePipeline$2$1"
$stackTrace[[6]]$lineNumber [1] -1
$stackTrace[[7]]
$stackTrace[[7]]$fileName
NULL
$stackTrace[[7]]$methodName [1] "tryAdvance"
$stackTrace[[7]]$className [1] "java.util.Spliterators$ArraySpliterator"
$stackTrace[[7]]$lineNumber [1] -1
$stackTrace[[8]]
$stackTrace[[8]]$fileName
NULL
$stackTrace[[8]]$methodName [1] "forEachWithCancel"
$stackTrace[[8]]$className [1] "java.util.stream.ReferencePipeline"
$stackTrace[[8]]$lineNumber [1] -1
$stackTrace[[9]]
$stackTrace[[9]]$fileName
NULL
$stackTrace[[9]]$methodName [1] "copyIntoWithCancel"
$stackTrace[[9]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[9]]$lineNumber [1] -1
$stackTrace[[10]]
$stackTrace[[10]]$fileName
NULL
$stackTrace[[10]]$methodName [1] "copyInto"
$stackTrace[[10]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[10]]$lineNumber [1] -1
$stackTrace[[11]]
$stackTrace[[11]]$fileName
NULL
$stackTrace[[11]]$methodName [1] "wrapAndCopyInto"
$stackTrace[[11]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[11]]$lineNumber [1] -1
$stackTrace[[12]]
$stackTrace[[12]]$fileName
NULL
$stackTrace[[12]]$methodName [1] "evaluateSequential"
$stackTrace[[12]]$className [1] "java.util.stream.FindOps$FindOp"
$stackTrace[[12]]$lineNumber [1] -1
$stackTrace[[13]]
$stackTrace[[13]]$fileName
NULL
$stackTrace[[13]]$methodName [1] "evaluate"
$stackTrace[[13]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[13]]$lineNumber [1] -1
$stackTrace[[14]]
$stackTrace[[14]]$fileName
NULL
$stackTrace[[14]]$methodName [1] "findFirst"
$stackTrace[[14]]$className [1] "java.util.stream.ReferencePipeline"
$stackTrace[[14]]$lineNumber [1] -1
$stackTrace[[15]]
$stackTrace[[15]]$fileName
[1] "ActiveSessionFactory.java"
$stackTrace[[15]]$methodName [1] "apply"
$stackTrace[[15]]$className [1] "org.openqa.selenium.remote.server.ActiveSessionFactory"
$stackTrace[[15]]$lineNumber [1] 183
$stackTrace[[16]]
$stackTrace[[16]]$fileName
[1] "NewSessionPipeline.java"
$stackTrace[[16]]$methodName [1] "lambda$null$2"
$stackTrace[[16]]$className [1] "org.openqa.selenium.remote.server.NewSessionPipeline"
$stackTrace[[16]]$lineNumber [1] 66
$stackTrace[[17]]
$stackTrace[[17]]$fileName
NULL
$stackTrace[[17]]$methodName [1] "accept"
$stackTrace[[17]]$className [1] "java.util.stream.ReferencePipeline$3$1"
$stackTrace[[17]]$lineNumber [1] -1
$stackTrace[[18]]
$stackTrace[[18]]$fileName
NULL
$stackTrace[[18]]$methodName [1] "accept"
$stackTrace[[18]]$className [1] "java.util.stream.ReferencePipeline$2$1"
$stackTrace[[18]]$lineNumber [1] -1
$stackTrace[[19]]
$stackTrace[[19]]$fileName
NULL
$stackTrace[[19]]$methodName [1] "tryAdvance"
$stackTrace[[19]]$className [1] "java.util.Collections$2"
$stackTrace[[19]]$lineNumber [1] -1
$stackTrace[[20]]
$stackTrace[[20]]$fileName
NULL
$stackTrace[[20]]$methodName [1] "forEachWithCancel"
$stackTrace[[20]]$className [1] "java.util.stream.ReferencePipeline"
$stackTrace[[20]]$lineNumber [1] -1
$stackTrace[[21]]
$stackTrace[[21]]$fileName
NULL
$stackTrace[[21]]$methodName [1] "copyIntoWithCancel"
$stackTrace[[21]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[21]]$lineNumber [1] -1
$stackTrace[[22]]
$stackTrace[[22]]$fileName
NULL
$stackTrace[[22]]$methodName [1] "copyInto"
$stackTrace[[22]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[22]]$lineNumber [1] -1
$stackTrace[[23]]
$stackTrace[[23]]$fileName
NULL
$stackTrace[[23]]$methodName [1] "wrapAndCopyInto"
$stackTrace[[23]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[23]]$lineNumber [1] -1
$stackTrace[[24]]
$stackTrace[[24]]$fileName
NULL
$stackTrace[[24]]$methodName [1] "evaluateSequential"
$stackTrace[[24]]$className [1] "java.util.stream.FindOps$FindOp"
$stackTrace[[24]]$lineNumber [1] -1
$stackTrace[[25]]
$stackTrace[[25]]$fileName
NULL
$stackTrace[[25]]$methodName [1] "evaluate"
$stackTrace[[25]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[25]]$lineNumber [1] -1
$stackTrace[[26]]
$stackTrace[[26]]$fileName
NULL
$stackTrace[[26]]$methodName [1] "findFirst"
$stackTrace[[26]]$className [1] "java.util.stream.ReferencePipeline"
$stackTrace[[26]]$lineNumber [1] -1
$stackTrace[[27]]
$stackTrace[[27]]$fileName
[1] "NewSessionPipeline.java"
$stackTrace[[27]]$methodName [1] "lambda$createNewSession$3"
$stackTrace[[27]]$className [1] "org.openqa.selenium.remote.server.NewSessionPipeline"
$stackTrace[[27]]$lineNumber [1] 69
$stackTrace[[28]]
$stackTrace[[28]]$fileName
NULL
$stackTrace[[28]]$methodName [1] "accept"
$stackTrace[[28]]$className [1] "java.util.stream.ReferencePipeline$3$1"
$stackTrace[[28]]$lineNumber [1] -1
$stackTrace[[29]]
$stackTrace[[29]]$fileName
NULL
$stackTrace[[29]]$methodName [1] "accept"
$stackTrace[[29]]$className [1] "java.util.stream.ReferencePipeline$3$1"
$stackTrace[[29]]$lineNumber [1] -1
$stackTrace[[30]]
$stackTrace[[30]]$fileName
NULL
$stackTrace[[30]]$methodName [1] "accept"
$stackTrace[[30]]$className [1] "java.util.stream.ReferencePipeline$3$1"
$stackTrace[[30]]$lineNumber [1] -1
$stackTrace[[31]]
$stackTrace[[31]]$fileName
NULL
$stackTrace[[31]]$methodName [1] "accept"
$stackTrace[[31]]$className [1] "java.util.stream.DistinctOps$1$2"
$stackTrace[[31]]$lineNumber [1] -1
$stackTrace[[32]]
$stackTrace[[32]]$fileName
NULL
$stackTrace[[32]]$methodName [1] "accept"
$stackTrace[[32]]$className [1] "java.util.stream.ReferencePipeline$2$1"
$stackTrace[[32]]$lineNumber [1] -1
$stackTrace[[33]]
$stackTrace[[33]]$fileName
NULL
$stackTrace[[33]]$methodName [1] "accept"
$stackTrace[[33]]$className [1] "java.util.stream.ReferencePipeline$3$1"
$stackTrace[[33]]$lineNumber [1] -1
$stackTrace[[34]]
$stackTrace[[34]]$fileName
NULL
$stackTrace[[34]]$methodName [1] "accept"
$stackTrace[[34]]$className [1] "java.util.stream.ReferencePipeline$2$1"
$stackTrace[[34]]$lineNumber [1] -1
$stackTrace[[35]]
$stackTrace[[35]]$fileName
NULL
$stackTrace[[35]]$methodName [1] "tryAdvance"
$stackTrace[[35]]$className [1] "java.util.stream.Streams$StreamBuilderImpl"
$stackTrace[[35]]$lineNumber [1] -1
$stackTrace[[36]]
$stackTrace[[36]]$fileName
NULL
$stackTrace[[36]]$methodName [1] "tryAdvance"
$stackTrace[[36]]$className [1] "java.util.stream.Streams$ConcatSpliterator"
$stackTrace[[36]]$lineNumber [1] -1
$stackTrace[[37]]
$stackTrace[[37]]$fileName
NULL
$stackTrace[[37]]$methodName [1] "forEachWithCancel"
$stackTrace[[37]]$className [1] "java.util.stream.ReferencePipeline"
$stackTrace[[37]]$lineNumber [1] -1
$stackTrace[[38]]
$stackTrace[[38]]$fileName
NULL
$stackTrace[[38]]$methodName [1] "copyIntoWithCancel"
$stackTrace[[38]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[38]]$lineNumber [1] -1
$stackTrace[[39]]
$stackTrace[[39]]$fileName
NULL
$stackTrace[[39]]$methodName [1] "copyInto"
$stackTrace[[39]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[39]]$lineNumber [1] -1
$stackTrace[[40]]
$stackTrace[[40]]$fileName
NULL
$stackTrace[[40]]$methodName [1] "wrapAndCopyInto"
$stackTrace[[40]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[40]]$lineNumber [1] -1
$stackTrace[[41]]
$stackTrace[[41]]$fileName
NULL
$stackTrace[[41]]$methodName [1] "evaluateSequential"
$stackTrace[[41]]$className [1] "java.util.stream.FindOps$FindOp"
$stackTrace[[41]]$lineNumber [1] -1
$stackTrace[[42]]
$stackTrace[[42]]$fileName
NULL
$stackTrace[[42]]$methodName [1] "evaluate"
$stackTrace[[42]]$className [1] "java.util.stream.AbstractPipeline"
$stackTrace[[42]]$lineNumber [1] -1
$stackTrace[[43]]
$stackTrace[[43]]$fileName
NULL
$stackTrace[[43]]$methodName [1] "findFirst"
$stackTrace[[43]]$className [1] "java.util.stream.ReferencePipeline"
$stackTrace[[43]]$lineNumber [1] -1
$stackTrace[[44]]
$stackTrace[[44]]$fileName
[1] "NewSessionPipeline.java"
$stackTrace[[44]]$methodName [1] "createNewSession"
$stackTrace[[44]]$className [1] "org.openqa.selenium.remote.server.NewSessionPipeline"
$stackTrace[[44]]$lineNumber [1] 72
$stackTrace[[45]]
$stackTrace[[45]]$fileName
[1] "BeginSession.java"
$stackTrace[[45]]$methodName [1] "execute"
$stackTrace[[45]]$className [1] "org.openqa.selenium.remote.server.commandhandler.BeginSession"
$stackTrace[[45]]$lineNumber [1] 65
$stackTrace[[46]]
$stackTrace[[46]]$fileName
[1] "WebDriverServlet.java"
$stackTrace[[46]]$methodName [1] "lambda$handle$0"
$stackTrace[[46]]$className [1] "org.openqa.selenium.remote.server.WebDriverServlet"
$stackTrace[[46]]$lineNumber [1] 235
$stackTrace[[47]]
$stackTrace[[47]]$fileName
NULL
$stackTrace[[47]]$methodName [1] "call"
$stackTrace[[47]]$className [1] "java.util.concurrent.Executors$RunnableAdapter"
$stackTrace[[47]]$lineNumber [1] -1
$stackTrace[[48]]
$stackTrace[[48]]$fileName
NULL
$stackTrace[[48]]$methodName [1] "run"
$stackTrace[[48]]$className [1] "java.util.concurrent.FutureTask"
$stackTrace[[48]]$lineNumber [1] -1
$stackTrace[[49]]
$stackTrace[[49]]$fileName
NULL
$stackTrace[[49]]$methodName [1] "runWorker"
$stackTrace[[49]]$className [1] "java.util.concurrent.ThreadPoolExecutor"
$stackTrace[[49]]$lineNumber [1] -1
$stackTrace[[50]]
$stackTrace[[50]]$fileName
NULL
$stackTrace[[50]]$methodName [1] "run"
$stackTrace[[50]]$className [1] "java.util.concurrent.ThreadPoolExecutor$Worker"
$stackTrace[[50]]$lineNumber [1] -1
$stackTrace[[51]]
$stackTrace[[51]]$fileName
NULL
$stackTrace[[51]]$methodName [1] "run"
$stackTrace[[51]]$className [1] "java.lang.Thread"
$stackTrace[[51]]$lineNumber [1] -1
$message [1] "Unable to create new service: ChromeDriverService\nBuild info: version: '3.141.0', revision: '2ecb7d9a', time: '2018-10-31T20:22:52'\nSystem info: host: 'AHAWWL1302', ip: '160.222.175.27', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_131'\nDriver info: driver.version: unknown"
$error [1] "session not created"
On a separate note, As you pointed out in updated my jsonlite , here is my json version
rsDriver() checking Selenium Server versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking chromedriver versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking geckodriver versions: BEGIN: PREDOWNLOAD BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD checking phantomjs versions: BEGIN: PREDOWNLOAD Error in parse_con(txt, bigint_as_char) : lexical error: invalid char in json text. <!DOCTYPE html PUBLIC "-//W3C// (right here) ------^ sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1
Matrix products: default
locale: [1] LC_COLLATE=English_Australia.1252 LC_CTYPE=English_Australia.1252 LC_MONETARY=English_Australia.1252 [4] LC_NUMERIC=C LC_TIME=English_Australia.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] jsonlite_1.5 RSelenium_1.7.4
loaded via a namespace (and not attached):
[1] Rcpp_0.12.18 XML_3.98-1.16 binman_0.1.1 assertthat_0.2.0 rappdirs_0.3.1 bitops_1.0-6
[7] R6_2.2.2 semver_0.2.0 httr_1.3.1 curl_3.2 xml2_1.2.0 tools_3.5.1
[13] wdman_0.2.4 yaml_2.2.0 compiler_3.5.1 caTools_1.17.1.1 openssl_1.0.2
.
One strange behavior i noticed, was when i tried rsdriver on another pc on another network it worked.
One more question, is there a way I could skip loading the phantomjs drivers being loaded. Since it is causing issues.
Hi @syedfahadalihashmi , Did you manage to solve the issue? I am also getting similar issue and am wondering if you have the solution. Any help would be much appreciated.
Thanks, Ankur
It was network security issue
On Thu, 24 Oct. 2019, 2:38 am Ankur Singhania, [email protected] wrote:
Hi @syedfahadalihashmi https://github.com/syedfahadalihashmi , Did you manage to solve the issue? I am also getting similar issue and am wondering if you have the solution. Any help would be much appreciated.
Thanks, Ankur
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ropensci/RSelenium/issues/190?email_source=notifications&email_token=AKU657TLEHYOXH4QSGURTQ3QQBVZFA5CNFSM4GBL7KOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECB36UA#issuecomment-545505104, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKU657WFUBBQ76XNW4Z37LTQQBVZFANCNFSM4GBL7KOA .