| Package | Description |
|---|---|
| com.crawljax.core.configuration |
| Modifier and Type | Method and Description |
|---|---|
CrawlElement |
FormAction.beforeClickElement(String tagName) |
CrawlElement |
CrawlRules.CrawlRulesBuilder.click(String tagName) |
CrawlElement |
CrawlActionsBuilder.click(String tagName)
Set of HTML elements Crawljax will click during crawling For exmple 1)
|
CrawlElement |
CrawlRules.CrawlRulesBuilder.dontClick(String tagName) |
CrawlElement |
CrawlActionsBuilder.dontClick(String tagName)
Set of HTML elements Crawljax will NOT click during crawling When an HTML is present in the
click and dontClick sets, then the element will not be clicked.
|
protected CrawlElement |
FormAction.getCrawlElement() |
protected CrawlElement |
Form.getCrawlElement() |
CrawlElement |
CrawlElement.underXPath(String xpathExpression)
Restrict CrawlElement to include only HTML elements which are under HTML element X which
identified by the xpath expression xpathExpression When xpathExpression returns no HTML
elements this Crawltag is not considred under element X.
|
CrawlElement |
CrawlElement.when(Condition... conditions)
Crawljax will crawl the HTML elements while crawling if and only if all the specified
conditions are satisfied.
|
CrawlElement |
CrawlElement.withAttribute(String attributeName,
String value)
Restrict CrawlElement to include only HTML elements with the specified attribute.
|
CrawlElement |
CrawlElement.withText(String text)
Restrict crawlTag to include only HTML elements which have the specified text For example 1)
Foo 2) Bar 3) Example 3a withText("Foo") will include element 1
withText("Example %") will include elements3 Text can support wild-card characters.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<CrawlElement> |
CrawlRules.getAllCrawlElements() |
com.google.common.collect.ImmutableList<CrawlElement> |
InputSpecification.getCrawlElements() |
com.google.common.collect.ImmutableList<CrawlElement> |
PreCrawlConfiguration.getExcludedElements() |
com.google.common.collect.ImmutableList<CrawlElement> |
PreCrawlConfiguration.getIncludedElements() |
Copyright © 2007-2013. All Rights Reserved.