-
Notifications
You must be signed in to change notification settings - Fork 15
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
Is it possible to set the height and width for the taken screenshot? So the page size would be the same for each screenshots. #60
Comments
Hi, afaik screenshots are taken fullscreen, or from a particular element. The only way to take screenshots from the same size is either resizing the window for fullscreen, or using a determined element that does not change its dimensions. |
Hi, thank you for getting back to me. I did try to take a screenshot of a div and get the whole page but that also did not work. For some reason, it is taking the full screenshot of the page even the elements that are not in the div in the screenshot such as the header and footer elements. If I use One more question if you don't mind. |
I think you should share more details, like version used, settings, some examples of what are you doing. Its bit hard to think about without nothing to reason about... thank you! |
Hi,
Is there a way to set the size of the screenshots?
I think I can set the browser size using
resizeWindow
method within testcafe but that would be my last option unless there is no way to set the screenshot size with testcafe-blink-diff.Thank you,
The text was updated successfully, but these errors were encountered: