- getText
Get the visible (i.e. not hidden by CSS) text of this element, including
sub-elements.
- click
Click this element. If this causes a new page to load, you should discard all
references to this ele
- sendKeys
Use this method to simulate typing into an element, which may set its value.
- getAttribute
Get the value of the given attribute of the element. Will return the current
value, even if this has
- clear
If this element is a text entry element, this will clear the value. Has no
effect on other elements.
- isDisplayed
Is this element displayed or not? This method avoids the problem of having to
parse an element's "st
- findElements
Find all elements within the current context using the given mechanism. When
using xpath be aware th
- isSelected
Determine whether or not this element is selected or not. This operation only
applies to input eleme
- findElement
Find the first WebElement using the given method. See the note in
#findElements(By) about finding vi
- getTagName
Get the tag name of this element. Not the value of the name attribute: will
return"input" for the el
- isEnabled
Is the element currently enabled or not? This will generally return true for
everything but disabled
- getLocation
Where on the page is the top left-hand corner of the rendered element?