Skip to content

Commit 4e33cef

Browse files
committed
Make pytest browser selection case-insensitive
1 parent bf968cd commit 4e33cef

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

seleniumbase/plugins/pytest_plugin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ def pytest_addoption(parser):
1212
'SeleniumBase specific configuration options')
1313
parser.addoption('--browser', action="store",
1414
dest='browser',
15+
type=str.lower,
1516
choices=constants.ValidBrowsers.valid_browsers,
1617
default=constants.Browser.GOOGLE_CHROME,
1718
help="""Specifies the web browser to use. Default: Chrome.

0 commit comments

Comments
 (0)