I recently changed my OS to win11 which afterwards i've not been able to run selenium.
When running, it displays this as the output "selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at localhost:1111 from chrome not reachable"
I used "chrome.exe --remote-debugging-port=1111" to open chrome using CMD but it displays this "'chrome.exe' is not recognized as an internal or external command, operable program or batch file." instead of asking for admin right and then opening as usual.
I managed to fix chrome's error. I added chrome application path to the environment variable and it worked.
This C:\Program Files\Google\Chrome\Application\ is fixed the CMD error.
Python Selenium Chrome not running after OS upgrade