diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-02-09 18:11:35 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-02-09 18:11:35 +0100 |
commit | af204c31cb047436f4e1c36199e15692eb271f20 (patch) | |
tree | 809b00081d39e259b1523457840ddf512d05c1a0 /g4f/webdriver.py | |
parent | Update OpenaiChat.py (diff) | |
download | gpt4free-af204c31cb047436f4e1c36199e15692eb271f20.tar gpt4free-af204c31cb047436f4e1c36199e15692eb271f20.tar.gz gpt4free-af204c31cb047436f4e1c36199e15692eb271f20.tar.bz2 gpt4free-af204c31cb047436f4e1c36199e15692eb271f20.tar.lz gpt4free-af204c31cb047436f4e1c36199e15692eb271f20.tar.xz gpt4free-af204c31cb047436f4e1c36199e15692eb271f20.tar.zst gpt4free-af204c31cb047436f4e1c36199e15692eb271f20.zip |
Diffstat (limited to 'g4f/webdriver.py')
-rw-r--r-- | g4f/webdriver.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g4f/webdriver.py b/g4f/webdriver.py index b54fae15..d9028a63 100644 --- a/g4f/webdriver.py +++ b/g4f/webdriver.py @@ -65,7 +65,8 @@ def get_browser( options=options, user_data_dir=user_data_dir, driver_executable_path=driver, - headless=headless + headless=headless, + patcher_force_close=True ) def get_driver_cookies(driver: WebDriver) -> Cookies: |