ScalaTest与Microsoft Edge?

时间:2016-09-16 10:46:26

标签: selenium microsoft-edge scalatest

我正在使用ScalaTest对Chrome,Firefox和Internet Explorer进行测试,例如

class LoginSpec extends FlatSpec with MustMatchers with InternetExplorer
{
  val host = "http://localhost:8080/"

  "The foobar home page" must "have the correct title" in
    {
      go to (host)
      pageTitle must be("hello world")
    }    
}

我的依赖项:

<dependencies>
    <dependency>
        <groupId>org.scala-lang</groupId>
        <artifactId>scala-library</artifactId>
        <version>2.11.8</version>
    </dependency>
    <dependency>
        <groupId>org.scalatest</groupId>
        <artifactId>scalatest_2.11</artifactId>
        <version>3.0.0</version>
    </dependency>
    <dependency>
        <groupId>org.seleniumhq.selenium</groupId>
        <artifactId>selenium-java</artifactId>
        <version>3.0.0-beta3</version>
    </dependency>
</dependencies>

是否可以使用ScalaTest进行Microsoft Edge测试?

我可以看到org.openqa.selenium.edge.EdgeDriver中有一个班级org.seleniumhq.selenium:selenium-javaexecutable。{/ p>

0 个答案:

没有答案