Skip to content

Commit

Permalink
Merge f52677c into ed84528
Browse files Browse the repository at this point in the history
  • Loading branch information
ylavoie committed Jul 4, 2018
2 parents ed84528 + f52677c commit cc6b8a5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions lib/Selenium/Remote/Driver.pm
Expand Up @@ -959,11 +959,8 @@ sub _request_new_session {
delete $args->{extra_capabilities};
}

# geckodriver has not yet implemented the GET /status endpoint
# https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver/status
if (! $self->isa('Selenium::Firefox')) {
$self->remote_conn->check_status();
}
$self->remote_conn->check_status();

# command => 'newSession' to fool the tests of commands implemented
# TODO: rewrite the testing better, this is so fragile.
my $resource_new_session = {
Expand Down

0 comments on commit cc6b8a5

Please sign in to comment.