/**
  * Specifies that Crawljax should click all the default clickable elements. These include: All
  * anchor tags All buttons
  */
 public void clickDefaultElements() {
   crawlActions.click("a");
   crawlActions.click("button");
   crawlActions.click("input").withAttribute("type", "submit");
   crawlActions.click("input").withAttribute("type", "button");
 }
 /**
  * Set of HTML elements Crawljax will NOT examine during crawling When an HTML is present in the
  * click and dontClick sets, then the element will not be clicked. For example: 1) <a
  * href="#">Some text</a> 2) <a class="foo" .../> 3) <div class="foo" .../> click("a")
  * dontClick("a").withAttribute("class", "foo"); Will include only include HTML element 2
  *
  * @param tagName the tag name of the elements to be excluded
  * @return this CrawlElement
  */
 public CrawlElement dontClick(String tagName) {
   return crawlActions.dontClick(tagName);
 }
 /**
  * Crawljax will the HTML elements while crawling if and only if all the specified conditions are
  * satisfied. IMPORTANT: only works with click()!!! For example: when(onContactPageCondition) will
  * only click the HTML element if it is on the contact page
  *
  * @param conditions the condition to be met.
  * @return this CrawlActions
  */
 public CrawlActions when(Condition... conditions) {
   return crawlActions.when(conditions);
 }
 /**
  * Set of HTML elements Crawljax will click during crawling For exmple 1) <a.../> 2) <div/>
  * click("a") will only include 1 This set can be restricted by {@link #dontClick(String)}.
  *
  * @param tagName the tag name of the elements to be included
  * @return this CrawlElement
  */
 public CrawlElement click(String tagName) {
   return crawlActions.click(tagName);
 }