Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Added note about resizing windows (fixes #146) #147

Merged
merged 1 commit into from
Jul 4, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/special-capabilities.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@ Selenoid allows you to set custom screen resolution in containers being run. To
```
screenResolution: 1280x1024x24
```
[NOTE]
====
. This capability sets only screen resolution - not browser window size. Most of browsers have some default window size value this is why your screenshot size can be smaller than screen resolution specified in capability. You should manually resize window to desired width and height.

. So far as our containers run headless browsers in Xvfb without installed window manager `maximize` operation does not work. You need to use `setSize` method instead.
====