seleniumwebdriverwebdriver-iodesiredcapabilities

Browsers capabilities for Webdriver - full list


Hi do you know where I can find a full list of browsers capabilities to use with Webdriver protocol?

I need to undestand this for using better Webdriver.io, but any Webdriver client should use the same list I suppose.

For instance in the wdio.conf.js, for Chrome, we can add

'chromeOptions': {
                args: ['--start-fullscreen']
}

What other args are supported - a full list - and what other options, besides args are available.

Could not find a full list for all main browsers: chrome, safari, firefox, edge...

Thanks

UPDATE: to be honest, I've been searching online quite a bit but the full list of args is not easy to find (besides the one for chrome). So, I'll leave this as answered and once I find more info I'll update the post.


Solution

  • The documentation is spread across a few different sites.

    For chromeOptions, it looks like you want this list:

    https://chromedriver.chromium.org/capabilities

    Firefox:

    https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/firefoxOptions

    Safari:

    https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/safari/SafariOptions.html

    Edge:

    https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/edge/EdgeDriver.html

    Internet explorer:

    https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/ie/InternetExplorerOptions.html