Having some trouble getting our automation to run on Microsoft Edge. Have the correct browser version driver installed and have tried a few other 'fixes' to no avail. This is using Selenium with Python3 on PyCharm.
Going back to the beginning, this is my code...
from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.edge.options import Options
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.keys import Keys
options = Options()
driver = webdriver.Edge(executable_path='/Users/james.stott/PycharmProjects/venv/Selenium/Remote/msedgedriver')
And the following is the error raised...
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: No matching capabilities found
Any help at all, would be greatly appreciated.