Add support for uc_gui_handle_cf() in the Driver() formats
This commit is contained in:
parent
0fb6618d4e
commit
3d9f0ea6cf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue