Description
Version
1.52.0 (latest)
Steps to reproduce
-
Clone the Browserstack sample repo: https://github.com/browserstack/node-js-playwright-browserstack
-
In "browserstack.yml":
- Add your Browserstack credentials
- In the list of platforms, add an android device:
- browserName: chrome
osVersion: 14.0
deviceName: Samsung Galaxy S24
- browserName: chrome
-
In one of the sample tests, add a test that utilizes "await expect(page).toHaveScreenshot('test.png', { fullPage: true });" on any given page that requires scrolling. Use this page: https://playwright.dev/community/welcome
Expected behavior
I would expect the same kind of result as when running the same test on Windows -> Chrome:
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):
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