QAProvider. Automated Visual Testing
This is an example on how to do automated visual testing with Puppeteer.
- Pull the code.
- Install Puppeteer with next command: sudo npm i puppeteer !For virtual servers working under windows machines: sudo npm i puppeteer --no-bin-links
- Modify config.js for your needs.
- Simply run the script with command: node qaprovider.js
- Check results in screenshots folder.
https://qaprovider.com/discussion/show/puppeteer-quick-start/38 (Puppeteer quick tutorial) https://qaprovider.com/discussion/show/automated-visual-testing-easy-snapshot-testing-with-puppeteer/44 (Automated visual testing - Easy snapshot testing with Puppeteer)
https://eye.qaprovider.com - complete solution using this approach for visual regression testing