Skip to content

Commit d3f0b2f

Browse files
committed
Add "--screenshot" as an alternative to "--save-screenshot"
1 parent df53d28 commit d3f0b2f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

seleniumbase/plugins/pytest_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,7 @@ def pytest_addoption(parser):
804804
maximized.""",
805805
)
806806
parser.addoption(
807+
"--screenshot",
807808
"--save_screenshot",
808809
"--save-screenshot",
809810
action="store_true",

seleniumbase/plugins/selenium_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,7 @@ def options(self, parser, env):
530530
help="""The option to start with the web browser maximized.""",
531531
)
532532
parser.add_option(
533+
"--screenshot",
533534
"--save_screenshot",
534535
"--save-screenshot",
535536
action="store_true",

0 commit comments

Comments
 (0)