2016-11-01 37 views
0

我嘗試使用R中的工作室z$open()遠程驅動器和以下錯誤發生RSelenium - java.lang.IllegalStateException中的R

library(RSelenium) 
checkForServer()  
startServer()  
z <-remoteDriver()  
z$open() 

Error: Summary: UnknownError 
    Detail: An unknown server-side error occurred while processing the command. 
    class: java.lang.IllegalStateException 

我,使用R版本3.3.1(2016- 06-21),RStudio(0.99.903),Java版本1.8.0_111,火狐版本47.0.1,RSelenium版本1.4.0

+0

什麼版本的RSelenium和硒服務器? –

+0

RSelenium版本1.4.0 – Mariselvan

回答

0

我使用的Firefox版本47.0.1。所以它的工作,只有當硒-server-standalone-2.53.1.jar .so,請將其下載到Rselenium軟件包bin文件夾中。不要使用chec代碼中的kForserver()