Open jpEngProd opened 6 months ago
@jpEngProd Scrollbars are currently hidden in headless mode. I understand that it is sometimes desirable to see scrollbars in the screenshot, but there is no control over scrollbars in Playwright API yet.
Even for non-headless mode scrollbars are hidden.
I have added Headless = false
in above provided code snippets
Version
1.42.0
Steps to reproduce
Expected behavior
Screenshot with scrollbar.
Actual behavior
Below is the captured screenshot. It does not contain scrollbar.
Additional context
Also tried configuring
--hide-scrollbars
as mentioned in few threads. That also doesnbEnvironment