jrandolf
ecd6ac9dfa
chore: implement element screenshot ( #10963 )
2023-09-21 21:21:12 +02:00
Alexandra Borovova
9e95774596
chore: add missing golden asset for firefox ( #9171 )
...
<!-- Thanks for submitting a pull request! Please provide enough
information so that others can review your pull request. -->
**What kind of change does this PR introduce?**
- adds missing golden asset for firefox
**Summary**
- This change will let us see in mozilla ci, where we don't skip this
test, a better error message. Right now it fails with missing asset
error.
**Does this PR introduce a breaking change?**
no
2022-10-27 09:33:38 +00:00
Maksim Sadym
401d84e4a3
feat: use captureBeyondViewport
in Page.captureScreenshot
( #6805 )
...
BREAKING CHANGE:
- `page.screenshot` makes a screenshot with the clip dimensions, not cutting it by the ViewPort size.
2021-02-03 14:30:46 +01:00
Maksim Sadym
890d5c2e57
feat(chromium): roll Chromium to r848005 ( #6801 )
...
This corresponds to Chromium 90.0.4403.0
This roll includes:
- Cut screenshot by ViewPort size, not position (crrev.com/c/2643792)
BREAKING CHANGE:
- `page.screenshot` cuts screenshot content by the ViewPort size, not ViewPort position.
2021-02-02 17:24:10 +01:00
Mathias Bynens
360c1b4c7d
test: add page.screenshot viewport clipping test ( #5079 )
2019-10-24 14:05:13 +02:00
Mathias Bynens
81d2600236
feat(chromium): roll Chromium to r705776 ( #5058 )
...
This corresponds to Chromium 79.0.3942.0.
This roll includes:
- Support CSS media feature emulation in CDP
https://chromium-review.googlesource.com/c/chromium/src/+/1821608
- Implement timezone ID verification
https://chromium-review.googlesource.com/c/chromium/src/+/1822557
- Allow aria-hidden objects into the browser-side ax tree
https://chromium-review.googlesource.com/c/chromium/src/+/1760862
- Remove pre-BlinkGenPropertyTrees codepaths (affects screenshot clipping)
https://chromium-review.googlesource.com/c/chromium/src/+/1752244
- Terminate some asynchronous waiting commands on cross-process navigation
https://chromium-review.googlesource.com/c/chromium/src/+/1766001/21#message-a6a61261b97ffca6ecb180c0a2303b538f7a6476
Per upstream Chromium changes, `page.screenshot` now clips elements to the viewport. This matches the clipping behavior of elements in inner scrollers (i.e., document and overflow scroll clipping now work the same).
2019-10-23 11:41:44 +02:00
Andrey Lushnikov
2275c3c0c8
fix(firefox): properly round clip when doing element screenshots ( #4001 )
...
Do clipping the same way we do it in Chromium.
2019-02-13 19:47:14 -08:00
Andrey Lushnikov
609e763381
test(firefox): enable screenshot tests for Firefox ( #3942 )
...
References #3889
2019-02-07 07:59:14 -08:00