Skip to content

SaveElementScreenshot not working correctly #3

@iabw

Description

@iabw

Using the completely unedited version of the custom command, it's not working for specified elements on my site, google.com, bing.com. The size is correct, but the location is not.

There's several issues in EasyImage about crop and gravity not working. I went into the Easy Image code and removed all the passing of gravity options, but my images still don't crop to the correct place.

If this isn't some weird local issue for me and a bunch of other people, I would assume this is a recent issue in Easy Image, maybe caused by this commit - hacksparrow/node-easyimage@3ca8c42 where they modified the arguments heavily.

I don't need this feature from Nightwatch or have time to look into it specifically, but there ya go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions