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
Temporarily fix Firefox platform problem #379
Conversation
The code looks like it should work, but there's issues with the unit tests. I'll look at that when I can if you don't get to it first. |
They are version dependent. I don't have any problems with |
lib/Selenium/Remote/Driver.pm
Outdated
'javascriptEnabled' => $self->javascript, | ||
'version' => $self->version, | ||
'acceptSslCerts' => $self->accept_ssl_certs, | ||
%$extra_capabilities, | ||
}, | ||
}; | ||
$args->{'desiredCapabilities'}{'platform'} = $self->platform | ||
if $self->browser_name ne 'firefox' || !$self->{is_wd3}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what if we actually want to pass a platform other than 'ANY'? does that also cause the geckodriver to die?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried imposing a few, same results.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dang. Sounds like a proper bug in the driver then.
This fixes issue #375 until Firefox/Selenium can negociate again