PlaywrightCapture 1.25.1__py3-none-any.whl → 1.25.2__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.
- playwrightcapture/capture.py +4 -6
- {playwrightcapture-1.25.1.dist-info → playwrightcapture-1.25.2.dist-info}/METADATA +1 -1
- {playwrightcapture-1.25.1.dist-info → playwrightcapture-1.25.2.dist-info}/RECORD +5 -5
- {playwrightcapture-1.25.1.dist-info → playwrightcapture-1.25.2.dist-info}/LICENSE +0 -0
- {playwrightcapture-1.25.1.dist-info → playwrightcapture-1.25.2.dist-info}/WHEEL +0 -0
playwrightcapture/capture.py
CHANGED
@@ -805,12 +805,6 @@ class Capture():
|
|
805
805
|
except Exception as e:
|
806
806
|
self.logger.warning(f'Could not find body: {e}')
|
807
807
|
|
808
|
-
# fast forward 30s
|
809
|
-
await page.clock.run_for(10000)
|
810
|
-
await page.clock.resume()
|
811
|
-
await self._wait_for_random_timeout(page, 5) # Wait 5 sec
|
812
|
-
self.logger.warning('Moved time forward.')
|
813
|
-
|
814
808
|
if parsed_url.fragment:
|
815
809
|
# We got a fragment, make sure we go to it and scroll only a little bit.
|
816
810
|
fragment = unquote(parsed_url.fragment)
|
@@ -870,6 +864,10 @@ class Capture():
|
|
870
864
|
z.writestr(f'{i}_{filename}', file_content)
|
871
865
|
to_return["downloaded_file"] = mem_zip.getvalue()
|
872
866
|
|
867
|
+
# fast forward 30s
|
868
|
+
await page.clock.run_for("30")
|
869
|
+
self.logger.debug('Moved time forward.')
|
870
|
+
|
873
871
|
self.logger.debug('Done with instrumentation, waiting for network idle.')
|
874
872
|
await self._wait_for_random_timeout(page, 5) # Wait 5 sec after instrumentation
|
875
873
|
await self._safe_wait(page)
|
@@ -1,9 +1,9 @@
|
|
1
1
|
playwrightcapture/__init__.py,sha256=F90Y8wYS13tDjgsfjuFrCfmzQfdnH44G-ovuilJfLEE,511
|
2
|
-
playwrightcapture/capture.py,sha256=
|
2
|
+
playwrightcapture/capture.py,sha256=Yv6c7FpsK2EqHBJUFE51oy55uGDkKsirJ2CFFx7xs2g,69385
|
3
3
|
playwrightcapture/exceptions.py,sha256=LhGJQCGHzEu7Sx2Dfl28OFeDg1OmrwufFjAWXlxQnEA,366
|
4
4
|
playwrightcapture/helpers.py,sha256=SXQLEuxMs8-bcWykMiUVosHzzxBKuS-QC0gBV3OmKmo,1764
|
5
5
|
playwrightcapture/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
playwrightcapture-1.25.
|
7
|
-
playwrightcapture-1.25.
|
8
|
-
playwrightcapture-1.25.
|
9
|
-
playwrightcapture-1.25.
|
6
|
+
playwrightcapture-1.25.2.dist-info/LICENSE,sha256=uwFc39fTLacBUG-XTuxX6IQKTKhg4z14gWOLt3ex4Ho,1775
|
7
|
+
playwrightcapture-1.25.2.dist-info/METADATA,sha256=rme0VEHC3FEhh8kLA4ITWx4SWxekk1zHbqcGmods1_E,3173
|
8
|
+
playwrightcapture-1.25.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
9
|
+
playwrightcapture-1.25.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|