Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vkudyushev opened this issue Oct 6, 2015 · 0 comments
Open

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

vkudyushev opened this issue Oct 6, 2015 · 0 comments

Comments

@vkudyushev
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant