Add support for uc_gui_handle_cf() in the Driver() formats

This commit is contained in:
Michael Mintz 2024-06-27 23:58:33 -04:00
parent 0fb6618d4e
commit 3d9f0ea6cf
1 changed files with 4 additions and 0 deletions

View File

@ -1634,6 +1634,10 @@ def get_driver(
if headless2 and browser_name == constants.Browser.FIREFOX:
headless2 = False # Only for Chromium
headless = True
if not hasattr(sb_config, "headless"):
sb_config.headless = headless
if not hasattr(sb_config, "headless2"):
sb_config.headless2 = headless2
if (
binary_location
and isinstance(binary_location, str)