public class CrawlActionsBuilder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CrawlActionsBuilder.ExcludeByParentBuilder |
| Modifier and Type | Method and Description |
|---|---|
void |
click(String... tagNames)
Set of HTML elements Crawljax will click during crawling For example 1)
<a.../> 2) <div/> click("a") will only include 1 This set can
be restricted by
dontClick(String). |
CrawlElement |
click(String tagName)
Set of HTML elements Crawljax will click during crawling For example 1)
>a.../< 2) <div/> click("a") will only include 1 if clickOnce
is true (default).
|
void |
clickDefaultElements()
Specifies that Crawljax should click all the default clickable elements.
|
CrawlElement |
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.
|
CrawlActionsBuilder.ExcludeByParentBuilder |
dontClickChildrenOf(String tagName)
Click no children of the specified parent element.
|
public CrawlElement click(String tagName)
dontClick(String).tagName - the tag name of the elements to be includedpublic void click(String... tagNames)
dontClick(String). If no clicks are specified,
clickDefaultElements() is enabled.tagNames - the tag name of the elements to be includedpublic void clickDefaultElements()
public CrawlElement dontClick(String tagName)
tagName - the tag name of the elements to be excludedpublic CrawlActionsBuilder.ExcludeByParentBuilder dontClickChildrenOf(String tagName)
tagName - The tag name of which no children should be clicked.Copyright © 2007–2019. All rights reserved.