Skip to content

Commit e81d649

Browse files
committed
Simplify demo_mode parameter
1 parent e0ed83a commit e81d649

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

seleniumbase/plugins/pytest_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def pytest_addoption(parser):
167167
default=True,
168168
help="""This is used by the BaseCase class to tell apart
169169
pytest runs from nosetest runs. (Automatic)""")
170-
parser.addoption('--demo_mode', '--demo-mode',
170+
parser.addoption('--demo_mode', '--demo-mode', '--demo',
171171
action="store_true",
172172
dest='demo_mode',
173173
default=False,

seleniumbase/plugins/selenium_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def options(self, parser, env):
131131
help="""Using this makes Webdriver run headlessly,
132132
which is required on headless machines.""")
133133
parser.add_option(
134-
'--demo_mode', '--demo-mode',
134+
'--demo_mode', '--demo-mode', '--demo',
135135
action="store_true",
136136
dest='demo_mode',
137137
default=False,

0 commit comments

Comments
 (0)