プロジェクト

全般

プロフィール

Vote #78509

完了

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

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
Gems support_45
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
45
version_id:
99
issue_org_id:
26066
author_id:
123153
assigned_to_id:
0
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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:

Selenium::WebDriver::Error::WebDriverError:
unable to obtain stable firefox connection in 60 seconds (127.0.0.1:7055)

Firefox 53.0.3
(selenium-webdriver 3.4.0 solves the problem)

thanks


journals

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

<pre>
$ 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:

E

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

1) Error:
Redmine::UiTest::IssuesTest#test_create_issue:
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
</pre>
--------------------------------------------------------------------------------
Firefox driver in 2.53.4 not working with Firefox 48
https://github.com/SeleniumHQ/selenium/issues/2559
--------------------------------------------------------------------------------
This is very unsafe API
<pre>
page.driver.browser.manage.window.resize_to(1024, 900)
</pre>
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:
https://groups.google.com/forum/m/#!topic/phantomjs/9aI5d-LDuNE

--------------------------------------------------------------------------------
the version restiction was removed in https://github.com/redmine/redmine/commit/530eef96033bf1474157bbc9c7739ff8dc7e2ae4

resolved, thanks
--------------------------------------------------------------------------------
Thanks Pavel for updating the ticket.

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

--------------------------------------------------------------------------------


related_issues

relates,Closed,23630,Migrate to Rails 5.2

Admin Redmine さんが3年以上前に更新

  • カテゴリGems support_45 にセット
  • 対象バージョン4.0.0_99 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0