Enable permissions for all browsers

I haven’t found much on how to do this, and these (chrome) options are all I could find. I modified the code to remove version and add the unsafely allow flag, but either way it doesn’t seem to do anything when I run it. Is there something I am doing wrong? If there is an actual way to do this, is there also a way to give other browsers permissions in the same file?

  "browserName": "chrome",
  "goog:chromeOptions": {
    "args": [
      "--unsafely-allow-protected-media-identifier-for-domain=[my domain]"