File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
py/selenium/webdriver/common/bidi Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,15 @@ def set_permission(
6363 Raises:
6464 ValueError: If the permission state is invalid.
6565 """
66- if state not in [PermissionState .GRANTED , PermissionState .DENIED , PermissionState .PROMPT ]:
66+ if state not in [
67+ PermissionState .GRANTED ,
68+ PermissionState .DENIED ,
69+ PermissionState .PROMPT ,
70+ ]:
6771 valid_states = f"{ PermissionState .GRANTED } , { PermissionState .DENIED } , { PermissionState .PROMPT } "
68- raise ValueError (f"Invalid permission state. Must be one of: { valid_states } " )
72+ raise ValueError (
73+ f"Invalid permission state. Must be one of: { valid_states } "
74+ )
6975
7076 if isinstance (descriptor , str ):
7177 permission_descriptor = PermissionDescriptor (descriptor )
You can’t perform that action at this time.
0 commit comments