-
Notifications
You must be signed in to change notification settings - Fork 252
Chrome tab is staying open #31
Comments
Well for now its intended because headless environment does not support minimizing the browser window. |
You can get the driver object and close it yourself in your use case. ChatGPT_object_instance.driver.close() should do it. |
Well, somehow here I get error when closing the window
I guess it's related to importing error on chromedriver library part |
Did you quit the driver manually (i.e. |
No I don't, the traceback said the error comes from pychatgpt code EDIT : it looks like I used the old function, when I use ChatGPT(auth_type, email, password, login_cookies_path) the error dissappears |
After a few days, I saw the window didn't quit automatically after executing the script. After seeing the main library, I use |
Can you please try the latest version. It should quit the browser automatically now. Thanks. |
Was working pretty well for a while, but started to get an error with it only taking one message before saying i was sending too many requests per hour as an error. Realized there was a new version available and assuming it was just openai patching a previous use, so updated to latest version, and now it seems to work fine but the chrome browser tab ChatGPT(TOKEN) uses is staying open on my screen instead of running in the background. Is this new behavior intentional?
The text was updated successfully, but these errors were encountered: