Chromium arguments not taken by Edge browser


I’m using the ‘Open browser’ keyword from the Selenium library and it seems like Chromium arguments are not parsed to the Edge webdriver.

To start off, first remarkable thing is the Selenium library is looking for a Edge webdriver called ‘MicrosoftWebDriver.exe’, but the actual name of the Edge (83) webdriver is ‘msedgedriver.exe’. To overcome this I just renamed this file.

So, next bump on the road is I ran into a ssl certificate error. To overcome this the following code works well when using the Chrome browser, but it doesn’t work with Edge

Open Browser  about:blank  ${Browser}  options=add_argument("--ignore-certificate-errors")
Maximize Browser Window
Go To  ${MyUrl}

I also found out the arguments here are not taken by Chromium when running on Edge, for example running headless mode only works with chrome:

Open Browser about:blank ${Browser} options=add_argument("--ignore-certificate-errors -- headless")

Anyone having an idea why this in not working well?

  • Is there a bugfix needed in the robot selenium library?
  • Do we have to wait for another Edge webdriver?

Running on
Edge 83.0.478.58 (Official build) (64-bit)
Python 3.8
robotframework 3.2.1
robotframework-requests 0.7.0
robotframework-seleniumlibrary 4.4.0
selenium 4.0.0a6.post2

1 Like