By Class
Item Index
Properties
- className static
- cssSelector static
- id static
- linkText static
- name static
- partialLinkText static
- tagName static
- xpath static
Properties
className
Strategy
static
Returns an element whose class name contains the search value; compound class names are not permitted.
cssSelector
Strategy
static
Returns an element matching a CSS selector.
id
Strategy
static
Returns an element whose ID
attribute matches the search value.
linkText
Strategy
static
Returns an anchor element whose visible text matches the search value.
name
Strategy
static
Returns an element whose NAME
attribute matches the search value.
partialLinkText
Strategy
static
Returns an anchor element whose visible text partially matches the search value.
tagName
Strategy
static
Returns an element whose tag name matches the search value.
xpath
Strategy
static
Returns an element matching an XPath expression.