Skip to content

[Bug]: toHaveScreenshot repeats the initial viewport on Android using Browserstack #36215

Open
@l0king-alt

Description

@l0king-alt

Version

1.52.0 (latest)

Steps to reproduce

Expected behavior

I would expect the same kind of result as when running the same test on Windows -> Chrome:

Image

The entire page is captured even if scroll is necessary.

Actual behavior

If you run the sample provided above, the android image should come out like this (https://playwright.dev/community/welcome):

Image

As shown in the image, the initial viewport is repeated over and over again. This does not happen when running the same test using Chrome on Windows.

Additional context

No response

Environment

Node: 20.8.0
NPM: 10.1.0

Windows 11, 24H2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions