Skip to content

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