Skip to content

Commit 0f26e63

Browse files
authored
Merge pull request #98 from ThomasLandauer/patch-1
Adding `window_size` to chrome
2 parents 953444c + c42f637 commit 0f26e63

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Codeception/Module/WebDriver.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@
126126
* modules:
127127
* enabled:
128128
* - WebDriver:
129+
* browser: chrome
129130
* url: 'http://localhost/'
130-
* window_size: false # disabled in ChromeDriver
131+
* window_size: 2000x1000
131132
* port: 9515
132-
* browser: chrome
133133
* capabilities:
134134
* chromeOptions:
135135
* args: ["--headless", "--disable-gpu"] # Run Chrome in headless mode
@@ -150,8 +150,9 @@
150150
* modules:
151151
* enabled:
152152
* - WebDriver:
153-
* url: 'http://localhost/'
154153
* browser: firefox
154+
* url: 'http://localhost/'
155+
* window_size: 2000x1000
155156
* path: ''
156157
* capabilities:
157158
* acceptInsecureCerts: true # allow self-signed certificates

0 commit comments

Comments
 (0)