Skip to content

usil/seleniumjs4all-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seleniumjs4all - demo

Simple hello world tests using selenium and seleniumjs4all on this pages:

  • google
  • wikipedia
  • youtube
  • github

More technical details can be found here https://github.com/usil/seleniumjs4all

Requirements

  • nodejs >= 16

Run tests manually

npm install
npm run start

Just wait until the end

Result

If you don't have any error, you should have this log in the shell or cmd:

image

and in the report folder you will find a folder with the execution id:

image

image

Error report

To force a failure you can change some expected values in the settings.json file. For example change the CEO name here

image

and run again the tests with

npm run start

You will see all the error log and an html report (with a folder with the execution id as name) with the error and a screenshot of the error.

Run tests with docker

docker build -t acme-tests .

If your tests has variables, add them in this line #ENV_VAR_HERE of Dockerfile in format ENV foo=bar

Contributors


JRichardsz

Diego Ramos

Madeliy Ricra

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •