TestProject Forum

Sample Desired Capabilities

I have some sample desired capabilities for most browsers but still need sample format for Safari

Chrome:
{
“browserName”: “chrome”,
“version”: 83,
“goog:chromeOptions”: {
“args”: [
“–use-fake-ui-for-media-stream”
]
}
}

Firefox
{
“browserName”: “FireFox”,
“moz:firefoxOptions”: {
“intPrefs”: {
“permissions.default.camera”: “1”
}
}
}

Edge:
{
“browserName”: “MicrosoftEdge”,
“version”: 88,
“ms:edgeOptions”: {
“args”: [
“–use-fake-ui-for-media-stream”
]
}
}

Safari

  "browserName": "safari",
  "version": 14,
  "apple:safariOptions": {
    "args": [
      "--use-fake-ui-for-media-stream"
    ]
  }
}```

Did you try it with TestProject Jobs and it worked? :slight_smile:

Hi @Mark_K yep, so far so good. I have Safari 14.1 on my machine

good to know, thanks for sharing.

1 Like