Class

org.pageobject.core.api

TelField

Related Doc: package api

Permalink

case class TelField(factory: ElementFactory) extends Element with Product with Serializable

This class is part of the PageObject DSL.

This class enables syntax such as the following:

telField("q").value should be ("911-911-9191")

factory

the ElementFactory representing a tel field

Linear Supertypes
Serializable, Serializable, Product, Equals, Element, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TelField
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Element
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TelField(factory: ElementFactory)

    Permalink

    factory

    the ElementFactory representing a tel field

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def attribute(name: String): Option[String]

    Permalink

    The attribute value of the given attribute name of this element, wrapped in a Some, or None if no such attribute exists on this Element.

    The attribute value of the given attribute name of this element, wrapped in a Some, or None if no such attribute exists on this Element.

    This method invokes getAttribute on the underlying WebElement, passing in the specified name.

    returns

    the attribute with the given name, wrapped in a Some, else None

    Definition Classes
    Element
  6. def clear(): Unit

    Permalink

    Clears this element.

    Clears this element.

    Definition Classes
    Element
  7. def click(): Unit

    Permalink

    Clicks this element.

    Clicks this element.

    Definition Classes
    Element
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def css(name: String): Option[String]

    Permalink

    The value for the given css attribute of this element, wrapped in a Some, or None if no such css attribute exists on this Element.

    The value for the given css attribute of this element, wrapped in a Some, or None if no such css attribute exists on this Element.

    This method invokes getCssValue on the underlying WebElement, passing in the specified name.

    returns

    the attribute with the given name, wrapped in a Some, else None

    Definition Classes
    Element
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean

    Permalink

    Returns the result of invoking equals on the underlying Element, passing in the specified other object.

    Returns the result of invoking equals on the underlying Element, passing in the specified other object.

    other

    the object with which to compare for equality

    returns

    true if the passed object is equal to this one

    Definition Classes
    Element → AnyRef → Any
  12. val factory: ElementFactory

    Permalink

    the ElementFactory representing a tel field

    the ElementFactory representing a tel field

    Definition Classes
    TelFieldElement
  13. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hasFocus: Boolean

    Permalink
    Definition Classes
    Element
  16. def hashCode(): Int

    Permalink

    Returns the result of invoking hashCode on the underlying Element.

    Returns the result of invoking hashCode on the underlying Element.

    returns

    a hash code for this object

    Definition Classes
    Element → AnyRef → Any
  17. def isDisplayed: Boolean

    Permalink

    Indicates whether this Element is displayed.

    Indicates whether this Element is displayed.

    This invokes isDisplayed on the underlying WebElement.

    returns

    true if the element is currently displayed

    Definition Classes
    Element
  18. def isEnabled: Boolean

    Permalink

    Indicates whether this Element is enabled.

    Indicates whether this Element is enabled.

    This invokes isEnabled on the underlying WebElement, which will generally return true for everything but disabled input elements.

    returns

    true if the element is currently enabled

    Definition Classes
    Element
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isSelected: Boolean

    Permalink

    Indicates whether this Element is selected.

    Indicates whether this Element is selected.

    This method, which invokes isSelected on the underlying WebElement, is relevant only for input elements such as checkboxes, options in a single- or multiple-selection list box, and radio buttons. For any other element it will simply return false.

    returns

    true if the element is currently selected or checked

    Definition Classes
    Element
  21. def location: Point

    Permalink

    The XY location of the top-left corner of this Element.

    The XY location of the top-left corner of this Element.

    This invokes getLocation on the underlying WebElement.

    returns

    the location of the top-left corner of this element on the page

    Definition Classes
    Element
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def retry[T](retryOn: (Throwable) ⇒ Boolean*)(what: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Element
  26. def sendKeys(value: String): Unit

    Permalink

    Send keys to the Element.

    Send keys to the Element.

    value

    the keys to send

    Definition Classes
    Element
  27. def size: Dimension

    Permalink

    The width/height size of this Element.

    The width/height size of this Element.

    This invokes getSize on the underlying WebElement.

    returns

    the size of the element on the page

    Definition Classes
    Element
  28. def submit(): Unit

    Permalink

    Submits the current form.

    Submits the current form.

    Definition Classes
    Element
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def tagName: String

    Permalink

    The tag name of this element.

    The tag name of this element.

    This method invokes getTagName on the underlying WebElement. Note it returns the name of the tag, not the value of the of the name attribute. For example, it will return will return "input" for the element <input name="city" />, not "city".

    returns

    the tag name of this element

    Definition Classes
    Element
  31. def text: String

    Permalink

    Returns the visible (i.e., not hidden by CSS) text of this element, including sub-elements, without any leading or trailing whitespace.

    Returns the visible (i.e., not hidden by CSS) text of this element, including sub-elements, without any leading or trailing whitespace.

    returns

    the visible text enclosed by this element, or an empty string, if the element encloses no visible text

    Definition Classes
    Element
  32. def toString(): String

    Permalink

    Returns the result of invoking toString on the underlying Element.

    Returns the result of invoking toString on the underlying Element.

    returns

    a string representation of this object

    Definition Classes
    Element → AnyRef → Any
  33. def underlying: WebElement

    Permalink
    Attributes
    protected[org.pageobject]
    Definition Classes
    Element
  34. def value: String

    Permalink

    Gets this field's value.

    Gets this field's value.

    This method invokes getAttribute("value") on the underlying WebElement.

    returns

    the field's value

    Definition Classes
    Element
  35. def value_=(value: String): Unit

    Permalink

    Sets this field's value.

    Sets this field's value.

    value

    the new value

    Definition Classes
    Element
  36. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Element

Inherited from AnyRef

Inherited from Any

Ungrouped