LoginSignup
5
4

More than 5 years have passed since last update.

Selenium WebDriverでFireFoxを指定した時のエラーについて

Posted at

問題

Play2.2でSelenium WebDriverを使用したテストをする際にFireFoxWebDriverを使用したとき、

Unable to connect to host 127.0.0.1 on port 7055

のエラーが発生する。

原因

Play2.2のリポジトリにはバージョン0.9.0のFluentLeniumが定義されているが、どうやらこれが最新のFireFoxには対応していないようだ。
最新版は0.10.0なので、そちらのバージョンを使用するように設定する。

対応

build.sbt の libraryDependencies のところに、以下の内容を追記する

("org.fluentlenium" % "fluentlenium-festassert" % "0.10.0" % "test")
  .exclude("org.jboss.netty", "netty")
5
4
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
5
4