Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

Basic selenium test samples with video recording support.

Notifications You must be signed in to change notification settings

sskorol/docker-selenium-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basic selenium test samples with video recording / proxy support

This project provides some common usage examples for docker-selenium and docker-selenium-grid. See technical details in related article.

The main intention is to show how to use the following features in docker containers:

  • video recording
  • network traffic recording

Custom capabilities with required video info / proxy are set in WebDriverContainer.

Video / HAR attachment process is triggered in BaseTestListener.

Note that this project depends on browsermob-proxy-rest. So first you'll need to deploy it into your local maven repository. You may also want to build BMP image from docker-browsermob-proxy.

HAR attachment is implemented as an embedded version of HAR Viewer.

Use the following command to run tests against docker containers:

mvn clean test

To generate test results report, you need to run:

mvn site

demo

About

Basic selenium test samples with video recording support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published