twalpole / apparition

Capybara driver for Chrome using CDP
MIT License
363 stars 46 forks source link

Screenshots occasionally have a blank white rectangle at the top #62

Open shepmaster opened 4 years ago

shepmaster commented 4 years ago

When a test fails, we take a screenshot to aid in debugging. Sometimes, the screenshot has a white box that covers the entire screen, other times it's just the top:

image

This does not occur on every failure in our application, and I'm not even sure if it's consistent for a specific test.

I haven't been able to create a minimized reproduction case yet, but figured I'd open an issue early in case other people have experienced something similar.

geoffharcourt commented 3 years ago

We are seeing a similar issue with Chromium 86 in Linux that we never saw in Chromium 81. We don't get any JS errors from Apparition reported when these failures happen (our first instinct for a blank page would be that somehow our React.js failed, but we have significant non-React stuff that should be visible even if all JS failed).

We're using Apparition 0.6.0, Capybara 3.34.0, 86.0.4240.111-r0, and Alpine Linux 3.12.