You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,13 @@ You can also set the browser dimensions
43
43
$screenCapture->setWidth(1200);
44
44
$screenCapture->setHeight(800);
45
45
```
46
+
47
+
you can set also DOM Element Position (top, left)
48
+
```php
49
+
$screenCapture->setTop(100);
50
+
$screenCapture->setLeft(100);
51
+
```
52
+
46
53
This will output all the page including the content rendered beyond the setted dimensions (e.g.: all the scrollable content), if you want just the content inside those boudaries you need to clip the result
0 commit comments