Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First three parts of version # must match, in "Use WebDriver to automate Microsoft Edge" #3281

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 13 additions & 5 deletions microsoft-edge/webdriver-chromium/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ms.author: msedgedevrel
ms.topic: conceptual
ms.service: microsoft-edge
ms.subservice: devtools
ms.date: 06/15/2023
ms.date: 09/24/2024
---
# Use WebDriver to automate Microsoft Edge

Expand Down Expand Up @@ -48,18 +48,26 @@ The following sections describe how to get started with WebDriver for Microsoft
<!-- ====================================================================== -->
## Download Microsoft Edge WebDriver

To begin writing automated tests, make sure the Microsoft Edge WebDriver version you install matches your browser version, as follows:
To begin writing automated tests, make sure the Microsoft Edge WebDriver version you install matches your version of Microsoft Edge. The first three parts of the four-part version number must match.

1. Go to `edge://settings/help` and note your version of Microsoft Edge:
Download and install a version of Microsoft Edge WebDriver that matches your browser version, as follows:

![The build number for Microsoft Edge on April 15, 2021](./index-images/microsoft-edge-version.png)
1. Go to `edge://settings/help` and note your version of Microsoft Edge, a four-part number:

![The build number for Microsoft Edge on September 28, 2024](./index-images/microsoft-edge-version.png)

1. Go to [Microsoft Edge WebDriver](https://developer.microsoft.com/microsoft-edge/tools/webdriver/).

1. In the **Get the latest version** section of the page, select a platform in the channel that matches your version number of Microsoft Edge:
1. In the **Downloads** section of the page, click a platform button (such as **x64**) under a version number that matches your version number of Microsoft Edge:

![The `Get the latest version` section of the Microsoft Edge WebDriver webpage](./index-images/microsoft-edge-driver-install.png)

The first three parts of the four-part version number must match, between Microsoft Edge and Microsoft Edge WebDriver. For example, the following versions of Microsoft Edge and Microsoft Edge WebDriver will work together, because the first three numbers are the same:
* 128.0.2739.79
* 128.0.2739.84

To download older versions, click the **Go to full directory** button below the **Recent versions** section.

1. After the download completes, extract the `msedgedriver` executable to your preferred location. Add the folder where the executable is located to your `PATH` environment variable.

You must install both a browser driver (Microsoft Edge WebDriver), and a WebDriver testing framework (such as Selenium WebDriver), as described in [Choose a WebDriver testing framework](#choose-a-webdriver-testing-framework) below. These are separate components.
Expand Down