Class SeleniumDocumentLoader

java.lang.Object
dev.langchain4j.data.document.loader.selenium.SeleniumDocumentLoader

public class SeleniumDocumentLoader extends Object
Utility class for loading web documents using Selenium. Returns a Document object containing the content of the web page.
  • Method Details

    • load

      public Document load(String url, DocumentParser documentParser)
      Loads a document from the specified URL.
      Parameters:
      url - The URL of the file.
      documentParser - The parser to be used for parsing text from the URL.
      Returns:
      document
    • builder

      public static SeleniumDocumentLoader.Builder builder()