org.pageobject.core.dsl

LocatorDsl

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
Learn more about member selection
Visibility
  1. Public
  2. All

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. def $(query: Query)(implicit reference: OwnPageReference): UntypedLocator

    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
  5. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  7. def a(query: Query)(implicit reference: OwnPageReference): HtmlLocator

    Attributes
    protected
  8. final def asInstanceOf[T0]: T0

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

    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
  10. def checkbox(query: Query)(implicit reference: OwnPageReference): CheckboxLocator

    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
  11. def clone(): AnyRef

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

    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
  13. def dateField(query: Query)(implicit reference: OwnPageReference): DateFieldLocator

    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
  14. def dateTimeField(query: Query)(implicit reference: OwnPageReference): DateTimeFieldLocator

    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
  15. def dateTimeLocalField(query: Query)(implicit reference: OwnPageReference): DateTimeLocalFieldLocator

    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
  16. def div(query: Query)(implicit reference: OwnPageReference): HtmlLocator

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

    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
  18. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Attributes
    protected
  24. final def isInstanceOf[T0]: Boolean

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

    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
  26. def multiSel(query: Query)(implicit reference: OwnPageReference): MultiSelLocator

    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
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

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

    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
  31. def passwordField(query: Query)(implicit reference: OwnPageReference): PasswordFieldLocator

    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
  32. def radioButton(query: Query)(implicit reference: OwnPageReference): RadioButtonLocator

    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
  33. def radioButtonGroup(groupName: String)(implicit driver: WebDriver): RadioButtonGroup

    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
  34. def rangeField(query: Query)(implicit reference: OwnPageReference): RangeFieldLocator

    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
  35. def searchField(query: Query)(implicit reference: OwnPageReference): SearchFieldLocator

    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
  36. def singleSel(query: Query)(implicit reference: OwnPageReference): SingleSelLocator

    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
  37. def span(query: Query)(implicit reference: OwnPageReference): HtmlLocator

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

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

    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
  40. def textArea(query: Query)(implicit reference: OwnPageReference): TextAreaLocator

    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
  41. def textField(query: Query)(implicit reference: OwnPageReference): TextFieldLocator

    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
  42. def timeField(query: Query)(implicit reference: OwnPageReference): TimeFieldLocator

    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
  43. def toString(): String

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

    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
  45. final def wait(): Unit

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

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

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

    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