private static void addCrawlElements(CrawljaxConfigurationBuilder builder) {
CrawlRulesBuilder rules = builder.crawlRules();
rules.click("a");
rules.click("div").withText(CLICK_TEXT);
rules.click("div").underXPath("//SPAN[@id='" + CLICK_UNDER_XPATH_ID + "']");
rules.click("button").when(new NotRegexCondition("DONT_CLICK_BUTTONS_ON_THIS_PAGE"));
rules.click("div").withAttribute(ATTRIBUTE, "condition")
.when(new RegexCondition("REGEX_CONDITION_TRUE"));
rules.dontClick("a").withText(DONT_CLICK_TEXT);
rules.dontClick("a").withAttribute(ATTRIBUTE, DONT_CLICK_TEXT);