Trait

org.pageobject.core.dsl

LocatorDsl

Related Doc: package dsl

Permalink

trait LocatorDsl extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LocatorDsl
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def $(query: Query)(implicit reference: OwnPageReference): UntypedLocator

    Permalink

    Finds and returns the first DOM Element selected by the specified Query, calls TestHelper.failTest if element not found or more then one element was found.

    Finds and returns the first DOM Element selected by the specified Query, calls TestHelper.failTest if element not found or more then one element was found.

    query

    the Query with which to search

    returns

    the Untyped element selected by this query

    Attributes
    protected
  4. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  5. def a(query: Query)(implicit reference: OwnPageReference): HtmlLocator

    Permalink
    Attributes
    protected
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def button(query: Query)(implicit reference: OwnPageReference): ButtonLocator

    Permalink

    Finds and returns the first button or input type="button" selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a button.

    Finds and returns the first button or input type="button" selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a button.

    query

    the Query with which to search

    returns

    the TextField selected by this query

    Attributes
    protected
  8. def checkbox(query: Query)(implicit reference: OwnPageReference): CheckboxLocator

    Permalink

    Finds and returns the first Checkbox selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a Checkbox.

    Finds and returns the first Checkbox selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a Checkbox.

    query

    the Query with which to search

    returns

    the Checkbox selected by this query

    Attributes
    protected
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def colorField(query: Query)(implicit reference: OwnPageReference): ColorFieldLocator

    Permalink

    Finds and returns the first ColorField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a ColorField.

    Finds and returns the first ColorField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a ColorField.

    query

    the Query with which to search

    returns

    the ColorField selected by this query

    Attributes
    protected
  11. def dateField(query: Query)(implicit reference: OwnPageReference): DateFieldLocator

    Permalink

    Finds and returns the first DateField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a DateField.

    Finds and returns the first DateField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a DateField.

    query

    the Query with which to search

    returns

    the DateField selected by this query

    Attributes
    protected
  12. def dateTimeField(query: Query)(implicit reference: OwnPageReference): DateTimeFieldLocator

    Permalink

    Finds and returns the first DateTimeField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a DateTimeField.

    Finds and returns the first DateTimeField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a DateTimeField.

    query

    the Query with which to search

    returns

    the DateTimeField selected by this query

    Attributes
    protected
  13. def dateTimeLocalField(query: Query)(implicit reference: OwnPageReference): DateTimeLocalFieldLocator

    Permalink

    Finds and returns the first DateTimeLocalField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a DateTimeLocalField.

    Finds and returns the first DateTimeLocalField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a DateTimeLocalField.

    query

    the Query with which to search

    returns

    the DateTimeLocalField selected by this query

    Attributes
    protected
  14. def div(query: Query)(implicit reference: OwnPageReference): HtmlLocator

    Permalink
    Attributes
    protected
  15. def emailField(query: Query)(implicit reference: OwnPageReference): EmailFieldLocator

    Permalink

    Finds and returns the first EmailField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a EmailField.

    Finds and returns the first EmailField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a EmailField.

    query

    the Query with which to search

    returns

    the EmailField selected by this query

    Attributes
    protected
  16. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  21. def html(tag: String)(query: Query)(implicit reference: OwnPageReference): HtmlLocator

    Permalink
    Attributes
    protected
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def monthField(query: Query)(implicit reference: OwnPageReference): MonthFieldLocator

    Permalink

    Finds and returns the first MonthField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a MonthField.

    Finds and returns the first MonthField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a MonthField.

    query

    the Query with which to search

    returns

    the MonthField selected by this query

    Attributes
    protected
  24. def multiSel(query: Query)(implicit reference: OwnPageReference): MultiSelLocator

    Permalink

    Finds and returns the first MultiSel selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a MultiSel.

    Finds and returns the first MultiSel selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a MultiSel.

    query

    the Query with which to search

    returns

    the MultiSel selected by this query

    Attributes
    protected
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def numberField(query: Query)(implicit reference: OwnPageReference): NumberFieldLocator

    Permalink

    Finds and returns the first NumberField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a NumberField.

    Finds and returns the first NumberField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a NumberField.

    query

    the Query with which to search

    returns

    the NumberField selected by this query

    Attributes
    protected
  29. def passwordField(query: Query)(implicit reference: OwnPageReference): PasswordFieldLocator

    Permalink

    Finds and returns the first PasswordField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a PasswordField.

    Finds and returns the first PasswordField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a PasswordField.

    query

    the Query with which to search

    returns

    the PasswordField selected by this query

    Attributes
    protected
  30. def radioButton(query: Query)(implicit reference: OwnPageReference): RadioButtonLocator

    Permalink

    Finds and returns the first RadioButton selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a RadioButton.

    Finds and returns the first RadioButton selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a RadioButton.

    query

    the Query with which to search

    returns

    the RadioButton selected by this query

    Attributes
    protected
  31. def radioButtonGroup(groupName: String)(implicit driver: WebDriver): RadioButtonGroup

    Permalink

    Finds and returns RadioButtonGroup selected by the specified group name, calls TestHelper.failTest if no element with the specified group name is found, or found any element with the specified group name but not a RadioButton

    Finds and returns RadioButtonGroup selected by the specified group name, calls TestHelper.failTest if no element with the specified group name is found, or found any element with the specified group name but not a RadioButton

    groupName

    the group name with which to search

    driver

    the WebDriver with which to drive the browser

    returns

    the RadioButtonGroup selected by this query

    Attributes
    protected
  32. def rangeField(query: Query)(implicit reference: OwnPageReference): RangeFieldLocator

    Permalink

    Finds and returns the first RangeField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a RangeField.

    Finds and returns the first RangeField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a RangeField.

    query

    the Query with which to search

    returns

    the RangeField selected by this query

    Attributes
    protected
  33. def searchField(query: Query)(implicit reference: OwnPageReference): SearchFieldLocator

    Permalink

    Finds and returns the first SearchField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a SearchField.

    Finds and returns the first SearchField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a SearchField.

    query

    the Query with which to search

    returns

    the SearchField selected by this query

    Attributes
    protected
  34. def singleSel(query: Query)(implicit reference: OwnPageReference): SingleSelLocator

    Permalink

    Finds and returns the first SingleSel selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a SingleSel.

    Finds and returns the first SingleSel selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a SingleSel.

    query

    the Query with which to search

    returns

    the SingleSel selected by this query

    Attributes
    protected
  35. def span(query: Query)(implicit reference: OwnPageReference): HtmlLocator

    Permalink
    Attributes
    protected
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def telField(query: Query)(implicit reference: OwnPageReference): TelFieldLocator

    Permalink

    Finds and returns the first TelField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a TelField.

    Finds and returns the first TelField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a TelField.

    query

    the Query with which to search

    returns

    the TelField selected by this query

    Attributes
    protected
  38. def textArea(query: Query)(implicit reference: OwnPageReference): TextAreaLocator

    Permalink

    Finds and returns the first TextArea selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a TextArea.

    Finds and returns the first TextArea selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a TextArea.

    query

    the Query with which to search

    returns

    the TextArea selected by this query

    Attributes
    protected
  39. def textField(query: Query)(implicit reference: OwnPageReference): TextFieldLocator

    Permalink

    Finds and returns the first TextField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a TextField.

    Finds and returns the first TextField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a TextField.

    query

    the Query with which to search

    returns

    the TextField selected by this query

    Attributes
    protected
  40. def timeField(query: Query)(implicit reference: OwnPageReference): TimeFieldLocator

    Permalink

    Finds and returns the first TimeField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a TimeField.

    Finds and returns the first TimeField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a TimeField.

    query

    the Query with which to search

    returns

    the TimeField selected by this query

    Attributes
    protected
  41. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  42. def urlField(query: Query)(implicit reference: OwnPageReference): UrlFieldLocator

    Permalink

    Finds and returns the first UrlField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a UrlField.

    Finds and returns the first UrlField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a UrlField.

    query

    the Query with which to search

    returns

    the UrlField selected by this query

    Attributes
    protected
  43. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def weekField(query: Query)(implicit reference: OwnPageReference): WeekFieldLocator

    Permalink

    Finds and returns the first WeekField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a WeekField.

    Finds and returns the first WeekField selected by the specified Query, calls TestHelper.failTest if element not found or the found element is not a WeekField.

    query

    the Query with which to search

    returns

    the WeekField selected by this query

    Attributes
    protected

Inherited from AnyRef

Inherited from Any

Ungrouped