Skip to content

Files

Latest commit

Mar 30, 2023
f4944ef · Mar 30, 2023

History

History
36 lines (26 loc) · 2.02 KB

README.md

File metadata and controls

36 lines (26 loc) · 2.02 KB

serenity-browserstack

Serenity Integration with BrowserStack.

Master branch contains Selenium 4 samples, for Selenium 3 - JSON Wire protocol please checkout selenium-3 branch

BrowserStack Logo

Setup

  • Clone the repo
  • Install dependencies mvn install
  • You can setup environment variables for all sample repos (see Notes) or update serenity.properties file with your BrowserStack Username and Access Key

Running your tests

  • To run tests, run mvn verify -P parallel
  • To run local tests, run mvn verify -P local

Understand how many parallel sessions you need by using our Parallel Test Calculator

Notes

  • You can view your test results on the BrowserStack Automate dashboard

  • To test on a different set of browsers, check out our platform configurator

  • You can export the environment variables for the Username and Access Key of your BrowserStack account

    export BROWSERSTACK_USERNAME=<browserstack-username> &&
    export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
    

Additional Resources