undetected chromedriver’s error: OSError: [WinError 6] Handle is invalid
I’m currently producing a program that automatically logs in by accessing a specific site using Python. When I used selenium only on the site itself during production, I saw the console because the Chrome closed automatically, but there was no error, so I thought that the site closed the Chrome, so I used the undetected_chromedriver. An error occurred in the process and I’m posting something
How to keep the browser open using undetected-chromedriver after the Python script finishes?
I’m trying to open a Chrome browser using undetected-chromedriver in Python, specifying a remote debugging port, and I want the browser to remain open after the script finishes. Here is my current code: