Example using playwright browser automation
Just run npm start to run the script. It will create three screenshots for different browsers. Run npm test to run the tests for different browsers. If necessary you can update the screenshots using npm run initScreenshots.