Class SeleniumProtocol

    • Field Detail

      • LOG

        protected static final org.slf4j.Logger LOG
    • Constructor Detail

      • SeleniumProtocol

        public SeleniumProtocol()
    • Method Detail

      • getProtocolOutput

        public ProtocolResponse getProtocolOutput​(String url,
                                                  Metadata metadata)
                                           throws Exception
        Description copied from interface: Protocol
        Fetches the content and additional metadata

        IMPORTANT: the metadata returned within the response should only be new additional, no need to return the metadata passed in.

        Parameters:
        url - the location of the content
        metadata - extra information
        Returns:
        the content and optional metadata fetched via this protocol
        Throws:
        Exception