garris / garris/BackstopJS

scrollToBottom clipRect error

Open
#389 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.2k
Forks
621
PR merge metrics
No merged PRs in 30d

Description

If i scrollToBottom with casper API in onReady.js when backstopJS capturing page the clipRect height is wrong.

`casper.scrollToBottom();`

`clipRect {"height":427,"left":0,"top":473,"width":1440}`

If after scroll i take a custom capture in the scripts:
`casper.scrollToBottom();
casper.capture("#siteFooter");`

`clipRect {"height":427,"left":0,"top":2758,"width":1440}`

the first capture is wrong but the second is correct.

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.