Class AverageImageHashStateVertexImpl

  • All Implemented Interfaces:
    StateVertex, Serializable

    public class AverageImageHashStateVertexImpl
    extends StateVertexImpl
    The state vertex class which represents a state in the browser. When iterating over the possible candidate elements every time a candidate is returned its removed from the list so it is a one time only access to the candidates.
    See Also:
    Serialized Form
    • Constructor Detail

      • AverageImageHashStateVertexImpl

        AverageImageHashStateVertexImpl​(int id,
                                        String name,
                                        String dom,
                                        AverageImageHash visHash,
                                        org.opencv.core.Mat hashMat)
        Creates a current state without an url and the @strippedDom same as the @dom.
        Parameters:
        name - the name of the state
        dom - the current DOM tree of the browser
      • AverageImageHashStateVertexImpl

        public AverageImageHashStateVertexImpl​(int id,
                                               String url,
                                               String name,
                                               String dom,
                                               String strippedDom,
                                               AverageImageHash visHash,
                                               org.opencv.core.Mat hashMat)
        Defines a State.
        Parameters:
        url - the current url of the state
        name - the name of the state
        dom - the current DOM tree of the browser
        strippedDom - the stripped dom by the OracleComparators