If you have thousands of pages on your site and need to perform visual automation how can we do it?
This CSV-importer will help you to fetch all the base urls and reference urls from the url.sample.csv
file and will create a scenario.json
file.
- clone repository
https://github.com/Rink9/csv-importer-visual-automation.git
cd csv-importer-visual-automation
npm install
- Open this csv file and download it.
- Put respective label name, url and reference url then save
- Replace saved csv file with
data/url.sample.csv
file
npm run parse:csv
( It will generate scenario.json file )npm run reference
( It will create reference screenshots )npm run test
( It will compare the screenshots and will provide a browser visual automation report )