langchain
19e28d87 - feat: Allow users to pass additional arguments to the WebDriver (#4121)

Commit
2 years ago
feat: Allow users to pass additional arguments to the WebDriver (#4121) This commit adds support for passing additional arguments to the `SeleniumURLLoader ` when creating Chrome or Firefox web drivers. Previously, only a few arguments such as `headless` could be passed in. With this change, users can pass any additional arguments they need as a list of strings using the `arguments` parameter. The `arguments` parameter allows users to configure the driver with any options that are available for that particular browser. For example, users can now pass custom `user_agent` strings or `proxy` settings using this parameter. This change also includes updated documentation and type hints to reflect the new `arguments` parameter and its usage. fixes #4120
Author
Parents
Loading