Package com.crawljax.core.state.Eventable

Examples of com.crawljax.core.state.Eventable.EventType


    // The path in the page to the 'clickable' (link, div, span, etc)
    String xpath = eventable.getIdentification().getValue();

    // The type of event to execute on the 'clickable' like onClick,
    // mouseOver, hover, etc
    EventType eventType = eventable.getEventType();

    // Try to find a 'better' / 'quicker' xpath
    String newXPath = new ElementResolver(eventable, browser).resolve();
    if (newXPath != null && !xpath.equals(newXPath)) {
      LOG.debug("XPath changed from {} to {} relatedFrame: {}", xpath, newXPath,
View Full Code Here


    // The path in the page to the 'clickable' (link, div, span, etc)
    String xpath = eventable.getIdentification().getValue();

    // The type of event to execute on the 'clickable' like onClick,
    // mouseOver, hover, etc
    EventType eventType = eventable.getEventType();

    // Try to find a 'better' / 'quicker' xpath
    String newXPath = new ElementResolver(eventable, browser).resolve();
    if (newXPath != null && !xpath.equals(newXPath)) {
      LOG.debug("XPath changed from {} to {} relatedFrame: {}", xpath, newXPath,
View Full Code Here

    // The path in the page to the 'clickable' (link, div, span, etc)
    String xpath = eventable.getIdentification().getValue();

    // The type of event to execute on the 'clickable' like onClick,
    // mouseOver, hover, etc
    EventType eventType = eventable.getEventType();

    // Try to find a 'better' / 'quicker' xpath
    String newXPath = new ElementResolver(eventable, browser).resolve();
    if (newXPath != null && !xpath.equals(newXPath)) {
      LOG.debug("XPath changed from {} to {} relatedFrame: {}", xpath, newXPath,
View Full Code Here

    // The path in the page to the 'clickable' (link, div, span, etc)
    String xpath = eventable.getIdentification().getValue();

    // The type of event to execute on the 'clickable' like onClick,
    // mouseOver, hover, etc
    EventType eventType = eventable.getEventType();

    // Try to find a 'better' / 'quicker' xpath
    String newXPath = new ElementResolver(eventable, browser).resolve();
    if (newXPath != null && !xpath.equals(newXPath)) {
      LOG.debug("XPath changed from {} to {} relatedFrame: {}", xpath, newXPath,
View Full Code Here

      String xpath = eventable.getIdentification().getValue();

      /**
       * The type of event to execute on the 'clickable' like onClick, mouseOver, hover, etc
       */
      EventType eventType = eventable.getEventType();

      /**
       * Try to find a 'better' / 'quicker' xpath
       */
      String newXPath = new ElementResolver(eventable, getBrowser()).resolve();
View Full Code Here

    } while (state.registerCrawler(c));
  }

  private ClickResult crawlAction(CandidateCrawlAction action) throws CrawljaxException {
    CandidateElement candidateElement = action.getCandidateElement();
    EventType eventType = action.getEventType();

    StateVertex orrigionalState = this.getStateMachine().getCurrentState();

    if (candidateElement.allConditionsSatisfied(getBrowser())) {
      ClickResult clickResult = clickTag(new Eventable(candidateElement, eventType));
View Full Code Here

    // The path in the page to the 'clickable' (link, div, span, etc)
    String xpath = eventable.getIdentification().getValue();

    // The type of event to execute on the 'clickable' like onClick,
    // mouseOver, hover, etc
    EventType eventType = eventable.getEventType();

    // Try to find a 'better' / 'quicker' xpath
    String newXPath = new ElementResolver(eventable, browser).resolve();
    if (newXPath != null && !xpath.equals(newXPath)) {
      LOG.debug("XPath changed from {} to {} relatedFrame: {}", xpath, newXPath,
View Full Code Here

    // The path in the page to the 'clickable' (link, div, span, etc)
    String xpath = eventable.getIdentification().getValue();

    // The type of event to execute on the 'clickable' like onClick,
    // mouseOver, hover, etc
    EventType eventType = eventable.getEventType();

    // Try to find a 'better' / 'quicker' xpath
    String newXPath = new ElementResolver(eventable, browser).resolve();
    if (newXPath != null && !xpath.equals(newXPath)) {
      LOG.debug("XPath changed from {} to {} relatedFrame: {}", xpath, newXPath,
View Full Code Here

      String xpath = eventable.getIdentification().getValue();

      /**
       * The type of event to execute on the 'clickable' like onClick, mouseOver, hover, etc
       */
      EventType eventType = eventable.getEventType();

      /**
       * Try to find a 'better' / 'quicker' xpath
       */
      String newXPath = new ElementResolver(eventable, getBrowser()).resolve();
View Full Code Here

    } while (state.registerCrawler(c));
  }

  private ClickResult crawlAction(CandidateCrawlAction action) throws CrawljaxException {
    CandidateElement candidateElement = action.getCandidateElement();
    EventType eventType = action.getEventType();

    StateVertix orrigionalState = this.getStateMachine().getCurrentState();

    if (candidateElement.allConditionsSatisfied(getBrowser())) {
      ClickResult clickResult = clickTag(new Eventable(candidateElement, eventType));
View Full Code Here

TOP

Related Classes of com.crawljax.core.state.Eventable.EventType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.