Skip to content

How to use clipSelector for screenshot #6

@suntong

Description

@suntong

How to use clipSelector for screenshot?

This works just fine:
https://puppetron.now.sh/screenshot/http://www.xe.com/currencycharts/%3Ffrom%3DUSD%26to%3DCAD%26view%3D1D?width=500&height=900

However, after adding &clipSelector=div.module.clearfix to the end of it, it is no longer working:

https://puppetron.now.sh/screenshot/http://www.xe.com/currencycharts/%3Ffrom%3DUSD%26to%3DCAD%26view%3D1D?width=500&height=900&clipSelector=div.module.clearfix

I got:

Oops. Something is wrong.

Protocol error (Emulation.setDeviceMetricsOverride): Invalid parameters height: integer value expected

Is it a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions