python/example_code/devicefarm/browser_testing/README.md
Uses PyTest with the AWS Device Farm browser testing feature. This example demonstrates:
This example gets you started using Selenium to test web applications using Device Farm as part of a CI system. The example must be run inside a Git repository and output is saved into a directory based on the most recent Git commit hash.
Device Farm is an app testing service that enables you to test your iOS, Android and Fire OS apps on real, physical phones and tablets that are hosted by AWS.
us-west-2, the only AWS Region where Device Farm is located.pipenv: This example uses Pipenv to contain its dependencies. The following
dependencies are used:
To run this example from a command line, use the following commands:
Install the dependencies into the pipenv-generated virtual environment.
pipenv install
Run the example test suite.
PROJECT_ARN="aws:arn:devicefarm:us-west-2:..." pipenv run pytest -s
Note: Not all tests are designed to pass.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0