[Selenium] Edge Browser Settings unavailable

Hi @qqilihq,

I wonder why or when it will be possible to pass flagfs to Edge i.e. to define the download location. Wonder if that is a bug or just another stupid “Microsoft” thing.

Chrome

Edge (select disabled)

Trying to repurpose the Chrome settings failed. I even dailed them back to rudimentary settings but it keeps failing.

Best
Mike

Did you try renaming the root object from chromeOptions to ms:edgeOptions?

-Philipp

I only tried edgeOptions as this was the closed I found in the Selenium docs but the prefix ms: doesn’t make a change either it seems

The error now says: cannot find msedge binary

  1. What does your capabilities contain?
  2. Does it even work with empty capabilities?

-Philipp

Neither with args, with empty args no only ms:edgeOptions it works.

Here are my args:

  "ms:edgeOptions": {
    "args": [
      "--stack_size=4096",
      "--max_executable_size=4096",
      " --optimize_for_size",
      "--max_old_space_size=4096",
      "--disable-ipc-flooding-protection",
      "--disable-search-engine-choice-screen",
      "--disk-cache-size=0",
      "--verbose",
      "--disable-infobars",
      "--user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36",
      "--lang=en-US",
      "--ignore-certificate-errors",
      "--disable-blink-features=AutomationControlled"
    ]
  }
}```
  • At what location is msedge.exe?
  • Is it in the system path? Check where msege in the command line
  • What’s the Edge version you use? Current version of the nodes ships with drivers v.138.0.3351.65 which will support Edge v138.0.3351.x
  • Did you override any of the driver settings in the Selenium preferences?
  • Which version of Selenium Nodes do you use? The screenshot suggests it’s not the latest 5.11.2, as it’s using the Selenium libs 4.33.0
1 Like

I just noticed that a Windows Debloat script might have removed Edge. Checkign that really quick but nontheless, the issue appeared on a customers device as well. Will update you asap…

PS: Can only fully verify that on Monday.