Skip to content

Commit c42f637

Browse files
Adding window_size to chrome
Just noticing that this option is supported meanwhile.
1 parent 953444c commit c42f637

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)