Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] WebKit scrollbars are not hidden #844

Closed
FezVrasta opened this issue Feb 5, 2020 · 4 comments
Closed

[BUG] WebKit scrollbars are not hidden #844

FezVrasta opened this issue Feb 5, 2020 · 4 comments

Comments

@FezVrasta
Copy link

Context:

  • Playwright Version: 0.10.0
  • Operating System: macOS

Code Snippet

N/A

Describe the bug

chromium and firefox hide scrollbars by default, while webkit shows them. This makes difficult to perform image snapshot comparison tests across browsers.

WebKit should hide scrollbars by default, to be consistent with the other 2 browsers.

@aslushnikov
Copy link
Collaborator

aslushnikov commented Feb 6, 2020

@FezVrasta can you share your screenshot?

@mmarkelov
Copy link

@aslushnikov for example:

  • Webkit
    2
  • Chrome
    1

@Anrb13
Copy link

Anrb13 commented Aug 6, 2020

Still have dat issue on windows, webkit - devices - iphone 8.
playwright@1.2.1
2020-08-06T18-33-08 939Z_iphone
2020-08-06T18-16-49 254Z_iphone
2020-08-06T18-30-24 798Z_iphone
2020-08-06T18-32-21 374Z_iphone

@Pomax
Copy link

Pomax commented May 2, 2021

Same, I'm still seeing screenshots taken with the example code from the README.md look fine for Chromium and Firefox, whereas Webkit shows a big old bar of "nothing", completely throwing off automated screenshot comparisons.

Even for screenshots that use full_page=True, which by its very nature should mean that there is no vertical scrollbar.

sand4rt pushed a commit to sand4rt/playwright that referenced this issue Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants