This repository contains code samples from http://www.browserstack.com/automate/java. Please feel free to clone the repo and use the example code.
- Setup
BROWSERSTACK_USERNAMEandBROWSERSTACK_ACCESS_KEYenvironment variables with browserstack credentials or directly update thses strings in Browserstack.java - Run using
mvn clean compile exec:java