AWS Device Farm and Selenium WebDriver
Device Farm Desktop Browser & Mobile Testing
AWS Device Farm is a testing service from AWS that can help us to improve the quality of our web and mobile applications by testing them across a wide range of desktop browsers and real mobile devices without the need to deploy and manage a test infrastructure.
The service allows us to run our tests on multiple desktop browsers or real devices to speed up the execution of your test suite and generates videos and logs to help you quickly identify problems with your application.
About AWS Device Farm Details: https://docs.aws.amazon.com/devicefarm/latest/testgrid/what-is-testgrid.html
AWS CLI Configuration: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html
Pre-requisites
- Windows (Python, pip3)
- IntelliJ IDEA
- Install AWS CLI, check the following link to know more about this step from AWS documentation https://docs.aws.amazon.com/cli/latest/userguide/install-windows.html After installing AWS CLI you need to configure your account with command
aws configure
You need to add the following credentials:
AWS Access Key ID
AWS Secret Access Key
Default region name - for example us-west-2 To know more about your Security Credentials you can check this link - https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html
Credit: Moataz Nabil (Senior SDET | Test Automation Expert | Technical Trainer)