RSelenium浏览器无法打开

时间:2018-05-11 19:30:57

标签: r rselenium

我在R中运行了一个RSelenium浏览器。我为它编写的代码完全正常,直到我昨天尝试运行它。现在,当我尝试使用rd = 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
> 
> BEGIN: DOWNLOAD
> 
> BEGIN: POSTDOWNLOAD
> 
> [1] "Connecting to remote server"
> 
> Could not open chrome browser.
> 
> Client error message:
> 
> Undefined error in httr call. httr output: Failed to connect to
> localhost port 4567: Connection refused
> 
> Check server log for further details.
> 
> $client
> 
> [1] "No sessionInfo. Client browser is mostly likely not opened."
> 
> $server
> 
> Process Handle command   : C:\Users\Jeffrey
> Jones\AppData\Local\Temp\RtmpszSD5f\file2958371c4c79.bat 
> 
> system id : 14508
> 
> state     : exited
> 
> Warning message:
> 
> In rsDriver() : Could not determine server status.
> 

然后没有其他工作。我不明白,因为代码在2天前工作正常。任何帮助将不胜感激!谢谢!

0 个答案:

没有答案