Is Microsoft Edge Driver available with edge installation?

Vaibhav Varade 21 Reputation points
2022-03-07T14:45:24.383+00:00

Is Microsoft Edge Driver available with edge installation or feature on demain ?

I want avoid manual downloading the edge driver https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,166 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yu Zhou-MSFT 12,371 Reputation points Microsoft Vendor
    2022-03-08T02:55:55.197+00:00

    Hi @Vaibhav Varade

    Edge WebDriver is not available with Edge installation or feature on demand. But if you mean don't want to manually download Edge WebDriver everytime when automating Edge, I know a Python library Webdriver Manager.

    Webdriver Manager provides the way to automatically manage drivers for different browsers. With Webdriver Manager, we don't need to download drivers and set path to the driver. We only need to install the library then use it directly.

    Install manager:

    pip install webdriver-manager  
    

    Use with Edge:

    from selenium import webdriver  
    from webdriver_manager.microsoft import EdgeChromiumDriverManager  
      
    driver = webdriver.Edge(EdgeChromiumDriverManager().install())  
    driver.get("https://www.google.com")  
    

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Regards,
    Yu Zhou

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful