PlaywrightCapture 1.25.7__py3-none-any.whl → 1.25.8__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 +3 -0
- {playwrightcapture-1.25.7.dist-info → playwrightcapture-1.25.8.dist-info}/METADATA +1 -1
- {playwrightcapture-1.25.7.dist-info → playwrightcapture-1.25.8.dist-info}/RECORD +5 -5
- {playwrightcapture-1.25.7.dist-info → playwrightcapture-1.25.8.dist-info}/LICENSE +0 -0
- {playwrightcapture-1.25.7.dist-info → playwrightcapture-1.25.8.dist-info}/WHEEL +0 -0
playwrightcapture/capture.py
CHANGED
@@ -411,6 +411,9 @@ class Capture():
|
|
411
411
|
if context_vp := device_context_settings.pop('viewport', self._default_viewport):
|
412
412
|
# Always true, but we also always want to pop it.
|
413
413
|
vp = self.viewport if self.viewport else context_vp
|
414
|
+
else:
|
415
|
+
ua = self.user_agent
|
416
|
+
vp = self.viewport
|
414
417
|
|
415
418
|
self.context = await self.browser.new_context(
|
416
419
|
record_har_path=self._temp_harfile.name,
|
@@ -1,9 +1,9 @@
|
|
1
1
|
playwrightcapture/__init__.py,sha256=F90Y8wYS13tDjgsfjuFrCfmzQfdnH44G-ovuilJfLEE,511
|
2
|
-
playwrightcapture/capture.py,sha256=
|
2
|
+
playwrightcapture/capture.py,sha256=DzAx7xwF5IbYfIOt-4gzppc9Qzc1jadk93zN8PtVJZQ,70846
|
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.8.dist-info/LICENSE,sha256=uwFc39fTLacBUG-XTuxX6IQKTKhg4z14gWOLt3ex4Ho,1775
|
7
|
+
playwrightcapture-1.25.8.dist-info/METADATA,sha256=508SCjk5btHdQCfQrrivoGA7s-X-LY1TAv6Qp_HyeOE,3173
|
8
|
+
playwrightcapture-1.25.8.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
9
|
+
playwrightcapture-1.25.8.dist-info/RECORD,,
|
File without changes
|
File without changes
|