Skip to content

Commit 2b9519b

Browse files
committed
Update typing for backwards compatibility
1 parent 07360c4 commit 2b9519b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seleniumbase/undetected/cdp_driver/browser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import warnings
1717
from collections import defaultdict
1818
from seleniumbase import config as sb_config
19-
from typing import List, Optional, Required, Set, Tuple, Union
19+
from typing import List, Optional, Set, Tuple, Union
2020
import mycdp as cdp
2121
from . import cdp_util as util
2222
from . import tab
@@ -506,7 +506,7 @@ async def start(self=None) -> Browser:
506506

507507
async def grant_permissions(
508508
self,
509-
permissions: Required[List[str] | str],
509+
permissions: List[str] | str,
510510
origin: Optional[str] = None,
511511
):
512512
"""Grant specific permissions to the current window.

0 commit comments

Comments
 (0)