Skip to content

Commit 5532284

Browse files
author
Aerowalk
committed
Update Client.php
Added page.viewportSize : 800 x 600
1 parent 6c92d35 commit 5532284

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/JonnyW/PhantomJs/Client.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,11 @@ protected function parse($data)
304304
response = {},
305305
headers = %1\$s;
306306
307+
page.viewportSize = {
308+
width: 800,
309+
height: 600
310+
};
311+
307312
page.settings.resourceTimeout = %2\$s;
308313
page.onResourceTimeout = function (e) {
309314
response = e;

0 commit comments

Comments
 (0)