Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with firefox and geckodriver 0.32.2 #273

Open
fvalenduc opened this issue Feb 20, 2023 · 0 comments
Open

Problem with firefox and geckodriver 0.32.2 #273

fvalenduc opened this issue Feb 20, 2023 · 0 comments

Comments

@fvalenduc
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant