You could run code that i have posted or add this to your code that run Selenium.
Then the changes for me should be done here.
C:\python37\Lib\site-packages\selenium\webdriver\common\
If i had used virtual environment,Anaconda,ect... it would have point to a other Python interpreter,
the i would have needed to make changes there.
Then as posted open
Run code again and see if
import sys print(sys.executable)
Output:C:\python37\python.exe
This will give the root to the Python interpreter that is used.Then the changes for me should be done here.
C:\python37\Lib\site-packages\selenium\webdriver\common\
service.py
If i had used virtual environment,Anaconda,ect... it would have point to a other Python interpreter,
the i would have needed to make changes there.
Then as posted open
service.py
and add creationflags=CREATE_NO_WINDOW
and save.Run code again and see if
DevTools listening
is gone.