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")) {
      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 {
      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()) {
      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")) {
          app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new App(buildApp("ehcacheplugin" -> "disabled")) {
          getConfig("ehcacheplugin") mustBe Some("disabled")
        }
      }
      "The Server function" must {
        "provide an Application" in new Server(buildApp("ehcacheplugin" -> "disabled")) {
          app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new Server(buildApp("ehcacheplugin" -> "disabled")) {
          getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new Server {
          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")) {
          app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new HtmlUnit(buildApp("ehcacheplugin" -> "disabled")) {
          getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new HtmlUnit {
          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()) {
          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")) {
          app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new Firefox(buildApp("ehcacheplugin" -> "disabled")) {
          getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new Firefox {
          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()) {
          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")) {
          app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new Safari(buildApp("ehcacheplugin" -> "disabled")) {
          getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new Safari {
          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()) {
          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")) {
          app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new Chrome(buildApp("ehcacheplugin" -> "disabled")) {
          getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new Chrome {
          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()) {
          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")) {
          app.configuration.getOptional[String]("ehcacheplugin") mustBe Some("disabled")
        }
        "make the Application available implicitly" in new InternetExplorer(buildApp("ehcacheplugin" -> "disabled")) {
          getConfig("ehcacheplugin") mustBe Some("disabled")
        }
        import Helpers._
        "send 404 on a bad request" in new InternetExplorer {
          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()) {
          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
  • Safari
  • Server

abstract class Firefox extends WebBrowser with NoArg with FirefoxFactory

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

Source
MixedFixtures.scala
Linear Supertypes
FirefoxFactory, BrowserFactory, NoArg, () ⇒ Unit, DelayedInit, WebBrowser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Firefox
  2. FirefoxFactory
  3. BrowserFactory
  4. NoArg
  5. Function0
  6. DelayedInit
  7. WebBrowser
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Firefox(appFun: ⇒ Application = ..., 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 ValueElement
    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 ValueElement
    Definition Classes
    WebBrowser
  39. final class TextField extends ValueElement
    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 FirefoxDriver 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 FirefoxDriver provided by webDriver, ensuring all are are stopped after the test body completes.

    Definition Classes
    Firefox → NoArg → Function0
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def captureTo(fileName: String)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  11. def checkbox(queryString: String)(implicit driver: WebDriver, pos: Position): Checkbox
    Definition Classes
    WebBrowser
  12. def checkbox(query: Query)(implicit driver: WebDriver, pos: Position): Checkbox
    Definition Classes
    WebBrowser
  13. def className(className: String): ClassNameQuery
    Definition Classes
    WebBrowser
  14. def clickOn(element: Element): Unit
    Definition Classes
    WebBrowser
  15. def clickOn(queryString: String)(implicit driver: WebDriver, pos: Position): Unit
    Definition Classes
    WebBrowser
  16. def clickOn(query: Query)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  17. def clickOn(element: WebElement): Unit
    Definition Classes
    WebBrowser
  18. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  19. def close()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  20. def colorField(queryString: String)(implicit driver: WebDriver, pos: Position): ColorField
    Definition Classes
    WebBrowser
  21. def colorField(query: Query)(implicit driver: WebDriver, pos: Position): ColorField
    Definition Classes
    WebBrowser
  22. def cookie(name: String)(implicit driver: WebDriver, pos: Position): WrappedCookie
    Definition Classes
    WebBrowser
  23. val cookies: CookiesNoun
    Definition Classes
    WebBrowser
  24. def createWebDriver(): WebDriver

    Creates a new instance of a Selenium FirefoxDriver (using the FirefoxProfile provided by the firefoxProfile field), 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 FirefoxDriver (using the FirefoxProfile provided by the firefoxProfile field), 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 FirefoxDriver or a BrowserFactory.UnavailableDriver if a Firefox driver is not available on the host platform.

    Definition Classes
    FirefoxFactoryBrowserFactory
  25. def cssSelector(cssSelector: String): CssSelectorQuery
    Definition Classes
    WebBrowser
  26. def currentUrl(implicit driver: WebDriver): String
    Definition Classes
    WebBrowser
  27. def dateField(queryString: String)(implicit driver: WebDriver, pos: Position): DateField
    Definition Classes
    WebBrowser
  28. def dateField(query: Query)(implicit driver: WebDriver, pos: Position): DateField
    Definition Classes
    WebBrowser
  29. def dateTimeField(queryString: String)(implicit driver: WebDriver, pos: Position): DateTimeField
    Definition Classes
    WebBrowser
  30. def dateTimeField(query: Query)(implicit driver: WebDriver, pos: Position): DateTimeField
    Definition Classes
    WebBrowser
  31. def dateTimeLocalField(queryString: String)(implicit driver: WebDriver, pos: Position): DateTimeLocalField
    Definition Classes
    WebBrowser
  32. def dateTimeLocalField(query: Query)(implicit driver: WebDriver, pos: Position): DateTimeLocalField
    Definition Classes
    WebBrowser
  33. val defaultContent: DefaultContentTarget
    Definition Classes
    WebBrowser
  34. final def delayedInit(body: ⇒ Unit): Unit
    Definition Classes
    NoArg → DelayedInit
  35. def deleteAllCookies()(implicit driver: WebDriver, pos: Position): Unit
    Definition Classes
    WebBrowser
  36. def deleteCookie(name: String)(implicit driver: WebDriver, pos: Position): Unit
    Definition Classes
    WebBrowser
  37. def emailField(queryString: String)(implicit driver: WebDriver, pos: Position): EmailField
    Definition Classes
    WebBrowser
  38. def emailField(query: Query)(implicit driver: WebDriver, pos: Position): EmailField
    Definition Classes
    WebBrowser
  39. def enter(value: String)(implicit driver: WebDriver, pos: Position): Unit
    Definition Classes
    WebBrowser
  40. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  42. def executeAsyncScript(script: String, args: AnyRef*)(implicit driver: WebDriver): AnyRef
    Definition Classes
    WebBrowser
  43. def executeScript[T](script: String, args: AnyRef*)(implicit driver: WebDriver): AnyRef
    Definition Classes
    WebBrowser
  44. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  45. def find(queryString: String)(implicit driver: WebDriver): Option[Element]
    Definition Classes
    WebBrowser
  46. def find(query: Query)(implicit driver: WebDriver): Option[Element]
    Definition Classes
    WebBrowser
  47. def findAll(queryString: String)(implicit driver: WebDriver): Iterator[Element]
    Definition Classes
    WebBrowser
  48. def findAll(query: Query)(implicit driver: WebDriver): Iterator[Element]
    Definition Classes
    WebBrowser
  49. lazy val firefoxOptions: FirefoxOptions

    FirefoxOptions that is used to create new instance of FirefoxDriver.

    FirefoxOptions that is used to create new instance of FirefoxDriver. Override to provide different options.

    Definition Classes
    FirefoxFactory
  50. lazy val firefoxProfile: FirefoxProfile

    FirefoxProfile that is used to create new instance of FirefoxDriver.

    FirefoxProfile that is used to create new instance of FirefoxDriver. Override to provide a different profile.

    Definition Classes
    FirefoxFactory
  51. def frame(query: Query)(implicit driver: WebDriver, pos: Position): FrameWebElementTarget
    Definition Classes
    WebBrowser
  52. def frame(element: Element): FrameElementTarget
    Definition Classes
    WebBrowser
  53. def frame(element: WebElement): FrameWebElementTarget
    Definition Classes
    WebBrowser
  54. def frame(nameOrId: String): FrameNameOrIdTarget
    Definition Classes
    WebBrowser
  55. def frame(index: Int): FrameIndexTarget
    Definition Classes
    WebBrowser
  56. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  57. def goBack()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  58. def goForward()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  59. def goTo(page: Page)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  60. def goTo(url: String)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  61. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  62. def id(elementId: String): IdQuery
    Definition Classes
    WebBrowser
  63. implicit def implicitApp: Application

    Makes the passed in Application implicit.

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

    Implicit PortNumber instance that wraps port.

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

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

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

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

Inherited from FirefoxFactory

Inherited from BrowserFactory

Inherited from NoArg

Inherited from () ⇒ Unit

Inherited from DelayedInit

Inherited from WebBrowser

Inherited from AnyRef

Inherited from Any

Ungrouped