File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 17
17
18
18
import json
19
19
import pkgutil
20
- import sys
21
20
22
21
from contextlib import asynccontextmanager
23
22
from importlib import import_module
@@ -43,7 +42,6 @@ class Log():
43
42
"""
44
43
45
44
def __init__ (self , driver , bidi_session ) -> None :
46
- assert sys .version_info >= (3 , 7 )
47
45
self .driver = driver
48
46
self .session = bidi_session .session
49
47
self .cdp = bidi_session .cdp
@@ -70,8 +68,6 @@ async def mutation_events(self) -> dict:
70
68
71
69
"""
72
70
73
- assert sys .version_info >= (3 , 7 )
74
-
75
71
page = self .cdp .get_session_context ('page.enable' )
76
72
await page .execute (self .devtools .page .enable ())
77
73
runtime = self .cdp .get_session_context ('runtime.enable' )
Original file line number Diff line number Diff line change 24
24
25
25
import pkgutil
26
26
27
- import sys
28
27
from typing import Dict , List , Optional , Union
29
28
30
29
import warnings
@@ -1168,7 +1167,6 @@ def get_log(self, log_type):
1168
1167
1169
1168
@asynccontextmanager
1170
1169
async def bidi_connection (self ):
1171
- assert sys .version_info >= (3 , 7 )
1172
1170
global cdp
1173
1171
import_cdp ()
1174
1172
if self .caps .get ("se:cdp" ):
You can’t perform that action at this time.
0 commit comments