Supported Capabilities, Browsers, and Platforms in Device Farm Desktop Browser Testing - Device Farm desktop browser testing

Supported Capabilities, Browsers, and Platforms in Device Farm Desktop Browser Testing

This topic lists the supported configurations of browsers and operating systems. An exception is raised if you request a browser and operating system combination that is not supported.

Values here are suitable for parametrized test suites.

Supported Browsers

The following browsers are supported:

Name browserName value Supported platforms
Google Chrome chrome windows
Mozilla Firefox firefox windows
Microsoft Internet Explorer internet explorer windows
Note

Only Microsoft Internet Explorer version 11 is supported. Since January, 2016, Microsoft no longer provides security updates or technical support for older versions of Internet Explorer. For more information, see Microsoft's announcement of IE end of support.

Supported Capabilities

The desktop browser testing feature does not implement all capabilities outlined in the W3C WebDriver documentation. Extension capabilities used by Device Farm desktop browser testing are prefixed with aws:. The following capabilities are used by the Device Farm WebDriver node:

browserName (string, required, no default)

Name of the browser to use for the session. Must be one of the supported browsers. This value is always lowercase.

browserVersion (string, required)

Version of the browser to launch; one of latest, latest-1, latest-2

Note

Device Farm desktop browser testing does not support requesting specific releases of browsers.

platform (string, optional, defaults to windows)

Platform (operating system) to use when creating the session. Must be one of the supported platforms.

aws:maxDurationSecs (integer, optional, defaults to 900)

Maximum duration of the session before it is forcibly closed, in seconds. Range: 180 to 2400.

aws:idleTimeoutSecs (integer, optional, defaults to 120)

Maximum delay between WebDriver commands before the session is forcibly closed. Range: 30 to 900

The following are not allowed:

w3c (in Chrome)

Setting this capability to false will result in an error.

binary

Setting this capability will result in an error.

args

The following browser command line parameters are not allowed:

  • --headless (Chrome)

  • -headless (Firefox)

  • --user-data-dir

All other capabilities are passed directly to the target browser-specific WebDriver. These arguments are not officially supported by Device Farm. Their use might result in unexpected behavior.

Supported Platforms

The following platforms are supported:

Name platform value
Microsoft Windows windows