The code:
from selenium import webdriver
browser = webdriver.Edge('/Path/To/Correct/msedgedriver')
raises following exception:
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: No matching capabilities found
this gist shows concrete code how do I fix it.
see also: https://stackoverflow.com/a/62260786