[R] RWebdriver and RSelenium returns the same error while trying to connect the java server

Ista Zahn istazahn at gmail.com
Sun Mar 1 21:09:26 CET 2015


Do you have a server running? Can you connect to localhost directly
from a browser?

Best,
Ista

On Sun, Mar 1, 2015 at 12:35 PM, PO SU <rhelpmaillist at 163.com> wrote:
>
>
> Dear expeRts,
>    when i using RWebdriver and RSelenium ,
>
>
>
>> require(RSelenium)
> Loading required package: RSelenium
>> remDr <- remoteDriver(remoteServerAddr = "localhost"
> +                       , port = 4444
> +                       , browserName = "firefox"
> + )
>> remDr$open()
> [1] "Connecting to remote server"
>
>
>
> Error:   Summary: UnknownError
>          Detail: An unknown server-side error occurred while processing the command.
>          class: org.openqa.selenium.firefox.NotConnectedException
>
>
> from the cmd lines, it show "unable to connect 127.0.0.1 7055 after 45000ms "
>
>
> i don't know why, is there anybody who happens to know it ?
> --
>
> PO SU
> mail: desolator88 at 163.com
> Majored in Statistics from SJTU
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list