org.scalatestplus.play.MixedFixtures

Safari

abstract class Safari extends WebBrowser with NoArg with SafariFactory

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

Linear Supertypes
SafariFactory, BrowserFactory, NoArg, () ⇒ Unit, DelayedInit, WebBrowser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Safari
  2. SafariFactory
  3. BrowserFactory
  4. NoArg
  5. Function0
  6. DelayedInit
  7. WebBrowser
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Safari(app: FakeApplication = ..., port: Int = ...)

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 Element with 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 Element with ValueElement

    Definition Classes
    WebBrowser
  9. final class DateTimeField extends Element with ValueElement

    Definition Classes
    WebBrowser
  10. final class DateTimeLocalField extends Element with 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 Element with 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 Element with 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 Element with ValueElement

    Definition Classes
    WebBrowser
  26. trait Page extends AnyRef

    Definition Classes
    WebBrowser
  27. case class PartialLinkTextQuery extends Query with Product with Serializable

    Definition Classes
    WebBrowser
  28. final class PasswordField extends Element

    Definition Classes
    WebBrowser
  29. case class Point extends Product with Serializable

    Definition Classes
    WebBrowser
  30. sealed trait Query extends AnyRef

    Definition Classes
    WebBrowser
  31. final class RadioButton extends Element

    Definition Classes
    WebBrowser
  32. final class RadioButtonGroup extends AnyRef

    Definition Classes
    WebBrowser
  33. final class RangeField extends Element with ValueElement

    Definition Classes
    WebBrowser
  34. final class SearchField extends Element with ValueElement

    Definition Classes
    WebBrowser
  35. class SingleSel extends Element

    Definition Classes
    WebBrowser
  36. sealed abstract class SwitchTarget[T] extends AnyRef

    Definition Classes
    WebBrowser
  37. case class TagNameQuery extends Query with Product with Serializable

    Definition Classes
    WebBrowser
  38. final class TelField extends Element with ValueElement

    Definition Classes
    WebBrowser
  39. final class TextArea extends Element

    Definition Classes
    WebBrowser
  40. final class TextField extends Element

    Definition Classes
    WebBrowser
  41. final class TimeField extends Element with ValueElement

    Definition Classes
    WebBrowser
  42. final class UrlField extends Element with ValueElement

    Definition Classes
    WebBrowser
  43. trait ValueElement extends Element

    Definition Classes
    WebBrowser
  44. final class WeekField extends Element with ValueElement

    Definition Classes
    WebBrowser
  45. final class WindowTarget extends SwitchTarget[WebDriver]

    Definition Classes
    WebBrowser
  46. final class WrappedCookie extends AnyRef

    Definition Classes
    WebBrowser
  47. case class XPathQuery extends Query with Product with Serializable

    Definition Classes
    WebBrowser

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val activeElement: ActiveElementTarget

    Definition Classes
    WebBrowser
  7. def addCookie(name: String, value: String, path: String, expiry: Date, domain: String, secure: Boolean)(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  8. val alertBox: AlertTarget

    Definition Classes
    WebBrowser
  9. val app: FakeApplication

  10. def apply(): Unit

    Runs a TestServer using the passed-in FakeApplication 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 FakeApplication 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
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def captureTo(fileName: String)(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  13. def checkbox(queryString: String)(implicit driver: WebDriver): Checkbox

    Definition Classes
    WebBrowser
  14. def checkbox(query: Query)(implicit driver: WebDriver): Checkbox

    Definition Classes
    WebBrowser
  15. def className(className: String): ClassNameQuery

    Definition Classes
    WebBrowser
  16. def clickOn(element: Element): Unit

    Definition Classes
    WebBrowser
  17. def clickOn(queryString: String)(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  18. def clickOn(query: Query)(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  19. def clickOn(element: WebElement): Unit

    Definition Classes
    WebBrowser
  20. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def close()(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  22. def colorField(queryString: String)(implicit driver: WebDriver): ColorField

    Definition Classes
    WebBrowser
  23. def colorField(query: Query)(implicit driver: WebDriver): ColorField

    Definition Classes
    WebBrowser
  24. def cookie(name: String)(implicit driver: WebDriver): WrappedCookie

    Definition Classes
    WebBrowser
  25. val cookies: CookiesNoun

    Definition Classes
    WebBrowser
  26. 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
  27. def cssSelector(cssSelector: String): CssSelectorQuery

    Definition Classes
    WebBrowser
  28. def currentUrl(implicit driver: WebDriver): String

    Definition Classes
    WebBrowser
  29. def dateField(queryString: String)(implicit driver: WebDriver): DateField

    Definition Classes
    WebBrowser
  30. def dateField(query: Query)(implicit driver: WebDriver): DateField

    Definition Classes
    WebBrowser
  31. def dateTimeField(queryString: String)(implicit driver: WebDriver): DateTimeField

    Definition Classes
    WebBrowser
  32. def dateTimeField(query: Query)(implicit driver: WebDriver): DateTimeField

    Definition Classes
    WebBrowser
  33. def dateTimeLocalField(queryString: String)(implicit driver: WebDriver): DateTimeLocalField

    Definition Classes
    WebBrowser
  34. def dateTimeLocalField(query: Query)(implicit driver: WebDriver): DateTimeLocalField

    Definition Classes
    WebBrowser
  35. val defaultContent: DefaultContentTarget

    Definition Classes
    WebBrowser
  36. final def delayedInit(body: ⇒ Unit): Unit

    Definition Classes
    NoArg → DelayedInit
  37. def deleteAllCookies()(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  38. def deleteCookie(name: String)(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  39. def emailField(queryString: String)(implicit driver: WebDriver): EmailField

    Definition Classes
    WebBrowser
  40. def emailField(query: Query)(implicit driver: WebDriver): EmailField

    Definition Classes
    WebBrowser
  41. def enter(value: String)(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  42. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  43. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  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 finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  47. def find(queryString: String)(implicit driver: WebDriver): Option[Element]

    Definition Classes
    WebBrowser
  48. def find(query: Query)(implicit driver: WebDriver): Option[Element]

    Definition Classes
    WebBrowser
  49. def findAll(queryString: String)(implicit driver: WebDriver): Iterator[Element]

    Definition Classes
    WebBrowser
  50. def findAll(query: Query)(implicit driver: WebDriver): Iterator[Element]

    Definition Classes
    WebBrowser
  51. def frame(query: Query)(implicit driver: WebDriver): 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
  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
  62. def id(elementId: String): IdQuery

    Definition Classes
    WebBrowser
  63. implicit def implicitApp: FakeApplication

    Makes the passed in FakeApplication 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): MonthField

    Definition Classes
    WebBrowser
  69. def monthField(query: Query)(implicit driver: WebDriver): MonthField

    Definition Classes
    WebBrowser
  70. def multiSel(queryString: String)(implicit driver: WebDriver): MultiSel

    Definition Classes
    WebBrowser
  71. def multiSel(query: Query)(implicit driver: WebDriver): 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
  75. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  76. def numberField(queryString: String)(implicit driver: WebDriver): NumberField

    Definition Classes
    WebBrowser
  77. def numberField(query: Query)(implicit driver: WebDriver): 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): PasswordField

    Definition Classes
    WebBrowser
  85. def pwdField(query: Query)(implicit driver: WebDriver): PasswordField

    Definition Classes
    WebBrowser
  86. def quit()(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  87. def radioButton(queryString: String)(implicit driver: WebDriver): RadioButton

    Definition Classes
    WebBrowser
  88. def radioButton(query: Query)(implicit driver: WebDriver): RadioButton

    Definition Classes
    WebBrowser
  89. def radioButtonGroup(groupName: String)(implicit driver: WebDriver): RadioButtonGroup

    Definition Classes
    WebBrowser
  90. def rangeField(queryString: String)(implicit driver: WebDriver): RangeField

    Definition Classes
    WebBrowser
  91. def rangeField(query: Query)(implicit driver: WebDriver): RangeField

    Definition Classes
    WebBrowser
  92. def reloadPage()(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  93. def searchField(queryString: String)(implicit driver: WebDriver): SearchField

    Definition Classes
    WebBrowser
  94. def searchField(query: Query)(implicit driver: WebDriver): 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): SingleSel

    Definition Classes
    WebBrowser
  98. def singleSel(query: Query)(implicit driver: WebDriver): SingleSel

    Definition Classes
    WebBrowser
  99. final val styleName: Int

    Definition Classes
    NoArg
  100. def submit()(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  101. def switchTo[T](target: SwitchTarget[T])(implicit driver: WebDriver): 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): TelField

    Definition Classes
    WebBrowser
  105. def telField(query: Query)(implicit driver: WebDriver): TelField

    Definition Classes
    WebBrowser
  106. def textArea(queryString: String)(implicit driver: WebDriver): TextArea

    Definition Classes
    WebBrowser
  107. def textArea(query: Query)(implicit driver: WebDriver): TextArea

    Definition Classes
    WebBrowser
  108. def textField(queryString: String)(implicit driver: WebDriver): TextField

    Definition Classes
    WebBrowser
  109. def textField(query: Query)(implicit driver: WebDriver): TextField

    Definition Classes
    WebBrowser
  110. def timeField(queryString: String)(implicit driver: WebDriver): TimeField

    Definition Classes
    WebBrowser
  111. def timeField(query: Query)(implicit driver: WebDriver): TimeField

    Definition Classes
    WebBrowser
  112. def toString(): String

    Definition Classes
    Function0 → AnyRef → Any
  113. def urlField(queryString: String)(implicit driver: WebDriver): UrlField

    Definition Classes
    WebBrowser
  114. def urlField(query: Query)(implicit driver: WebDriver): 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
    @throws( ... )
  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): WeekField

    Definition Classes
    WebBrowser
  120. def weekField(query: Query)(implicit driver: WebDriver): 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(fun: ⇒ Unit)(implicit driver: WebDriver): Unit

    Definition Classes
    WebBrowser
  125. def xpath(xpath: String): XPathQuery

    Definition Classes
    WebBrowser

Inherited from SafariFactory

Inherited from BrowserFactory

Inherited from NoArg

Inherited from () ⇒ Unit

Inherited from DelayedInit

Inherited from WebBrowser

Inherited from AnyRef

Inherited from Any

Ungrouped