createScreenshot() does not take into account window.devicePixelRatio · Issue #62 · Codeception/VisualCeption · GitHub
Skip to content

createScreenshot() does not take into account window.devicePixelRatio #62

Open

Description

@mklepaczewski

VisualCeption::createScreenshot() doesn't take into account window.devicePixelRatio and incorrectly calculates $coords, in particular when the screenshot is limited to a specific element.

Activity

  1. changed the title [-]createScreenshot() does not take into account window.window.devicePixelRatio[/-] [+]createScreenshot() does not take into account window.devicePixelRatio[/+] on Dec 23, 2019
  2. AdamOakman commented on Feb 2, 2021

    @AdamOakman

    I can confirm there is indeed a problem in taking pictures for pixel ratio other than 1 - is there any chance for fixing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions