Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package scalatestplus
    Definition Classes
    org
  • package play
    Definition Classes
    scalatestplus
  • trait MixedFixtures extends TestSuiteMixin with UnitFixture

    Trait that helps you provide different fixtures to different tests: a Application, a TestServer, or one of the Selenium WebDriverss.

    Trait that helps you provide different fixtures to different tests: a Application, a TestServer, or one of the Selenium WebDriverss.

    Trait MixedFixtures can be mixed into any fixture.Suite. For convenience it is mixed into MixedPlaySpec. In a fixture.Suite, tests can take a no-arg function. MixedFixtures provides several no-arg function classes (classes extending Function0) that can be used to provide different fixtures for different tests.

    If a test needs a Application, use the App function, like this:

    "provide an Application" in new App(fakeApp("ehcacheplugin" -> "disabled")) {
      override def running() = app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
    }
    

    If a test needs an Application and running TestServer, use the Server function, like this:

    "send 404 on a bad request" in new Server {
      override def running() = {
        import java.net._
        val url = new URL("http://localhost:" + port + "/boom")
        val con = url.openConnection().asInstanceOf[HttpURLConnection]
        try con.getResponseCode mustBe 404
        finally con.disconnect()
      }
    }
    

    If a test needs an Application, running TestServer, and Selenium driver, use one of functions Chrome, Firefox, HtmlUnit, InternetExplorer, or Safari. If the chosen Selenium driver is unavailable on the host platform, the test will be automatically canceled. Here's an example that uses the Safari function:

    "provide a web driver" in new Safari(fakeApp()) {
      override def running() = {
        go to ("http://localhost:" + port + "/testing")
        pageTitle mustBe "Test Page"
        click on find(name("b")).value
        eventually { pageTitle mustBe "scalatest" }
      }
    }
    

    Here's a complete example:

    package org.scalatestplus.play.examples.mixedfixtures
    
    import play.api.test._
    import org.scalatestplus.play._
    import play.api.{Play, Application}
    import play.api.inject.guice._
    import play.api.routing._
    
    class ExampleSpec extends MixedPlaySpec {
    
      // Some helper methods
      def buildApp[A](elems: (String, String)*) = new GuiceApplicationBuilder()
        .configure(Map(elems:_*))
        .router(TestRoutes.router)
        .build()
    
      def getConfig(key: String)(implicit app: Application) = app.configuration.getOptional[String](key)
    
      "The App function" must {
        "provide an Application" in new App(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new App(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = getConfig("ehcacheplugin") mustBe Some("disabled")
        }
      }
      "The Server function" must {
        "provide an Application" in new Server(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new Server(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new Server {
          override def running() = {
            import java.net._
            val url = new URL("http://localhost:" + port + "/boom")
            val con = url.openConnection().asInstanceOf[HttpURLConnection]
            try con.getResponseCode mustBe 404
            finally con.disconnect()
          }
        }
      }
      "The HtmlUnit function" must {
        "provide an Application" in new HtmlUnit(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new HtmlUnit(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new HtmlUnit {
          override def running() = {
            import java.net._
            val url = new URL("http://localhost:" + port + "/boom")
            val con = url.openConnection().asInstanceOf[HttpURLConnection]
            try con.getResponseCode mustBe 404
            finally con.disconnect()
          }
        }
        "provide a web driver" in new HtmlUnit(buildApp()) {
          override def running() = {
            go to ("http://localhost:" + port + "/testing")
            pageTitle mustBe "Test Page"
            click on find(name("b")).value
            eventually { pageTitle mustBe "scalatest" }
          }
        }
      }
      "The Firefox function" must {
        "provide an Application" in new Firefox(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new Firefox(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new Firefox {
          override def running() = {
            import java.net._
            val url = new URL("http://localhost:" + port + "/boom")
            val con = url.openConnection().asInstanceOf[HttpURLConnection]
            try con.getResponseCode mustBe 404
            finally con.disconnect()
          }
        }
        "provide a web driver" in new Firefox(buildApp()) {
          override def running() = {
            go to ("http://localhost:" + port + "/testing")
            pageTitle mustBe "Test Page"
            click on find(name("b")).value
            eventually { pageTitle mustBe "scalatest" }
          }
        }
      }
      "The Safari function" must {
        "provide an Application" in new Safari(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new Safari(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new Safari {
          override def running() = {
            import java.net._
            val url = new URL("http://localhost:" + port + "/boom")
            val con = url.openConnection().asInstanceOf[HttpURLConnection]
            try con.getResponseCode mustBe 404
            finally con.disconnect()
          }
        }
        "provide a web driver" in new Safari(buildApp()) {
          override def running() = {
            go to ("http://localhost:" + port + "/testing")
            pageTitle mustBe "Test Page"
            click on find(name("b")).value
            eventually { pageTitle mustBe "scalatest" }
          }
        }
      }
      "The Chrome function" must {
        "provide an Application" in new Chrome(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new Chrome(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new Chrome {
          override def running() = {
            import java.net._
            val url = new URL("http://localhost:" + port + "/boom")
            val con = url.openConnection().asInstanceOf[HttpURLConnection]
            try con.getResponseCode mustBe 404
            finally con.disconnect()
          }
        }
        "provide a web driver" in new Chrome(buildApp()) {
          override def running() = {
            go to ("http://localhost:" + port + "/testing")
            pageTitle mustBe "Test Page"
            click on find(name("b")).value
            eventually { pageTitle mustBe "scalatest" }
          }
        }
      }
      "The InternetExplorer function" must {
        "provide an Application" in new InternetExplorer(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new InternetExplorer(buildApp("ehcacheplugin" -> "disabled")) {
          override def running() = getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new InternetExplorer {
          override def running() = {
            import java.net._
            val url = new URL("http://localhost:" + port + "/boom")
            val con = url.openConnection().asInstanceOf[HttpURLConnection]
            try con.getResponseCode mustBe 404
            finally con.disconnect()
          }
        }
        "provide a web driver" in new InternetExplorer(buildApp()) {
          override def running() = {
            go to ("http://localhost:" + port + "/testing")
            pageTitle mustBe "Test Page"
            click on find(name("b")).value
            eventually { pageTitle mustBe "scalatest" }
          }
        }
      }
      "Any old thing" must {
        "be doable without much boilerplate" in { () =>
           1 + 1 mustEqual 2
         }
      }
    }
    

    Definition Classes
    play
  • App
  • Chrome
  • Firefox
  • HtmlUnit
  • InternetExplorer
  • NoArgHelper
  • Safari
  • Server

abstract class Chrome extends (MixedFixtures.this)#NoArgHelper with WebBrowser with ChromeFactory

NoArg subclass that provides a fixture composed of an Application, running TestServer, and Selenium ChromeDriver.

Source
MixedFixtures.scala
Linear Supertypes
ChromeFactory, BrowserFactory, WebBrowser, (MixedFixtures.this)#NoArgHelper, NoArg, () => Unit, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Chrome
  2. ChromeFactory
  3. BrowserFactory
  4. WebBrowser
  5. NoArgHelper
  6. NoArg
  7. Function0
  8. DelayedInit
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Chrome(appFun: => Application = new GuiceApplicationBuilder().build(), port: Int = Helpers.testServerPort)

Type Members

  1. final class ActiveElementTarget extends SwitchTarget[Element]
    Definition Classes
    WebBrowser
  2. final class AlertTarget extends SwitchTarget[Alert]
    Definition Classes
    WebBrowser
  3. final class Checkbox extends Element
    Definition Classes
    WebBrowser
  4. case class ClassNameQuery extends Query with Product with Serializable
    Definition Classes
    WebBrowser
  5. final class ColorField extends ValueElement
    Definition Classes
    WebBrowser
  6. class CookiesNoun extends AnyRef
    Definition Classes
    WebBrowser
  7. case class CssSelectorQuery extends Query with Product with Serializable
    Definition Classes
    WebBrowser
  8. final class DateField extends ValueElement
    Definition Classes
    WebBrowser
  9. final class DateTimeField extends ValueElement
    Definition Classes
    WebBrowser
  10. final class DateTimeLocalField extends ValueElement
    Definition Classes
    WebBrowser
  11. final class DefaultContentTarget extends SwitchTarget[WebDriver]
    Definition Classes
    WebBrowser
  12. case class Dimension extends Product with Serializable
    Definition Classes
    WebBrowser
  13. sealed trait Element extends AnyRef
    Definition Classes
    WebBrowser
  14. final class EmailField extends ValueElement
    Definition Classes
    WebBrowser
  15. final class FrameElementTarget extends SwitchTarget[WebDriver]
    Definition Classes
    WebBrowser
  16. final class FrameIndexTarget extends SwitchTarget[WebDriver]
    Definition Classes
    WebBrowser
  17. final class FrameNameOrIdTarget extends SwitchTarget[WebDriver]
    Definition Classes
    WebBrowser
  18. final class FrameWebElementTarget extends SwitchTarget[WebDriver]
    Definition Classes
    WebBrowser
  19. case class IdQuery extends Query with Product with Serializable
    Definition Classes
    WebBrowser
  20. case class LinkTextQuery extends Query with Product with Serializable
    Definition Classes
    WebBrowser
  21. final class MonthField extends ValueElement
    Definition Classes
    WebBrowser
  22. class MultiSel extends Element
    Definition Classes
    WebBrowser
  23. class MultiSelOptionSeq extends IndexedSeq[String]
    Definition Classes
    WebBrowser
  24. case class NameQuery extends Query with Product with Serializable
    Definition Classes
    WebBrowser
  25. final class NumberField extends ValueElement
    Definition Classes
    WebBrowser
  26. case class PartialLinkTextQuery extends Query with Product with Serializable
    Definition Classes
    WebBrowser
  27. final class PasswordField extends Element
    Definition Classes
    WebBrowser
  28. case class Point extends Product with Serializable
    Definition Classes
    WebBrowser
  29. sealed trait Query extends Product with Serializable
    Definition Classes
    WebBrowser
  30. final class RadioButton extends Element
    Definition Classes
    WebBrowser
  31. final class RadioButtonGroup extends AnyRef
    Definition Classes
    WebBrowser
  32. final class RangeField extends ValueElement
    Definition Classes
    WebBrowser
  33. final class SearchField extends ValueElement
    Definition Classes
    WebBrowser
  34. class SingleSel extends Element
    Definition Classes
    WebBrowser
  35. sealed abstract class SwitchTarget[T] extends AnyRef
    Definition Classes
    WebBrowser
  36. case class TagNameQuery extends Query with Product with Serializable
    Definition Classes
    WebBrowser
  37. final class TelField extends ValueElement
    Definition Classes
    WebBrowser
  38. final class TextArea extends Element
    Definition Classes
    WebBrowser
  39. final class TextField extends Element
    Definition Classes
    WebBrowser
  40. final class TimeField extends ValueElement
    Definition Classes
    WebBrowser
  41. final class UrlField extends ValueElement
    Definition Classes
    WebBrowser
  42. trait ValueElement extends Element
    Definition Classes
    WebBrowser
  43. final class WeekField extends ValueElement
    Definition Classes
    WebBrowser
  44. final class WindowTarget extends SwitchTarget[WebDriver]
    Definition Classes
    WebBrowser
  45. final class WrappedCookie extends AnyRef
    Definition Classes
    WebBrowser
  46. case class XPathQuery extends Query with Product with Serializable
    Definition Classes
    WebBrowser

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val activeElement: ActiveElementTarget
    Definition Classes
    WebBrowser
  5. def addCookie(name: String, value: String, path: String, expiry: Date, domain: String, secure: Boolean)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  6. val alertBox: AlertTarget
    Definition Classes
    WebBrowser
  7. lazy val app: Application

    The lazy instance created from passed appFun

  8. def apply(): Unit

    Runs a TestServer using the passed-in Application and port before executing the test body, which can use the ChromeDriver provided by webDriver, ensuring all are are stopped after the test body completes.

    Runs a TestServer using the passed-in Application and port before executing the test body, which can use the ChromeDriver provided by webDriver, ensuring all are are stopped after the test body completes.

    Definition Classes
    Chrome → NoArg → Function0
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. final def callRunning(): Boolean
    Definition Classes
    NoArgHelper
  11. def captureTo(fileName: String)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  12. def checkbox(queryString: String)(implicit driver: WebDriver, pos: Position): Checkbox
    Definition Classes
    WebBrowser
  13. def checkbox(query: Query)(implicit driver: WebDriver, pos: Position): Checkbox
    Definition Classes
    WebBrowser
  14. def chromeDriverService: ChromeDriverService

    Default ChromeDriverService used to create a ChromeDriver instance.

    Default ChromeDriverService used to create a ChromeDriver instance. Override to provide different service.

    Definition Classes
    ChromeFactory
  15. lazy val chromeOptions: ChromeOptions

    Default ChromeOptions used to create a ChromeDriver instance.

    Default ChromeOptions used to create a ChromeDriver instance. Override to provide different options.

    Definition Classes
    ChromeFactory
  16. def className(className: String): ClassNameQuery
    Definition Classes
    WebBrowser
  17. def clickOn(element: Element): Unit
    Definition Classes
    WebBrowser
  18. def clickOn(queryString: String)(implicit driver: WebDriver, pos: Position): Unit
    Definition Classes
    WebBrowser
  19. def clickOn(query: Query)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  20. def clickOn(element: WebElement): Unit
    Definition Classes
    WebBrowser
  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  22. def close()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  23. def colorField(queryString: String)(implicit driver: WebDriver, pos: Position): ColorField
    Definition Classes
    WebBrowser
  24. def colorField(query: Query)(implicit driver: WebDriver, pos: Position): ColorField
    Definition Classes
    WebBrowser
  25. def cookie(name: String)(implicit driver: WebDriver, pos: Position): WrappedCookie
    Definition Classes
    WebBrowser
  26. val cookies: CookiesNoun
    Definition Classes
    WebBrowser
  27. def createWebDriver(): WebDriver

    Creates a new instance of a Selenium ChromeDriver, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicated the driver was not supported on the host platform and an appropriate error message.

    Creates a new instance of a Selenium ChromeDriver, or returns a BrowserFactory.UnavailableDriver that includes the exception that indicated the driver was not supported on the host platform and an appropriate error message.

    returns

    an new instance of a Selenium ChromeDriver, or a BrowserFactory.UnavailableDriver if it is not available on the host platform.

    Definition Classes
    ChromeFactoryBrowserFactory
    See also

    chromeOptions and chromeDriverService.

  28. def cssSelector(cssSelector: String): CssSelectorQuery
    Definition Classes
    WebBrowser
  29. def currentUrl(implicit driver: WebDriver): String
    Definition Classes
    WebBrowser
  30. def dateField(queryString: String)(implicit driver: WebDriver, pos: Position): DateField
    Definition Classes
    WebBrowser
  31. def dateField(query: Query)(implicit driver: WebDriver, pos: Position): DateField
    Definition Classes
    WebBrowser
  32. def dateTimeField(queryString: String)(implicit driver: WebDriver, pos: Position): DateTimeField
    Definition Classes
    WebBrowser
  33. def dateTimeField(query: Query)(implicit driver: WebDriver, pos: Position): DateTimeField
    Definition Classes
    WebBrowser
  34. def dateTimeLocalField(queryString: String)(implicit driver: WebDriver, pos: Position): DateTimeLocalField
    Definition Classes
    WebBrowser
  35. def dateTimeLocalField(query: Query)(implicit driver: WebDriver, pos: Position): DateTimeLocalField
    Definition Classes
    WebBrowser
  36. val defaultContent: DefaultContentTarget
    Definition Classes
    WebBrowser
  37. final def delayedInit(body: => Unit): Unit
    Definition Classes
    NoArg → DelayedInit
  38. def deleteAllCookies()(implicit driver: WebDriver, pos: Position): Unit
    Definition Classes
    WebBrowser
  39. def deleteCookie(name: String)(implicit driver: WebDriver, pos: Position): Unit
    Definition Classes
    WebBrowser
  40. def emailField(queryString: String)(implicit driver: WebDriver, pos: Position): EmailField
    Definition Classes
    WebBrowser
  41. def emailField(query: Query)(implicit driver: WebDriver, pos: Position): EmailField
    Definition Classes
    WebBrowser
  42. def enter(value: String)(implicit driver: WebDriver, pos: Position): Unit
    Definition Classes
    WebBrowser
  43. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  45. lazy val errorMsg: String
    Definition Classes
    NoArgHelper
  46. def executeAsyncScript(script: String, args: AnyRef*)(implicit driver: WebDriver): AnyRef
    Definition Classes
    WebBrowser
  47. def executeScript[T](script: String, args: AnyRef*)(implicit driver: WebDriver): AnyRef
    Definition Classes
    WebBrowser
  48. def find(queryString: String)(implicit driver: WebDriver): Option[Element]
    Definition Classes
    WebBrowser
  49. def find(query: Query)(implicit driver: WebDriver): Option[Element]
    Definition Classes
    WebBrowser
  50. def findAll(queryString: String)(implicit driver: WebDriver): Iterator[Element]
    Definition Classes
    WebBrowser
  51. def findAll(query: Query)(implicit driver: WebDriver): Iterator[Element]
    Definition Classes
    WebBrowser
  52. def frame(query: Query)(implicit driver: WebDriver, pos: Position): FrameWebElementTarget
    Definition Classes
    WebBrowser
  53. def frame(element: Element): FrameElementTarget
    Definition Classes
    WebBrowser
  54. def frame(element: WebElement): FrameWebElementTarget
    Definition Classes
    WebBrowser
  55. def frame(nameOrId: String): FrameNameOrIdTarget
    Definition Classes
    WebBrowser
  56. def frame(index: Int): FrameIndexTarget
    Definition Classes
    WebBrowser
  57. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  58. def goBack()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  59. def goForward()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  60. def goTo(page: Page)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  61. def goTo(url: String)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  62. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  63. def id(elementId: String): IdQuery
    Definition Classes
    WebBrowser
  64. implicit def implicitApp: Application

    Makes the passed in Application implicit.

  65. def implicitlyWait(timeout: Span)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  66. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  67. def isScreenshotSupported(implicit driver: WebDriver): Boolean
    Definition Classes
    WebBrowser
  68. def linkText(linkText: String): LinkTextQuery
    Definition Classes
    WebBrowser
  69. def monthField(queryString: String)(implicit driver: WebDriver, pos: Position): MonthField
    Definition Classes
    WebBrowser
  70. def monthField(query: Query)(implicit driver: WebDriver, pos: Position): MonthField
    Definition Classes
    WebBrowser
  71. def multiSel(queryString: String)(implicit driver: WebDriver, pos: Position): MultiSel
    Definition Classes
    WebBrowser
  72. def multiSel(query: Query)(implicit driver: WebDriver, pos: Position): MultiSel
    Definition Classes
    WebBrowser
  73. def name(elementName: String): NameQuery
    Definition Classes
    WebBrowser
  74. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  75. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  76. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  77. def numberField(queryString: String)(implicit driver: WebDriver, pos: Position): NumberField
    Definition Classes
    WebBrowser
  78. def numberField(query: Query)(implicit driver: WebDriver, pos: Position): NumberField
    Definition Classes
    WebBrowser
  79. def pageSource(implicit driver: WebDriver): String
    Definition Classes
    WebBrowser
  80. def pageTitle(implicit driver: WebDriver): String
    Definition Classes
    WebBrowser
  81. def partialLinkText(partialLinkText: String): PartialLinkTextQuery
    Definition Classes
    WebBrowser
  82. var port: Int
  83. implicit def portNumber: PortNumber

    Implicit PortNumber method that wraps port.

    Implicit PortNumber method that wraps port. The value returned from portNumber.value will be same as the value of port.

  84. def pressKeys(value: String)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  85. def pwdField(queryString: String)(implicit driver: WebDriver, pos: Position): PasswordField
    Definition Classes
    WebBrowser
  86. def pwdField(query: Query)(implicit driver: WebDriver, pos: Position): PasswordField
    Definition Classes
    WebBrowser
  87. def quit()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  88. def radioButton(queryString: String)(implicit driver: WebDriver, pos: Position): RadioButton
    Definition Classes
    WebBrowser
  89. def radioButton(query: Query)(implicit driver: WebDriver, pos: Position): RadioButton
    Definition Classes
    WebBrowser
  90. def radioButtonGroup(groupName: String)(implicit driver: WebDriver, pos: Position): RadioButtonGroup
    Definition Classes
    WebBrowser
  91. def rangeField(queryString: String)(implicit driver: WebDriver, pos: Position): RangeField
    Definition Classes
    WebBrowser
  92. def rangeField(query: Query)(implicit driver: WebDriver, pos: Position): RangeField
    Definition Classes
    WebBrowser
  93. def reloadPage()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  94. def running(): Unit
    Definition Classes
    NoArgHelper
  95. def searchField(queryString: String)(implicit driver: WebDriver, pos: Position): SearchField
    Definition Classes
    WebBrowser
  96. def searchField(query: Query)(implicit driver: WebDriver, pos: Position): SearchField
    Definition Classes
    WebBrowser
  97. def setCaptureDir(targetDirPath: String): Unit
    Definition Classes
    WebBrowser
  98. def setScriptTimeout(timeout: Span)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  99. def singleSel(queryString: String)(implicit driver: WebDriver, pos: Position): SingleSel
    Definition Classes
    WebBrowser
  100. def singleSel(query: Query)(implicit driver: WebDriver, pos: Position): SingleSel
    Definition Classes
    WebBrowser
  101. final val styleName: Int
    Definition Classes
    NoArg
  102. def submit()(implicit driver: WebDriver, pos: Position): Unit
    Definition Classes
    WebBrowser
  103. def switchTo[T](target: SwitchTarget[T])(implicit driver: WebDriver, pos: Position): T
    Definition Classes
    WebBrowser
  104. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  105. def tagName(tagName: String): TagNameQuery
    Definition Classes
    WebBrowser
  106. def telField(queryString: String)(implicit driver: WebDriver, pos: Position): TelField
    Definition Classes
    WebBrowser
  107. def telField(query: Query)(implicit driver: WebDriver, pos: Position): TelField
    Definition Classes
    WebBrowser
  108. def textArea(queryString: String)(implicit driver: WebDriver, pos: Position): TextArea
    Definition Classes
    WebBrowser
  109. def textArea(query: Query)(implicit driver: WebDriver, pos: Position): TextArea
    Definition Classes
    WebBrowser
  110. def textField(queryString: String)(implicit driver: WebDriver, pos: Position): TextField
    Definition Classes
    WebBrowser
  111. def textField(query: Query)(implicit driver: WebDriver, pos: Position): TextField
    Definition Classes
    WebBrowser
  112. def timeField(queryString: String)(implicit driver: WebDriver, pos: Position): TimeField
    Definition Classes
    WebBrowser
  113. def timeField(query: Query)(implicit driver: WebDriver, pos: Position): TimeField
    Definition Classes
    WebBrowser
  114. def toString(): String
    Definition Classes
    Function0 → AnyRef → Any
  115. def urlField(queryString: String)(implicit driver: WebDriver, pos: Position): UrlField
    Definition Classes
    WebBrowser
  116. def urlField(query: Query)(implicit driver: WebDriver, pos: Position): UrlField
    Definition Classes
    WebBrowser
  117. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  118. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  119. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  120. implicit lazy val webDriver: WebDriver

    A lazy implicit instance of ChromeDriver, it will hold UnavailableDriver if ChromeDriver is not available in the running machine.

  121. def weekField(queryString: String)(implicit driver: WebDriver, pos: Position): WeekField
    Definition Classes
    WebBrowser
  122. def weekField(query: Query)(implicit driver: WebDriver, pos: Position): WeekField
    Definition Classes
    WebBrowser
  123. def window(nameOrHandle: String): WindowTarget
    Definition Classes
    WebBrowser
  124. def windowHandle(implicit driver: WebDriver): String
    Definition Classes
    WebBrowser
  125. def windowHandles(implicit driver: WebDriver): Set[String]
    Definition Classes
    WebBrowser
  126. def withScreenshot[T](fun: => T)(implicit driver: WebDriver): T
    Definition Classes
    WebBrowser
  127. def xpath(xpath: String): XPathQuery
    Definition Classes
    WebBrowser

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ChromeFactory

Inherited from BrowserFactory

Inherited from WebBrowser

Inherited from (MixedFixtures.this)#NoArgHelper

Inherited from NoArg

Inherited from () => Unit

Inherited from DelayedInit

Inherited from AnyRef

Inherited from Any

Ungrouped