Skip to content

paulbrodner/headless-browser-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browser-testing

Playing with selenium, java, docker and standalone selenium docker images

#f03c15 ! Prerequisites

Usage

a) git clone https://github.com/paulbrodner/headless-browser-testing b) start Selenium Grid with Firefox in a docker container

$ cd headless-browser-testing
$ ./start-selenium.sh #this will run in the background the selenium grid

You can see the grid running in background

$ docker ps

c) run the test

$ mvn test

This will run the JUnit test that will

  • open (remotely in the container) the Google page
  • takes a screenshots and saves it in target folder
  • assert the title of the page is correct

About

Playing with selenium, java, docker and standalone selenium docker images

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors