Closed bstabler closed 7 years ago
I have the same problem as shinytest #113. phantomjs is in my path and runs from the command line:
C:\>phantomjs.exe --proxy-type=none --webdriver=127.0.0.1:8910 --webdriver-logle vel="DEBUG" [DEBUG - 2017-07-10T05:23:27.865Z] Config - config.init - {"ip":"127.0.0.1","port ":"8910","hub":null,"proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy", "version":"","logFile":null,"logLevel":"DEBUG","logColor":false} [INFO - 2017-07-10T05:23:27.889Z] GhostDriver - Main - running on port 8910
but this doesn't work:
> library(webdriver) > webdriver::run_phantomjs() Error in readLines(process_get_error_connection(self, private), ...) : 'con' is not a connection > traceback() 6: readLines(process_get_error_connection(self, private), ...) 5: process_read_error_lines(self, private, ...) 4: ph$read_error_lines() 3: strwrap(ph$read_error_lines()) 2: stop("Cannot start phantom.js, or cannot connect to it", strwrap(ph$read_error_lines())) 1: webdriver::run_phantomjs()
and here is my session info:
> sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 8.1 x64 (build 9600) locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C [5] LC_TIME=English_United States.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] webdriver_1.0.2.9000 shinytest_1.1.0 loaded via a namespace (and not attached): [1] Rcpp_0.12.11 magrittr_1.5 debugme_1.0.2 xtable_1.8-2 showimage_1.0.0 [6] R6_2.2.2 rematch_1.0.1 httr_1.2.1 tools_3.3.2 parsedate_1.1.3 [11] png_0.1-7 withr_1.0.2 htmltools_0.3.6 assertthat_0.2.0 digest_0.6.12 [16] crayon_1.3.2 processx_2.0.1 shiny_1.0.3.9001 base64enc_0.1-3 testthat_1.0.2 [21] curl_2.7 mime_0.5 pingr_1.1.2 jsonlite_1.5 httpuv_1.3.3
any ideas? Thanks.
Closing since this is a duplicate issue.
I have the same problem as shinytest #113. phantomjs is in my path and runs from the command line:
but this doesn't work:
and here is my session info:
any ideas? Thanks.