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 Safari extends (MixedFixtures.this)#NoArgHelper with WebBrowser with SafariFactory

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

Source
MixedFixtures.scala
Linear Supertypes
SafariFactory, BrowserFactory, WebBrowser, (MixedFixtures.this)#NoArgHelper, NoArg, () => Unit, DelayedInit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Safari
  2. SafariFactory
  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 Safari(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 SafariDriver 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 SafariDriver provided by webDriver, ensuring all are are stopped after the test body completes.

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

    Creates a new instance of a Selenium SafariDriver, 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 SafariDriver, 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 SafariDriver, or a BrowserFactory.UnavailableDriver if a Safari driver is not available on the host platform.

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

    Makes the passed in Application implicit.

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

  82. def pressKeys(value: String)(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  83. def pwdField(queryString: String)(implicit driver: WebDriver, pos: Position): PasswordField
    Definition Classes
    WebBrowser
  84. def pwdField(query: Query)(implicit driver: WebDriver, pos: Position): PasswordField
    Definition Classes
    WebBrowser
  85. def quit()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  86. def radioButton(queryString: String)(implicit driver: WebDriver, pos: Position): RadioButton
    Definition Classes
    WebBrowser
  87. def radioButton(query: Query)(implicit driver: WebDriver, pos: Position): RadioButton
    Definition Classes
    WebBrowser
  88. def radioButtonGroup(groupName: String)(implicit driver: WebDriver, pos: Position): RadioButtonGroup
    Definition Classes
    WebBrowser
  89. def rangeField(queryString: String)(implicit driver: WebDriver, pos: Position): RangeField
    Definition Classes
    WebBrowser
  90. def rangeField(query: Query)(implicit driver: WebDriver, pos: Position): RangeField
    Definition Classes
    WebBrowser
  91. def reloadPage()(implicit driver: WebDriver): Unit
    Definition Classes
    WebBrowser
  92. def running(): Unit
    Definition Classes
    NoArgHelper
  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(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  116. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  117. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  118. implicit lazy val webDriver: WebDriver

    A lazy implicit instance of SafariDriver, it will hold UnavailableDriver if SafariDriver 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

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 SafariFactory

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