MicrosoftEdge / EdgeWebDriver

Feedback and discussions about WebDriver for Microsoft Edge
MIT License
58 stars 7 forks source link

Cannot start edgedriver when edge is not installed in program files for edge v120+ #144

Open Frazerus opened 6 months ago

Frazerus commented 6 months ago

When starting edge with selenium and edgedriver, we get an exception The HTTP request to the remote WebDriver server for URL http://localhost:51498/session timed out after 60 seconds. This only happens when edge is started from a different location than the typical installation location in program files (we do this for testing with older edge versions).

This problem happens since edge v120, everything worked fine before that.

A small reproduction can be found in https://github.com/Frazerus/TestIt/tree/bugreport_edge_v121, for C# and python.