[cookies] Make browser names case insensitive
This commit is contained in:
parent
67ad7759af
commit
ca46b94134
3 changed files with 3 additions and 2 deletions
|
|
@ -748,6 +748,7 @@ def _is_path(value):
|
|||
|
||||
|
||||
def _parse_browser_specification(browser_name, profile=None):
|
||||
browser_name = browser_name.lower()
|
||||
if browser_name not in SUPPORTED_BROWSERS:
|
||||
raise ValueError(f'unsupported browser: "{browser_name}"')
|
||||
if profile is not None and _is_path(profile):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue