Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test(bidi): hide scrollbars in screenshot tests in Firefox (#37499)

Holger Benl9c860fb7445e
diff --git a/tests/assets/grid.html b/tests/assets/grid.html
index 571d5c797e..8345f429bd 100644
--- a/tests/assets/grid.html
+++ b/tests/assets/grid.html
@@ -50,6 +50,10 @@ body {
display: none;
}
+html {
+ scrollbar-width: none;
+}
+
@keyframes move {
from { left: -500px; background-color: cyan; }
to { left: 0; background-color: rgb(255, 210, 204); }