It works well previously, but starting with 79.0.313.0, the driver simply returns the error: Message: session not created: No matching capabilities foundĪnd the service log here: : Starting MSEdgeDriver 80.0.315.0 (9e44865e0573123f4459e64bc4e043fee13eb7ec) # driver = webdriver.Chrome(options=driveroptions, executable_path="", service_log_path="D:\\X.txt")ĭriver = webdriver.Chrome(options=driveroptions, executable_path="msedgedriver.exe", service_log_path="D:\\X.txt") The webdriver configuration is as follows: driveroptions = Options()ĭriveroptions.add_argument('-inprivate')ĭriveroptions.add_argument('-disable-infobars')ĭriveroptions.add_argument('-start-maximized')ĭriveroptions.add_argument('-auto-open-devtools-for-tabs')ĭriveroptions.add_argument('-user-data-dir=D:\\Selenium_Edge_Chromium_UserData')ĭriveroptions.binary_location = "C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\Edge SxS\\Application\\msedge.exe" I'm using Microsoft Edge Webdriver (Chromium) with Python3 in my script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |