For installing the required packages, use the following command
$ pip install -r requirements.txt
-
Do remember to switch the BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY with your own browserstack credentials.
-
Upload your Native App (.apk file) to BrowserStack servers using upload API and update the app capability:
curl -u "username:accesskey" -X POST "https://api.browserstack.com/app-automate/upload" -F "file=@/path/to/app/file/Application-debug.apk" -
If you do not have an .apk file and looking to simply try App Automate, you can download our sample app and upload to the BrowserStack servers using the above API.
-
For LocalSample tests, you can use our local sample app.
-
Update the desired capability "app" with the App URL returned from the above API call
- You can view your test results on the BrowserStack App Automate dashboard
- Refer Get Started document to configure the capabilities
For frameworks integration with BrowserStack, refer to their individual repositories -