bslatkin / dpxdt

Make continuous deployment safe by comparing before and after webpage screenshots for each release. Depicted shows when any visual, perceptual differences are found. This is the ultimate, automated end-to-end test.
https://dpxdt-test.appspot.com
Apache License 2.0
1.44k stars 124 forks source link

Implements capture.py (using webdriver/browserstack) #182

Closed elsigh closed 8 years ago

elsigh commented 8 years ago

Starts deprecating phantomjs flags in favor of more general capture flags. Tested this with run_combined.sh using a --capture_binary=python and capture_script pointing to capture.py then called run_url_pair_diff.sh with command_executor and desired_capabilities args. Screenshots were loaded from Browserstack and worked great.

Still more testing to do, so for now nothing really changes for anyone with this diff, but if things go well, will at least write a README section about using BrowserStack instead of phantomjs.

elsigh commented 8 years ago

Going to initiate this pull again once I've done more debugging (which I'm doing on kubernetes) =)