Constant Field Values

Contents

com.crawljax.*

  • com.crawljax.clickabledetection.ClickableDetectorPlugin 
    Modifier and Type Constant Field Value
    static final String CDP_COMPUTEDSTYLESHEET_ALL "Array.from(%s).map(element => {return {xpath: element, attributes: getEventHandlers(element)}});"
    public static final String CDP_SCRIPT "function getEventHandlers(xpath){\n\t// a= $x(xpath)[0];\n\tresult = document.evaluate(xpath, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null);\n\ta = result.singleNodeValue;\n\tvar returnMap = {};\n\tif(a==null){\n\t\treturn returnMap;\n\t}\n\tif(getEventListeners(a)[\'click\']){\n\t\treturnMap[\'eventListeners\'] = getEventListeners(a)[\'click\'][0].listener.toString()\n\t} \n\n\treturn returnMap;\n}"
  • com.crawljax.condition.browserwaiter.WaitCondition 
    Modifier and Type Constant Field Value
    private static final long POLLING_TIME 100L
    private static final int WAIT_TIME 500
  • com.crawljax.core.state.Element 
    Modifier and Type Constant Field Value
    private static final long serialVersionUID -1608999189549530008L
  • com.crawljax.core.state.Eventable 
    Modifier and Type Constant Field Value
    private static final long serialVersionUID 3229708706467350994L
  • com.crawljax.core.state.Identification 
    Modifier and Type Constant Field Value
    private static final long serialVersionUID -1608879189549535808L
  • com.crawljax.core.state.StateVertex 
    Modifier and Type Constant Field Value
    public static final int INDEX_ID 0
  • com.crawljax.core.state.StateVertexImpl 
    Modifier and Type Constant Field Value
    private static final long serialVersionUID 123400017983488L
  • com.crawljax.forms.FormHandler 
    Modifier and Type Constant Field Value
    public static final int RANDOM_STRING_LENGTH 8
  • com.crawljax.forms.FormInputValueHelper 
    Modifier and Type Constant Field Value
    private static final int EMPTY 0
    private static final String FORMS_JSON_FILE "forms.json"
  • com.crawljax.forms.RandomInputValueGenerator 
    Modifier and Type Constant Field Value
    private static final int MAX_INT 12345
    public static final double PROBABILITY_CHECK 0.5
  • com.crawljax.forms.TrainingFormHandler 
    Modifier and Type Constant Field Value
    private static final String MODAL_HTML "<div class=\'modal-content\' style=\'position:fixed;bottom:0;background-color:#fefefe;width:100%;\'><div class=\'modal-header\' style=\'.padding:2px 16px;background-color:#5cb85c;color:white;\'><span class=\'close\'>&times</span><h2>Crawl Paused</h2></div><div class=\'modal-body\' style=\'padding:2px 16px;\'><p>The crawl has encountered form inputs which have not been trained. Please enter all input data for the page and hit \'F1\' when finished.</p></div><div class=\'modal-footer\' style=\'padding:2px 16px;background-color:#5cb85c;color:white\';><h3>Crawljax Training Alert</h3></div></div>"
  • com.crawljax.stateabstractions.dom.apted.distance.APTED<C extends CostModel,​D> 
    Modifier and Type Constant Field Value
    private static final byte INNER 2
    private static final byte LEFT 0
    private static final byte RIGHT 1