trait ValueElement extends Element
- Alphabetic
- By Inheritance
- ValueElement
- Element
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
-   abstract  val underlying: WebElementThe underlying WebElementwrapped by thisElementThe underlying WebElementwrapped by thisElement- Definition Classes
- ValueElement → Element
 
Concrete Value Members
-   final  def !=(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def ##: Int- Definition Classes
- AnyRef → Any
 
-   final  def ==(arg0: Any): Boolean- Definition Classes
- AnyRef → Any
 
-   final  def asInstanceOf[T0]: T0- Definition Classes
- Any
 
-    def attribute(name: String): Option[String]The attribute value of the given attribute name of this element, wrapped in a Some, orNoneif no such attribute exists on thisElement.The attribute value of the given attribute name of this element, wrapped in a Some, orNoneif no such attribute exists on thisElement.This method invokes getAttributeon the underlyingWebElement, passing in the specifiedname.- returns
- the attribute with the given name, wrapped in a - Some, else- None
 - Definition Classes
- Element
 
-    def childElement(query: Query)(implicit pos: Position = implicitly[source.Position]): ElementReturns the first child Elementselected by the provided query, or throwsTestFailedExceptionif noElementis selected.Returns the first child Elementselected by the provided query, or throwsTestFailedExceptionif noElementis selected.The class of the Elementreturned will be a subtype ofElementif appropriate. For example, if this query selects a text field, the class of the returnedElementwill beTextField.- query
- the - Queryused to lookup the child element
- returns
- the child - Elementselected by the provided query
 - Definition Classes
- Element
- Exceptions thrown
- TestFailedExceptionif nothing is selected by the provided query
 
-    def childWebElement(query: Query)(implicit pos: Position = implicitly[source.Position]): WebElementReturns the first WebElementselected by the provided query, or throwsTestFailedExceptionif noWebElementis selected.Returns the first WebElementselected by the provided query, or throwsTestFailedExceptionif noWebElementis selected.- query
- the - Queryused to lookup the child element
- returns
- the child - WebElementselected by the provided query
 - Definition Classes
- Element
- Exceptions thrown
- TestFailedExceptionif nothing is selected by the provided query
 
-    def clear(): UnitClears this field. 
-    def clone(): AnyRef- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
 
-   final  def eq(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-    def equals(other: Any): BooleanReturns the result of invoking equalson the underlyingElement, passing in the specifiedotherobject.Returns the result of invoking equalson the underlyingElement, passing in the specifiedotherobject.- 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
 
-    def finalize(): Unit- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
 
-    def findAllChildElements(query: Query)(implicit pos: Position = implicitly[source.Position]): Iterator[Element]Returns an Iteratorover all childElements selected by the provided query.Returns an Iteratorover all childElements selected by the provided query.The class of the Elements produced by the returnedIteratorwill be a subtypes ofElementif appropriate. For example, if anElementrepresenting a text field is returned by theIterator, the class of the returnedElementwill beTextField.If no Elementsare selected by the provided query, this method will return an emptyIteratorwill be returned.- query
- the - Queryused to lookup the child elements
- returns
- the - Iteratorover all- Elements selected by the provided query
 - Definition Classes
- Element
 
-    def findChildElement(query: Query)(implicit pos: Position = implicitly[source.Position]): Option[Element]Returns the first child Elementselected by the provided query, wrapped in aSome, orNoneif noElementis selected.Returns the first child Elementselected by the provided query, wrapped in aSome, orNoneif noElementis selected.The class of the Elementreturned will be a subtype ofElementif appropriate. For example, if this query selects a text field, the class of the returnedElementwill beTextField.- query
- the - Queryused to lookup the child element
- returns
- the child - Elementselected by the provided query, wrapped in a- Some, or- Noneif no- Elementis selected
 - Definition Classes
- Element
 
-   final  def getClass(): Class[_ <: AnyRef]- Definition Classes
- AnyRef → Any
- Annotations
- @native()
 
-    def hashCode(): IntReturns the result of invoking hashCodeon the underlyingElement.Returns the result of invoking hashCodeon the underlyingElement.- returns
- a hash code for this object 
 - Definition Classes
- Element → AnyRef → Any
 
-    def isDisplayed: BooleanIndicates whether this Elementis displayed.Indicates whether this Elementis displayed.This invokes isDisplayedon the underlyingWebElement.- returns
- trueif the element is currently displayed
 - Definition Classes
- Element
 
-    def isEnabled: BooleanIndicates whether this Elementis enabled.Indicates whether this Elementis enabled.This invokes isEnabledon the underlyingWebElement, which will generally returntruefor everything but disabled input elements.- returns
- trueif the element is currently enabled
 - Definition Classes
- Element
 
-   final  def isInstanceOf[T0]: Boolean- Definition Classes
- Any
 
-    def isSelected: BooleanIndicates whether this Elementis selected.Indicates whether this Elementis selected.This method, which invokes isSelectedon the underlyingWebElement, 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 returnfalse.- returns
- trueif the element is currently selected or checked
 - Definition Classes
- Element
 
-    def location: PointThe XY location of the top-left corner of this Element.The XY location of the top-left corner of this Element.This invokes getLocationon the underlyingWebElement.- returns
- the location of the top-left corner of this element on the page 
 - Definition Classes
- Element
 
-   final  def ne(arg0: AnyRef): Boolean- Definition Classes
- AnyRef
 
-   final  def notify(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-   final  def notifyAll(): Unit- Definition Classes
- AnyRef
- Annotations
- @native()
 
-    def size: DimensionThe width/height size of this Element.The width/height size of this Element.This invokes getSizeon the underlyingWebElement.- returns
- the size of the element on the page 
 - Definition Classes
- Element
 
-   final  def synchronized[T0](arg0: => T0): T0- Definition Classes
- AnyRef
 
-    def tagName: StringThe tag name of this element. The tag name of this element. This method invokes getTagNameon the underlyingWebElement. Note it returns the name of the tag, not the value of the of thenameattribute. 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
 
-    def text: StringReturns 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
 
-    def toString(): StringReturns the result of invoking toStringon the underlyingElement.Returns the result of invoking toStringon the underlyingElement.- returns
- a string representation of this object 
 - Definition Classes
- Element → AnyRef → Any
 
-    def value: StringGets this field's value. Gets this field's value. This method invokes getAttribute("value")on the underlyingWebElement.- returns
- the field's value 
 
-    def value_=(value: String)(implicit driver: WebDriver): UnitSets this field's value. Sets this field's value. - value
- the new value 
 
-   final  def wait(): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long, arg1: Int): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
 
-   final  def wait(arg0: Long): Unit- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()