Interface PreStateCrawlingPlugin

  • All Superinterfaces:
    Plugin

    public interface PreStateCrawlingPlugin
    extends Plugin
    Plugin type that is called before firing events on the current DOM state.
    • Method Detail

      • preStateCrawling

        void preStateCrawling​(CrawlerContext context,
                              com.google.common.collect.ImmutableList<CandidateElement> candidateElements,
                              StateVertex state)
        Method that is called before firing events on the current DOM state. Warning the session and candidateElements are not clones, changes will result in changed behavior.

        This method can be called from multiple threads with different CrawlerContext

        Parameters:
        context - the current session data.
        candidateElements - the candidates for the current state.
        state - The state being crawled