Class SeleniumDocumentLoader
java.lang.Object
dev.langchain4j.data.document.loader.selenium.SeleniumDocumentLoader
Utility class for loading web documents using Selenium.
Returns a
Document
object containing the content of the web page.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
load
(String url, DocumentParser documentParser) Loads a document from the specified URL.
-
Method Details
-
load
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
-