Technical reference
In the W3C WebDriver model, the feature operates as an intermediary node. It provides a means to start, end, and manage sessions.
Here is the functional flow for using the feature:
-
Use the
createTestGridProject
API to create a project. -
Use the
createTestGridUrl
API to create a signed WebDriver hub URL. -
Pass the WebDriver URL to your Selenium
RemoteWebDriver
configuration. -
Run your tests.
-
Use the
listTestGridSessions
API to retrieve the sessions created in the running of your tests. -
Use the
listTestGridSessionArtifacts
API to collect any artifacts such as Selenium logs or video.
Limitations of Device Farm desktop browser testing
Keep these limitations in mind when you use the desktop browser testing feature:
-
The feature is only available in the
us-west-2
(Oregon) region. -
Not all Selenium interfaces are supported. The
pytest-selenium
package, for example, does not allow a command execution URL to be specified. -
Each session you create is isolated from other sessions. Testing that involves multi-window or multi-session interaction is not supported.