Selenium Tools for Microsoft Edge is no longer maintained. Please upgrade to Selenium 4 which has built-in support for Microsoft Edge (Chromium). See Selenium's upgrade guide at https://www.selenium.dev/documentation/webdriver/getting_started/upgrade_to_selenium_4/
dotnet add package Microsoft.Edge.SeleniumTools --version 3.141.3
NuGet\Install-Package Microsoft.Edge.SeleniumTools -Version 3.141.3
<PackageReference Include="Microsoft.Edge.SeleniumTools" Version="3.141.3" />
paket add Microsoft.Edge.SeleniumTools --version 3.141.3
#r "nuget: Microsoft.Edge.SeleniumTools, 3.141.3"
// Install Microsoft.Edge.SeleniumTools as a Cake Addin
// Install Microsoft.Edge.SeleniumTools as a Cake Tool
DEPRECATED: Selenium Tools for Microsoft Edge
⚠️ This project is no longer maintained. Please uninstall Selenium Tools for Microsoft Edge and upgrade to Selenium 4 which has built-in support for Microsoft Edge (Chromium). For help upgrading your Selenium 3 browser tests to Selenium 4, see Selenium's guide here. ⚠️
This repository will remain available as an example, and for users that have not yet had a chance to upgrade. However, there will be no further activity on issues or pull requests. The @EdgeDevTools team will continue to work with the Selenium project to contribute future Microsoft Edge Driver features and bug fixes directly to Selenium 4.
Selenium Tools for Microsoft Edge extends Selenium 3 with a unified driver to help you write automated tests for both the Microsoft Edge (EdgeHTML) and new Microsoft Edge (Chromium) browsers.
The libraries included in this project are fully compatible with Selenium's built-in Edge libraries, and run Microsoft Edge (EdgeHTML) by default so you can use our project as a seamless drop-in replacement. In addition to being compatible with your existing Selenium tests, Selenium Tools for Microsoft Edge gives you the ability to drive the new Microsoft Edge (Chromium) browser and unlock all of the latest functionality!
The classes in this package are based on the existing
Chrome driver classes included in the Selenium project.
Before you Begin
Selenium Tools for Microsoft Edge was created as a compatibility solution for developers who have existing Selenium 3 browser tests and want to add coverage for the latest Microsoft Edge (Chromium) browser. The Microsoft Edge Developer Tools Team recommends using Selenium 4 instead because Selenium 4 has built-in support for Microsoft Edge (Chromium). If you are able to upgrade your existing tests, or write new tests using Selenium 4, then there is no need to use this package as Selenium should already have everything you need built in!
See Selenium's upgrade guide for help with upgrading from Selenium 3 to Selenium 4. If you are unable to upgrade due to a compatibility issues, please consider opening an issue in the official Selenium GitHub repo here. If you have determined that you cannot upgrade from Selenium 3 at this time, and would still like to add test coverage for Microsoft Edge (Chromium) to your project, see the steps in the section below.
Downloading Driver Executables
You will need the correct WebDriver executable for the version of Microsoft Edge you want to drive. The executables are not included with this package. WebDriver executables for all supported versions of Microsoft Edge are available for download here. For more information, and instructions on downloading the correct driver for your browser, see the Microsoft Edge WebDriver documentation.
Selenium Tools for Microsoft Edge depends on the official Selenium 3 package to run. You will need to ensure that both Selenium 3 and the Tools and included in your project.
See the Microsoft Edge WebDriver documentation for lots more information on using Microsoft Edge (Chromium) with WebDriver.
// Launch Microsoft Edge (EdgeHTML)
var driver = new EdgeDriver();
// Launch Microsoft Edge (Chromium)
var options = new EdgeOptions();
options.UseChromium = true;
var driver = new EdgeDriver(options);
We are glad you are interested in automating the latest Microsoft Edge browser and improving the automation experience for the rest of the community!
Code of Conduct
|Versions Compatible and additional computed target framework versions.
|net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.
|netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.
|netstandard2.0 is compatible. netstandard2.1 was computed.
|net35 is compatible. net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.
|monoandroid was computed.
|monomac was computed.
|monotouch was computed.
|tizen40 was computed. tizen60 was computed.
|xamarinios was computed.
|xamarinmac was computed.
|xamarintvos was computed.
|xamarinwatchos was computed.
NuGet packages (14)
Showing the top 5 NuGet packages that depend on Microsoft.Edge.SeleniumTools:
Bellatrix is a cross-platform, easily customizable and extendable .NET test automation framework that increases tests’ reliability.
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including: - Page Object Pattern classes, for providing the base framework to build maintainable UI tests - AppManager, for configuring, launching, and managing the lifecycle of the application driver - ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements - ByExtras, for providing additional locator constraints for finding elements
A .NET browser automation framework based on Selenium WebDriver
Liberator Driver works as an abstraction layer over Selenium WebDriver. Liberator uses Expected Conditions to avoid the race conditions common when automating a user interface, thereby ensuring a more efficient performance. Every setting of the individual driver types can be set using preferences, enabling the dependent frameworks built on its functionality to fine tune their performance. Errors in browser interaction are correctly trapped for all Selenium methods.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.Edge.SeleniumTools:
Automate The Planet Series Source Code