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

Commits on Jan 11, 2024

  1. Update __init__.py

    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.
    11AnJo committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    a69a7e2 View commit details
    Browse the repository at this point in the history