Skip to content

Can't pass viewport size to Puppeteer #285

@andrey-p

Description

@andrey-p

With the older PhantomJS-based version, we were able to set the viewport size by passing something like:

page: {
    viewportSize: {
        width: 1200,
        height: 768
    }
}

Is it possible to expose viewport size as an option to Puppeteer? Or maybe just allow us to pass arbitrary arguments to puppeteer.launch()?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions