Skip to content

Size of virtual display and "real" size are different #15

@vkudyushev

Description

@vkudyushev

Hi there!

I've tried with original PhantomJS 2.0.0 this: start virtual display with Xvfb and then run PhantomJS script into it... Script is working correct, but the screen size always is equal to 1024x768px.

Today I've found this fork and this article - http://www.ryanbridges.org/2013/05/21/putting-the-flash-back-in-phantomjs/ , tried this PhantomJS, but get same result.

page.viewportSize is not the same as a screen size for some needs...

Maybe you have some ideas to reproduce this?
Thank you!

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