Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97796

How to run Edge (Chromium) in Selenium with Python?

$
0
0

Microsoft recently released a blog where they talk about the new Edge browser coming out and how to test it with Selenium: https://blogs.windows.com/msedgedev/2019/11/04/edge-chromium-release-candidate-get-ready/ However the example is using C#, which uses different libraries than Python. I'm simply trying to get Selenium to open a webpage. Edge Beta version I have is 79.0.309.54

Here's what I've tried:

browser_options = Options()
browser_options.binary_location = '{PATH_TO_MISCROSOFT_EDGE_BETA_BINARY}'

driver = Chrome(executible_path='{PATH_TO_EDGE_DRIVER}', options=browser_options)
driver.get('https://blogs.windows.com')

But that results in:

session not created: from tab crashed (Session info:Microsoft Edge=79.0.309.54)

I've also tried:

driver = Edge(executible_path='{PATH_TO_EDGE_DRIVER}')
driver.get('https://blogs.windows.com')

But that results in:

session not created: No matching capabilities found

Viewing all articles
Browse latest Browse all 97796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>