changd icon indicating copy to clipboard operation
changd copied to clipboard

Excess white space below site capture

Open bradhawkins85 opened this issue 3 years ago • 1 comments
trafficstars

When capturing some sites excess white space is added below the website capture.

Example link: https://msto.startrack.com.au/track-trace/?id=MVMZ00118468

Capture result, the actual white space is much longer on the actual reference image image

Adjusting the delay does not seem to change the amount of white space that is added.

bradhawkins85 avatar Aug 30 '22 03:08 bradhawkins85

Hi @bradhawkins85 - so the reason this occurs is because the image comparison package needs images to be the same width & height in order to detect any changes. You can set this parameter in your .env file.

CAPTURE_IMAGE_HEIGHT=5000 CAPTURE_IMAGE_WIDTH=1024

Ultimately this should really be moved from a global parameter to be user selectable for each job.

paschmann avatar Aug 30 '22 11:08 paschmann