I'm trying to open a window using selenium for some automation stuff, but i'm having trouble even getting the window to open up.
driver=webdriver.Chrome()
driver.get('https://www.youtube.com')
when I run this code I get the following error
Exception ignored in: <function Popen.__del__ at 0x04097858>
Traceback (most recent call last):
File "C:\python install\lib\subprocess.py", line 841, in __del__
self._internal_poll(_deadstate=_maxsize)
File "C:\python install\lib\subprocess.py", line 1193, in _internal_poll
if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:
OSError: [WinError 6] The handle is invalid
When I run the code the chrome window opens, but then the error appears.