LoginSignup
4
2

More than 5 years have passed since last update.

selenium webdriver 実行時に「unable to obtain stable firefox connection in 60 seconds」って言われたときの対処法

Posted at

この記事はSelenium/Appiumアドベントカレンダー2015の25日目の記事です。

selenium 実行時、表題のエラーが発生した際のトラブルシューティングです。

現象

selenium 実行時に下記のエラーが発生。

seleniumerror.png

原因

使用しているFirefoxのバージョンが新しいため、selenium webdriverがfirefoxのバージョンに対応していない。

対処法

selenium webdriver最新化する

gem update selenium-webdriver              # webdriver最新化
gem uninstall selenium-webdriver -v 2.xx.x # 念のため古いやつけしとく

gemfileで管理していれば、 bundle update とかして頂ければ、selenium webdriverが最新化されるでしょう。

最後に

アドベントカレンダー最終日にこんな小ネタですいません。
読んで頂いた方、ありがとうございました。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2