cy.screenshot dpi #29338
cy.screenshot dpi
#29338
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using chrome. Calling
cy.viewport(1920, 1080)
andcy.screenshot({capture: 'viewport'})
results in screenshots that are actually 1440 x 810.Logging the properties via
onAfterScreenshot
indicates that this is probably a DPI issue; e.g.,scaleFactor
is approximately 0.75.Is there a solution?
Beta Was this translation helpful? Give feedback.
All reactions