RSelenium icon indicating copy to clipboard operation
RSelenium copied to clipboard

Problem with firefox and geckodriver 0.32.2

Open fvalenduc opened this issue 2 years ago • 0 comments

With geckodriver 0.32.2, opening firefox doesn't work anymore. This is the very simple code I use:

remDr <- remoteDriver() nb_tries<-0 is_error<-TRUE

while (nb_tries<2 && is_error) { nb_tries<-nb_tries+1 try_server<-try(remDr$open(),silent=TRUE) is_error<-inherits(try_server, "try-error") Sys.sleep(3) }

It gives this result:

[1] "Connecting to remote server"

Selenium message:Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53' System info: host: 'WKS13274', ip: '10.62.2.60', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_332' Driver info: driver.version: unknown remote stacktrace:

I tried playing with extraCapabilities without success. Firefox is installed on the standard path and is in the PATH environment variable; but it doesn't work. It worked without problem with geckodriver 0.31.0. Does anybody have a solution to this problem ?

Thanks in advance,

François Valenduc

fvalenduc avatar Feb 20 '23 13:02 fvalenduc