ansonliao / Selenium-Extensions

A tool for supporting Selenium run test cases by parallel and multiple browsers types, and provide beautiful and detail test step test report

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Capabilities send to RemoteDriver will be failed to create RemoteDriver instance

ansonliao opened this issue · comments

Capabilities send to RemoteDriver will be failed to create RemoteDriver instance, the root cause is Platform key-value is not matched the selenium grid node's platform.

Can specify the platform in caps.json, sample:

{
  "chrome": {
    "caps": {
      "browserName": "chrome",
      "marionette": true,
      "platform": "Linux"
    },
    "cli_args": [
      "start-maximized",
      "disable-gpu",
      "disable-infobars"
    ]
  }
}