java.lang.Object | ||
↳ | com.atlassian.jira.functest.framework.locator.AbstractLocator | |
↳ | com.atlassian.jira.functest.framework.locator.CssLocator |
A CSS locator that uses JSOUP for the supported CSS selectors
At present it is a subset of jQuery CSS support so be a bit careful with the more tricky selectors
[Expand]
Inherited Fields | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.functest.framework.locator.AbstractLocator
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Locates org.w3c.dom.Node's using the specified net.sourceforge.jwebunit.WebTester
| |||||||||||
Locates org.w3c.dom.Node's starting from the specified org.w3c.dom.Node
The start node can ONLY be a node given out previous by another CssLocator. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
A
Locator may return 0 nodes, 1 node or multiple nodes. | |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.atlassian.jira.functest.framework.locator.AbstractLocator
| |||||||||||||||||||||||||||||||||||||||||||||||
From class java.lang.Object | |||||||||||||||||||||||||||||||||||||||||||||||
From interface
com.atlassian.jira.functest.framework.locator.Locator
|
Locates org.w3c.dom.Node's using the specified net.sourceforge.jwebunit.WebTester
tester | the WebTester in play |
---|---|
cssSelector | the CSS selector string |
Locates org.w3c.dom.Node's starting from the specified org.w3c.dom.Node
The start node can ONLY be a node given out previous by another CssLocator. It will throw and IllegalArgumentException if you give it any other type of Node.
startNode | the org.w3c.dom.Node to start at. |
---|---|
cssSelector | the CSS selector string |
A Locator
may return 0 nodes, 1 node or multiple nodes.