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

setViewPort not taking affect #56

Open
scrapewww opened this issue Feb 21, 2018 · 1 comment
Open

setViewPort not taking affect #56

scrapewww opened this issue Feb 21, 2018 · 1 comment

Comments

@scrapewww
Copy link

using setViewPort has no affect. i'm always returned mobile screen size results.

@nafplann
Copy link

hey same problem here, the solution is you have to put
$casper->setViewPort(1366, 768) below the line of
$casper->start('https://www.google.com/')

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

2 participants