How to set Chrome experimental options (e.g., PDF settings, download directory) via SeleniumBase? #3776
-
Hi @seleniumbase team, I’m trying to set Chrome experimental options like download.default_directory, disabling the PDF Viewer, and configuring printing.print_preview_sticky_settings.appState for saving PDFs automatically without prompt. In Selenium, I would normally do something like this: options = ChromeOptions() But since SeleniumBase manages the browser session internally (e.g., through the SB class or BaseCase), I’m unsure how or where to pass these experimental options correctly. Could you please guide me on the best way to set these Chrome preferences when using SeleniumBase (especially through SB())? Thanks in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Duplicate of #3762 (comment) |
Beta Was this translation helpful? Give feedback.
Duplicate of #3762 (comment)