RSelenium icon indicating copy to clipboard operation
RSelenium copied to clipboard

Error in rsDriver occured while downloading phantomjs

Open SohilZidan opened this issue 8 years ago • 1 comments

I'm using this code in R and get the result

rD <- rsDriver(port = 4567L ,browser="firefox") 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 BEGIN: DOWNLOAD BEGIN: POSTDOWNLOAD Error in if (file.access(phantompath, 1) < 0) { : argument is of length zero

Actually, I have downloaded most files by hand and put them on the right location, but this 'phantomjs' doesn't work at all. I tried to use:

with_config(config(ssl_verifypeer=0L),wdman::selenium(retcommand=TRUE))

but still the same Error.

I will be pleased if someone can help me.

SohilZidan avatar Jul 06 '17 13:07 SohilZidan

explained here a little bit, hope it helps.

Yuanchao-Xu avatar Sep 20 '17 15:09 Yuanchao-Xu