Skip to content

Commit ac3ec49

Browse files
committed
Documentation update
1 parent b6b5433 commit ac3ec49

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ The code above will leave your browser window open in case there's a failure. (i
496496
--devtools # (Open Chrome's DevTools when the browser opens.)
497497
--reuse-session | --rs # (Reuse the browser session between tests.)
498498
--crumbs # (Delete all cookies between tests reusing a session.)
499-
--window-size # (Set the browser window size: "Width,Height".)
499+
--window-size=WIDTH,HEIGHT # (Set the browser's starting window size.)
500500
--maximize # (Start tests with the browser window maximized.)
501501
--screenshot # (Save a screenshot at the end of each test.)
502502
--visual-baseline # (Set the visual baseline for Visual/Layout tests.)

help_docs/customizing_test_runs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pytest my_first_test.py --settings-file=custom_settings.py
170170
--devtools # (Open Chrome's DevTools when the browser opens.)
171171
--reuse-session | --rs # (Reuse the browser session between tests.)
172172
--crumbs # (Delete all cookies between tests reusing a session.)
173-
--window-size # (Set the browser window size: "Width,Height".)
173+
--window-size=WIDTH,HEIGHT # (Set the browser's starting window size.)
174174
--maximize # (Start tests with the browser window maximized.)
175175
--screenshot # (Save a screenshot at the end of each test.)
176176
--visual-baseline # (Set the visual baseline for Visual/Layout tests.)

seleniumbase/plugins/pytest_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def pytest_addoption(parser):
9191
--devtools (Open Chrome's DevTools when the browser opens.)
9292
--reuse-session | --rs (Reuse browser session between tests.)
9393
--crumbs (Delete all cookies between tests reusing a session.)
94-
--window-size (Set the browser window size: "Width,Height".)
94+
--window-size=WIDTH,HEIGHT (Set the browser's starting window size.)
9595
--maximize (Start tests with the browser window maximized.)
9696
--screenshot (Save a screenshot at the end of each test.)
9797
--visual-baseline (Set the visual baseline for Visual/Layout tests.)

seleniumbase/plugins/selenium_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class SeleniumBrowser(Plugin):
6868
--incognito (Enable Chrome's Incognito mode.)
6969
--guest (Enable Chrome's Guest mode.)
7070
--devtools (Open Chrome's DevTools when the browser opens.)
71-
--window-size (Set the browser window size: "Width,Height".)
71+
--window-size=WIDTH,HEIGHT (Set the browser's starting window size.)
7272
--maximize (Start tests with the browser window maximized.)
7373
--screenshot (Save a screenshot at the end of each test.)
7474
--visual-baseline (Set the visual baseline for Visual/Layout tests.)

0 commit comments

Comments
 (0)