Python 3 + msedgedriver tests chrome handles with the new version of msedge


Download the driver first

Then unzip and add the extracted folder to the environment variable path

Then install two packages:

pip install msedge-selenium-tools selenium

Then you can:

from msedge.selenium_tools import Edge, EdgeOptions

options = EdgeOptions()
options.use_chromium = True
options.binary_location = r"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
browser = Edge(options = options)
print('done') browser.quit()


Recommended Today

Why is reids fast

1. What is redis? Redis is completely open source and complies with the BSD protocol. It is a high-performance key value database. Redis is also one of the most popular NoSQL databases at present. It contains a variety of data structures, supports network, is memory based, and has an optional key value pair storage database […]