Zum Hauptinhalt springen

AWS Device Farm Service

wdio-aws-device-farm-service is a 3rd party package, for more information please see GitHub | npm

AWS Device Farm Service for WebdriverIO

AWS Device Farm service for WebdriverIO.

This service only supports desktop browser testing.

Upgrading to WebDriverIO v8

The package now provides support for WebDriverIO v8 starting from version v8.0.0. However, please note that WebDriverIO v7 will continue to be supported until the end of its LTS support in October 2023.

With the major version upgrade to v8, this package has transitioned to the ES module system. And it now emits both CommonJS (CJS-) and ECMAScript Modules (ESM-) compatible modules.

Installation

npm install --save-dev wdio-aws-device-farm-service

Example

You can run the provided example with npm run example. It requires:

  1. An AWS Device Farm project ARN as an environment variable PROJECT_ARN
  2. AWS Credentials (see docs). Note that AWS Device Farm only supports us-west-2. You can force an AWS region with the AWS_REGION environment variable.

For example, this is how it would look like using AWS temporary credentials:

export PROJECT_ARN="<your project arn>"
export AWS_ACCESS_KEY_ID="<aws access key id>"
export AWS_SECRET_ACCESS_KEY="<aws secret access key>"
export AWS_SESSION_TOKEN="<aws session token>"
export AWS_REGION="us-west-2"

npm run example

Security

See CONTRIBUTING for more information.

Getting Help

The best way to interact with our team is through GitHub. You can open an issue to get help or to report any issues you experience.

License

This project is licensed under the Apache-2.0 License.

Welcome! How can I help?

WebdriverIO AI Copilot