vchrome 0.0.3__py3-none-any.whl → 0.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vchrome/__init__.py +7 -1
- {vchrome-0.0.3.dist-info → vchrome-0.0.4.dist-info}/METADATA +1 -1
- vchrome-0.0.4.dist-info/RECORD +5 -0
- vchrome-0.0.3.dist-info/RECORD +0 -5
- {vchrome-0.0.3.dist-info → vchrome-0.0.4.dist-info}/WHEEL +0 -0
- {vchrome-0.0.3.dist-info → vchrome-0.0.4.dist-info}/top_level.txt +0 -0
vchrome/__init__.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
__version__ = '0.0.
|
|
1
|
+
__version__ = '0.0.4'
|
|
2
2
|
__author__ = 'v'
|
|
3
3
|
# ----------------------------------------------------------------------------------------------------
|
|
4
4
|
_allowed = {'Chrome'}
|
|
@@ -810,6 +810,12 @@ def cdp_client(hostname, port, debug=False):
|
|
|
810
810
|
if rdata['params'].get('targetInfo', {}).get('type') == 'service_worker':
|
|
811
811
|
self.f.root._del_init_check()
|
|
812
812
|
return
|
|
813
|
+
# TODO
|
|
814
|
+
# need to be compatible with workers in the future
|
|
815
|
+
if rdata['params'].get('targetInfo', {}).get('type') == 'worker':
|
|
816
|
+
# and rdata['params'].get('targetInfo', {}).get('title', '').startswith('blob'):
|
|
817
|
+
self.f.root._del_init_check()
|
|
818
|
+
return
|
|
813
819
|
frameId = tinfo['targetId']
|
|
814
820
|
sessionId = rdata['params']['sessionId']
|
|
815
821
|
# self.f.cdp("Target.setAutoAttach", {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
vchrome/__init__.py,sha256=jr8vqeslue8Qsks_Q8u8Hil5EGfJv9ZwTozKgWbF1A8,206643
|
|
2
|
+
vchrome-0.0.4.dist-info/METADATA,sha256=naCPRYBSrjbxNhwRaaccILJPsCYF5Re_Yh6mGtJnAfI,54
|
|
3
|
+
vchrome-0.0.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
4
|
+
vchrome-0.0.4.dist-info/top_level.txt,sha256=oB919Fa09PCy48Ptj8iy-1QUcvhEeY97MOR42281Fk0,8
|
|
5
|
+
vchrome-0.0.4.dist-info/RECORD,,
|
vchrome-0.0.3.dist-info/RECORD
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
vchrome/__init__.py,sha256=EJQjfA2gVhXOHKjJATTFr9ePDw-THC4DTMflWnAitck,206316
|
|
2
|
-
vchrome-0.0.3.dist-info/METADATA,sha256=AFIZUSrXsfq6ga97ItMe7CSflB5qxy28d0Di9Zqkhvc,54
|
|
3
|
-
vchrome-0.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
4
|
-
vchrome-0.0.3.dist-info/top_level.txt,sha256=oB919Fa09PCy48Ptj8iy-1QUcvhEeY97MOR42281Fk0,8
|
|
5
|
-
vchrome-0.0.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|