Open bradleyscollins opened 1 month ago
A number of the test failures are on account of a difference between expected vs. actual screenshot height.
We noticed that as of Chrome 128, the heights of our screenshot/screencast images were different from (less than) the height specified in the window_size
option of the Browser
constructor. We had to set the viewport size explicitly to get the expected screenshot height.
This pull request adds an API that exposes CDP's screencast capability.
See the following:
Note: At this time, the Chrome DevTools Protocol documentation still has screencast methods/types marked as "experimental."