We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
typing_extensions
py37
1 parent dec3bb8 commit 56a35d9Copy full SHA for 56a35d9
1 file changed
py/selenium/webdriver/common/virtual_authenticator.py
@@ -19,7 +19,14 @@
19
20
from base64 import urlsafe_b64encode, urlsafe_b64decode
21
from enum import Enum
22
-from typing import Literal
+import typing
23
+import sys
24
+
25
+if typing.TYPE_CHECKING:
26
+ if sys.version_info >= (3, 8):
27
+ from typing import Literal
28
+ else:
29
+ from typing_extensions import Literal
30
31
32
class Protocol(Enum):
0 commit comments