Run Java Playwright-iOS tests on BrowserStack Automate
Learn how to run your Java Playwright-iOS tests on BrowserStack Automate
This guide shows you how to run your Java Playwright tests on BrowserStack real iOS devices using Automate.
Prerequisites
- BrowserStack Username and Access key. You can find this in your account profile. If you have not created an account yet, you can sign up for a Free Trial.
- JUnit, Java v8+ is installed on your machine.
- If you are using CLI for running tests, ensure that Maven is installed on your machine, Maven environment variables are set, and Maven bin is added to system path,
$PATH.
Perform the steps given below to run a Playwright-iOS test:
Modify/Create tests
The given sample script shows how to set preferred devices for running a test. Add this to your existing repo
Run Your Test
Once the setup is complete, you can run your test using your standard Maven command from the terminal
After execution, you can view the test results, including a video recording and logs, on the BrowserStack Automate Dashboard.
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
- RESOURCES
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!