Defect #26066

Selenium::WebDriver doesn't work with current version of Firefox

Added by Pavel Rosický about 5 years ago. Updated over 3 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:


Category:Gems support
Target version:4.0.0
Resolution:Fixed Affected version:


selenium-webdriver version was locked in order to support outdated Ruby 1.9.3 #24092
could you allow selenium-webdriver 3.4.0 if Ruby 2.0+ is used? I'm getting this error because of it:

unable to obtain stable firefox connection in 60 seconds (

Firefox 53.0.3
(selenium-webdriver 3.4.0 solves the problem)


Related issues

Related to Redmine - Feature #23630: Migrate to Rails 5.2 Closed

Associated revisions

Revision 16864
Added by Jean-Philippe Lang almost 5 years ago

Converts UI tests to system tests (#23630).


#1 Updated by Toshi MARUYAMA about 5 years ago

  • Priority changed from Normal to Low

At trunk r16726 on selenium-webdriver (3.4.3) and phantomjs-2.1.1-linux-x86_64:

$ ruby test/ui/issues_test_ui.rb -n test_create_issue
DEPRECATED: #default_wait_time= is deprecated, please use #default_max_wait_time= instead
Run options: -n test_create_issue --seed 49898

# Running:


Finished in 0.582869s, 1.7157 runs/s, 0.0000 assertions/s.

  1) Error:
NoMethodError: undefined method `capabilities' for nil:NilClass
    test/ui/base.rb:65:in `block in <class:Base>'

1 runs, 0 assertions, 0 failures, 1 errors, 0 skips

#2 Updated by Toshi MARUYAMA about 5 years ago

Firefox driver in 2.53.4 not working with Firefox 48

#3 Updated by Pavel Rosický about 5 years ago

This is very unsafe API

page.driver.browser.manage.window.resize_to(1024, 900)

it also doesn't work with a Chrome driver. It could be avoided by passing desired capabilities directly for each driver, but it's quite problematic to set up a custom resolution reliably right now.

Btw: phantomjs won't be supported anymore, see:!topic/phantomjs/9aI5d-LDuNE

#4 Updated by Pavel Rosický over 3 years ago

  • Status changed from New to Resolved

the version restiction was removed in

resolved, thanks

#5 Updated by Marius BALTEANU over 3 years ago

  • Status changed from Resolved to Closed
  • Target version set to 4.0.0
  • Resolution set to Fixed

Thanks Pavel for updating the ticket.

I’m setting version 4.0.0 because it is an useful fix for Redmine developers.

#6 Updated by Go MAEDA over 3 years ago

Also available in: Atom PDF