Opened this issue 7 years ago · 1 comments
using setViewPort has no affect. i'm always returned mobile screen size results.
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/')
$casper->setViewPort(1366, 768)
$casper->start('https://www.google.com/')