Class

org.scalatestplus.play.MixedFixtures

Safari

Related Doc: package MixedFixtures

Permalink

abstract class Safari extends WebBrowser with NoArg with SafariFactory

NoArg subclass that provides a fixture composed of an Application, 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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Safari(appFun: ⇒ Application = ..., port: Int = Helpers.testServerPort)

    Permalink

Type Members

  1. final class ActiveElementTarget extends SwitchTarget[Element]

    Permalink
    Definition Classes
    WebBrowser
  2. final class AlertTarget extends SwitchTarget[Alert]

    Permalink
    Definition Classes
    WebBrowser
  3. final class Checkbox extends Element

    Permalink
    Definition Classes
    WebBrowser
  4. case class ClassNameQuery extends Query with Product with Serializable

    Permalink
    Definition Classes
    WebBrowser
  5. final class ColorField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  6. class CookiesNoun extends AnyRef

    Permalink
    Definition Classes
    WebBrowser
  7. case class CssSelectorQuery extends Query with Product with Serializable

    Permalink
    Definition Classes
    WebBrowser
  8. final class DateField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  9. final class DateTimeField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  10. final class DateTimeLocalField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  11. final class DefaultContentTarget extends SwitchTarget[WebDriver]

    Permalink
    Definition Classes
    WebBrowser
  12. case class Dimension extends Product with Serializable

    Permalink
    Definition Classes
    WebBrowser
  13. sealed trait Element extends AnyRef

    Permalink
    Definition Classes
    WebBrowser
  14. final class EmailField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  15. final class FrameElementTarget extends SwitchTarget[WebDriver]

    Permalink
    Definition Classes
    WebBrowser
  16. final class FrameIndexTarget extends SwitchTarget[WebDriver]

    Permalink
    Definition Classes
    WebBrowser
  17. final class FrameNameOrIdTarget extends SwitchTarget[WebDriver]

    Permalink
    Definition Classes
    WebBrowser
  18. final class FrameWebElementTarget extends SwitchTarget[WebDriver]

    Permalink
    Definition Classes
    WebBrowser
  19. case class IdQuery extends Query with Product with Serializable

    Permalink
    Definition Classes
    WebBrowser
  20. case class LinkTextQuery extends Query with Product with Serializable

    Permalink
    Definition Classes
    WebBrowser
  21. final class MonthField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  22. class MultiSel extends Element

    Permalink
    Definition Classes
    WebBrowser
  23. class MultiSelOptionSeq extends IndexedSeq[String]

    Permalink
    Definition Classes
    WebBrowser
  24. case class NameQuery extends Query with Product with Serializable

    Permalink
    Definition Classes
    WebBrowser
  25. final class NumberField extends ValueElement

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

    Permalink
    Definition Classes
    WebBrowser
  27. final class PasswordField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  28. case class Point extends Product with Serializable

    Permalink
    Definition Classes
    WebBrowser
  29. sealed trait Query extends Product with Serializable

    Permalink
    Definition Classes
    WebBrowser
  30. final class RadioButton extends Element

    Permalink
    Definition Classes
    WebBrowser
  31. final class RadioButtonGroup extends AnyRef

    Permalink
    Definition Classes
    WebBrowser
  32. final class RangeField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  33. final class SearchField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  34. class SingleSel extends Element

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

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

    Permalink
    Definition Classes
    WebBrowser
  37. final class TelField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  38. final class TextArea extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  39. final class TextField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  40. final class TimeField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  41. final class UrlField extends ValueElement

    Permalink
    Definition Classes
    WebBrowser
  42. trait ValueElement extends Element

    Permalink
    Definition Classes
    WebBrowser
  43. final class WeekField extends ValueElement

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

    Permalink
    Definition Classes
    WebBrowser
  45. final class WrappedCookie extends AnyRef

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

    Permalink
    Definition Classes
    WebBrowser

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. val activeElement: ActiveElementTarget

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

    Permalink
    Definition Classes
    WebBrowser
  6. val alertBox: AlertTarget

    Permalink
    Definition Classes
    WebBrowser
  7. lazy val app: Application

    Permalink

    The lazy instance created from passed appFun

    The lazy instance created from passed appFun

  8. def apply(): Unit

    Permalink

    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

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

    Permalink
    Definition Classes
    WebBrowser
  11. def checkbox(queryString: String)(implicit driver: WebDriver, pos: Position): Checkbox

    Permalink
    Definition Classes
    WebBrowser
  12. def checkbox(query: Query)(implicit driver: WebDriver, pos: Position): Checkbox

    Permalink
    Definition Classes
    WebBrowser
  13. def className(className: String): ClassNameQuery

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

    Permalink
    Definition Classes
    WebBrowser
  15. def clickOn(queryString: String)(implicit driver: WebDriver, pos: Position): Unit

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

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

    Permalink
    Definition Classes
    WebBrowser
  18. def clone(): AnyRef

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

    Permalink
    Definition Classes
    WebBrowser
  20. def colorField(queryString: String)(implicit driver: WebDriver, pos: Position): ColorField

    Permalink
    Definition Classes
    WebBrowser
  21. def colorField(query: Query)(implicit driver: WebDriver, pos: Position): ColorField

    Permalink
    Definition Classes
    WebBrowser
  22. def cookie(name: String)(implicit driver: WebDriver, pos: Position): WrappedCookie

    Permalink
    Definition Classes
    WebBrowser
  23. val cookies: CookiesNoun

    Permalink
    Definition Classes
    WebBrowser
  24. def createWebDriver(): WebDriver

    Permalink

    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
  25. def cssSelector(cssSelector: String): CssSelectorQuery

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

    Permalink
    Definition Classes
    WebBrowser
  27. def dateField(queryString: String)(implicit driver: WebDriver, pos: Position): DateField

    Permalink
    Definition Classes
    WebBrowser
  28. def dateField(query: Query)(implicit driver: WebDriver, pos: Position): DateField

    Permalink
    Definition Classes
    WebBrowser
  29. def dateTimeField(queryString: String)(implicit driver: WebDriver, pos: Position): DateTimeField

    Permalink
    Definition Classes
    WebBrowser
  30. def dateTimeField(query: Query)(implicit driver: WebDriver, pos: Position): DateTimeField

    Permalink
    Definition Classes
    WebBrowser
  31. def dateTimeLocalField(queryString: String)(implicit driver: WebDriver, pos: Position): DateTimeLocalField

    Permalink
    Definition Classes
    WebBrowser
  32. def dateTimeLocalField(query: Query)(implicit driver: WebDriver, pos: Position): DateTimeLocalField

    Permalink
    Definition Classes
    WebBrowser
  33. val defaultContent: DefaultContentTarget

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

    Permalink
    Definition Classes
    NoArg → DelayedInit
  35. def deleteAllCookies()(implicit driver: WebDriver, pos: Position): Unit

    Permalink
    Definition Classes
    WebBrowser
  36. def deleteCookie(name: String)(implicit driver: WebDriver, pos: Position): Unit

    Permalink
    Definition Classes
    WebBrowser
  37. def emailField(queryString: String)(implicit driver: WebDriver, pos: Position): EmailField

    Permalink
    Definition Classes
    WebBrowser
  38. def emailField(query: Query)(implicit driver: WebDriver, pos: Position): EmailField

    Permalink
    Definition Classes
    WebBrowser
  39. def enter(value: String)(implicit driver: WebDriver, pos: Position): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  42. def executeAsyncScript(script: String, args: AnyRef*)(implicit driver: WebDriver): AnyRef

    Permalink
    Definition Classes
    WebBrowser
  43. def executeScript[T](script: String, args: AnyRef*)(implicit driver: WebDriver): AnyRef

    Permalink
    Definition Classes
    WebBrowser
  44. def finalize(): Unit

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

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

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

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

    Permalink
    Definition Classes
    WebBrowser
  49. def frame(query: Query)(implicit driver: WebDriver, pos: Position): FrameWebElementTarget

    Permalink
    Definition Classes
    WebBrowser
  50. def frame(element: Element): FrameElementTarget

    Permalink
    Definition Classes
    WebBrowser
  51. def frame(element: WebElement): FrameWebElementTarget

    Permalink
    Definition Classes
    WebBrowser
  52. def frame(nameOrId: String): FrameNameOrIdTarget

    Permalink
    Definition Classes
    WebBrowser
  53. def frame(index: Int): FrameIndexTarget

    Permalink
    Definition Classes
    WebBrowser
  54. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  55. def goBack()(implicit driver: WebDriver): Unit

    Permalink
    Definition Classes
    WebBrowser
  56. def goForward()(implicit driver: WebDriver): Unit

    Permalink
    Definition Classes
    WebBrowser
  57. def goTo(page: Page)(implicit driver: WebDriver): Unit

    Permalink
    Definition Classes
    WebBrowser
  58. def goTo(url: String)(implicit driver: WebDriver): Unit

    Permalink
    Definition Classes
    WebBrowser
  59. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  60. def id(elementId: String): IdQuery

    Permalink
    Definition Classes
    WebBrowser
  61. implicit def implicitApp: Application

    Permalink

    Makes the passed in Application implicit.

  62. def implicitlyWait(timeout: Span)(implicit driver: WebDriver): Unit

    Permalink
    Definition Classes
    WebBrowser
  63. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  64. def isScreenshotSupported(implicit driver: WebDriver): Boolean

    Permalink
    Definition Classes
    WebBrowser
  65. def linkText(linkText: String): LinkTextQuery

    Permalink
    Definition Classes
    WebBrowser
  66. def monthField(queryString: String)(implicit driver: WebDriver, pos: Position): MonthField

    Permalink
    Definition Classes
    WebBrowser
  67. def monthField(query: Query)(implicit driver: WebDriver, pos: Position): MonthField

    Permalink
    Definition Classes
    WebBrowser
  68. def multiSel(queryString: String)(implicit driver: WebDriver, pos: Position): MultiSel

    Permalink
    Definition Classes
    WebBrowser
  69. def multiSel(query: Query)(implicit driver: WebDriver, pos: Position): MultiSel

    Permalink
    Definition Classes
    WebBrowser
  70. def name(elementName: String): NameQuery

    Permalink
    Definition Classes
    WebBrowser
  71. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  72. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  73. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  74. def numberField(queryString: String)(implicit driver: WebDriver, pos: Position): NumberField

    Permalink
    Definition Classes
    WebBrowser
  75. def numberField(query: Query)(implicit driver: WebDriver, pos: Position): NumberField

    Permalink
    Definition Classes
    WebBrowser
  76. def pageSource(implicit driver: WebDriver): String

    Permalink
    Definition Classes
    WebBrowser
  77. def pageTitle(implicit driver: WebDriver): String

    Permalink
    Definition Classes
    WebBrowser
  78. def partialLinkText(partialLinkText: String): PartialLinkTextQuery

    Permalink
    Definition Classes
    WebBrowser
  79. val port: Int

    Permalink
  80. implicit lazy val portNumber: PortNumber

    Permalink

    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.

  81. def pressKeys(value: String)(implicit driver: WebDriver): Unit

    Permalink
    Definition Classes
    WebBrowser
  82. def pwdField(queryString: String)(implicit driver: WebDriver, pos: Position): PasswordField

    Permalink
    Definition Classes
    WebBrowser
  83. def pwdField(query: Query)(implicit driver: WebDriver, pos: Position): PasswordField

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

    Permalink
    Definition Classes
    WebBrowser
  85. def radioButton(queryString: String)(implicit driver: WebDriver, pos: Position): RadioButton

    Permalink
    Definition Classes
    WebBrowser
  86. def radioButton(query: Query)(implicit driver: WebDriver, pos: Position): RadioButton

    Permalink
    Definition Classes
    WebBrowser
  87. def radioButtonGroup(groupName: String)(implicit driver: WebDriver, pos: Position): RadioButtonGroup

    Permalink
    Definition Classes
    WebBrowser
  88. def rangeField(queryString: String)(implicit driver: WebDriver, pos: Position): RangeField

    Permalink
    Definition Classes
    WebBrowser
  89. def rangeField(query: Query)(implicit driver: WebDriver, pos: Position): RangeField

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

    Permalink
    Definition Classes
    WebBrowser
  91. def searchField(queryString: String)(implicit driver: WebDriver, pos: Position): SearchField

    Permalink
    Definition Classes
    WebBrowser
  92. def searchField(query: Query)(implicit driver: WebDriver, pos: Position): SearchField

    Permalink
    Definition Classes
    WebBrowser
  93. def setCaptureDir(targetDirPath: String): Unit

    Permalink
    Definition Classes
    WebBrowser
  94. def setScriptTimeout(timeout: Span)(implicit driver: WebDriver): Unit

    Permalink
    Definition Classes
    WebBrowser
  95. def singleSel(queryString: String)(implicit driver: WebDriver, pos: Position): SingleSel

    Permalink
    Definition Classes
    WebBrowser
  96. def singleSel(query: Query)(implicit driver: WebDriver, pos: Position): SingleSel

    Permalink
    Definition Classes
    WebBrowser
  97. final val styleName: Int

    Permalink
    Definition Classes
    NoArg
  98. def submit()(implicit driver: WebDriver, pos: Position): Unit

    Permalink
    Definition Classes
    WebBrowser
  99. def switchTo[T](target: SwitchTarget[T])(implicit driver: WebDriver, pos: Position): T

    Permalink
    Definition Classes
    WebBrowser
  100. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  101. def tagName(tagName: String): TagNameQuery

    Permalink
    Definition Classes
    WebBrowser
  102. def telField(queryString: String)(implicit driver: WebDriver, pos: Position): TelField

    Permalink
    Definition Classes
    WebBrowser
  103. def telField(query: Query)(implicit driver: WebDriver, pos: Position): TelField

    Permalink
    Definition Classes
    WebBrowser
  104. def textArea(queryString: String)(implicit driver: WebDriver, pos: Position): TextArea

    Permalink
    Definition Classes
    WebBrowser
  105. def textArea(query: Query)(implicit driver: WebDriver, pos: Position): TextArea

    Permalink
    Definition Classes
    WebBrowser
  106. def textField(queryString: String)(implicit driver: WebDriver, pos: Position): TextField

    Permalink
    Definition Classes
    WebBrowser
  107. def textField(query: Query)(implicit driver: WebDriver, pos: Position): TextField

    Permalink
    Definition Classes
    WebBrowser
  108. def timeField(queryString: String)(implicit driver: WebDriver, pos: Position): TimeField

    Permalink
    Definition Classes
    WebBrowser
  109. def timeField(query: Query)(implicit driver: WebDriver, pos: Position): TimeField

    Permalink
    Definition Classes
    WebBrowser
  110. def toString(): String

    Permalink
    Definition Classes
    Function0 → AnyRef → Any
  111. def urlField(queryString: String)(implicit driver: WebDriver, pos: Position): UrlField

    Permalink
    Definition Classes
    WebBrowser
  112. def urlField(query: Query)(implicit driver: WebDriver, pos: Position): UrlField

    Permalink
    Definition Classes
    WebBrowser
  113. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  114. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  115. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  116. implicit lazy val webDriver: WebDriver

    Permalink

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

  117. def weekField(queryString: String)(implicit driver: WebDriver, pos: Position): WeekField

    Permalink
    Definition Classes
    WebBrowser
  118. def weekField(query: Query)(implicit driver: WebDriver, pos: Position): WeekField

    Permalink
    Definition Classes
    WebBrowser
  119. def window(nameOrHandle: String): WindowTarget

    Permalink
    Definition Classes
    WebBrowser
  120. def windowHandle(implicit driver: WebDriver): String

    Permalink
    Definition Classes
    WebBrowser
  121. def windowHandles(implicit driver: WebDriver): Set[String]

    Permalink
    Definition Classes
    WebBrowser
  122. def withScreenshot[T](fun: ⇒ T)(implicit driver: WebDriver): T

    Permalink
    Definition Classes
    WebBrowser
  123. def xpath(xpath: String): XPathQuery

    Permalink
    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