Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update __init__.py #1724

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update __init__.py #1724

wants to merge 1 commit into from

Conversation

11AnJo
Copy link

@11AnJo 11AnJo commented Jan 11, 2024

Prevents annoying error while using with seleniumwire.

Exception ignored in: <function Chrome.__del__ at 0x0000015A0ADFCB80> Traceback (most recent call last): File "C:\Users\dupa\miniconda3\envs\snap\Lib\site-packages\undetected_chromedriver\__init__.py", line 824, in __del__ File "C:\Users\dupa\miniconda3\envs\snap\Lib\site-packages\seleniumwire\webdriver.py", line 69, in quit File "C:\Users\dupa\miniconda3\envs\snap\Lib\site-packages\undetected_chromedriver\__init__.py", line 811, in quit OSError: [WinError 6] The handle is invalid

Seleniumwire is already calling quit() then it goes to del and its trying to close again already closed process.

Prevents annoying error while using with seleniumwire.

`Exception ignored in: <function Chrome.__del__ at 0x0000015A0ADFCB80>
Traceback (most recent call last):
  File "C:\Users\dupa\miniconda3\envs\snap\Lib\site-packages\undetected_chromedriver\__init__.py", line 824, in __del__
  File "C:\Users\dupa\miniconda3\envs\snap\Lib\site-packages\seleniumwire\webdriver.py", line 69, in quit
  File "C:\Users\dupa\miniconda3\envs\snap\Lib\site-packages\undetected_chromedriver\__init__.py", line 811, in quit
OSError: [WinError 6] The handle is invalid`

Seleniumwire is already calling quit() then it goes to __del__ and its trying to close again already closed process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant