Skip to content
This repository was archived by the owner on Nov 14, 2022. It is now read-only.

browserstack/automate-java-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repo is now deprecated. Please refer to the following repositories instead:

  1. Testng
  2. Cucumber
  3. Junit
  4. Serenity
  5. Gauge
  6. Selenide
  7. JBehave

Automate Java Samples

This repository contains code samples from http://www.browserstack.com/automate/java. Please feel free to clone the repo and use the example code.

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

Usage

1. Setup BROWSERSTACK_USERNAME and BROWSERSTACK_ACCESS_KEY environment variables with browserstack credentials or directly update these strings in Browserstack.java 2. Run using mvn clean compile exec:java

For test frameworks integration with BrowserStack, refer to these sample repositories -

1. JUnit 2. TestNg

About

Sample junit, testng code for running selenium with BrowserStack Automate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7

Languages