Open miksch123 opened 3 years ago
if using python bindings, you can read up https://pypi.org/project/webdriver-manager/ pip install webdriver-manager
then, in code from webdriver_manager.microsoft import EdgeChromiumDriverManager mgr = EdgeChromiumDriverManager() driver_path = mgr.install() EdgeDriverWrapper._driver = Edge(executable_path=driver_path)
literally you can do this in 2 lines with that module
Thank you @miksch123. This was very helpful.
Thank you @miksh123. The repo is now deprecated but I'm leaving this issue open with the conversation locked so that people can still find this sample.
Hello, This is not an issue but rather a way to dynamically download the correct Edge webdriver depending on what edge version is currently installed on your system. I hope some of you might find this helpful. The same can be donw for Mac OS and Linux. I just wanted to leave a bit of an inspiration.