Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excess white space below site capture #13

Open
bradhawkins85 opened this issue Aug 30, 2022 · 1 comment
Open

Excess white space below site capture #13

bradhawkins85 opened this issue Aug 30, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@bradhawkins85
Copy link

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.

@paschmann paschmann added enhancement New feature or request help wanted Extra attention is needed labels Aug 30, 2022
@paschmann
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants