An updated EdgeDriver implementation for Selenium 3 with newly-added support for Microsoft Edge (Chromium).
Project description
Selenium Tools for Microsoft Edge
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 Edge
and Chrome
driver classes included in the Selenium project.
Before you Begin
The Selenium Tools for Microsoft Edge is a solution for developers who prefer to remain on Selenium 3 which is the current stable release and developers who have existing browser tests and want to add coverage for the new Microsoft Edge (Chromium) browser without changing the Selenium version.
The very same Edge
driver classes provided in this package are included in Selenium 4 and are already available today in the latest Selenium 4 Alpha release. If you are able to upgrade to Selenium 4 Alpha, there is no need to use this package as Selenium should already have everything you need built in!
Getting Started
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.
Installation
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.
Use pip to install the msedge-selenium-tools and selenium packages:
pip install msedge-selenium-tools selenium==3.141
Example Code
See the Microsoft Edge WebDriver documentation for lots more information on using Microsoft Edge (Chromium) with WebDriver.
from msedge.selenium_tools import Edge, EdgeOptions
# Launch Microsoft Edge (EdgeHTML)
driver = Edge()
# Launch Microsoft Edge (Chromium)
options = EdgeOptions()
options.use_chromium = True
driver = Edge(options = options)
Contributing
We are glad you are interested in automating the latest Microsoft Edge browser and improving the automation experience for the rest of the community!
Before you begin, please read & follow our Contributor's Guide. Consider also contributing your feature or bug fix directly to Selenium so that it will be included in future Selenium releases.
Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file msedge-selenium-tools-3.141.3.tar.gz
.
File metadata
- Download URL: msedge-selenium-tools-3.141.3.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6d4adce03770211de9a927edce41672baa6b2f582a969d564e5176631cc8d2b |
|
MD5 | 0e0c846620cc94fc0f6df37b6f0b7fdf |
|
BLAKE2b-256 | 35f8afe06bb27c69ae950978d2dc6dc5cd2637cac68cacca649fbd2837f71400 |
File details
Details for the file msedge_selenium_tools-3.141.3-py3-none-any.whl
.
File metadata
- Download URL: msedge_selenium_tools-3.141.3-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63e2966d48094239e4d40bdaf9fd1c723698541c90362cf8d810d934cd7334f9 |
|
MD5 | e7b27fee7572122c8661b254876727a7 |
|
BLAKE2b-256 | 0141d8cd7c3cd1c71c059d79d8768454fe94a6fd068cfe455717dec481b366f7 |