Migrating to Device Farm desktop browser testing from Selenium Grid
To migrate Selenium test suites in an environment that uses the RemoteWebDriver
, you must modify
your test suite setup procedure. Using the AWS SDK, you request a signed command executor (hub) URL from the
Device Farm desktop browser testing API. Then you pass that URL along with your requested capabilities to your
RemoteWebDriver
.
To create your first project
-
Run your tests locally to observe and confirm your current test suite behavior.
-
To use the desktop browser testing feature, you must install and configure the AWS SDK
for the language appropriate for your tests. -
Use the console or CLI to create a project:
-
Modify your
RemoteWebDriver
initialization to use the WebDriver endpoint. -
Make sure that the environment variables
AWS_ACCESS_KEY
andAWS_SECRET_KEY
are configured in your testing environment. -
Run your tests.