Environment (please complete the following information):
- Node.js version: any
- NPM version: any
- Browser name and version: Chrome 143
- Platform name and version: Linux
- WebdriverIO version: 9.27.0
@wdio/visual-service ~9.2.0
Config of WebdriverIO + @wdio/visual-service
services: [
['visual', {
autoSaveBaseline: false,
baselineFolder: resolve(currentPath, 'base'),
formatImageName: '{tag}',
screenshotPath: resolve(currentPath, 'out'),
} satisfies VisualServiceOptions],
],
Describe the bug
Capturing of fixed positioned elements saves rectangle of background under them (as was in #919), scrollbars are missing in screenshot
Scrollbars:
9.1.6

9.2.0

Overlay:
9.1.6

9.2.0

To Reproduce
I used
toMatchElementSnapshot({ disableCSSAnimation: true, waitForFontsLoaded: true })
Expected behavior
Real image of elements
Log
If applicable, add logs to help explain your problem. If you don't have log, enable 'debug:true' in the config and paste the log here.
Please use proper markdown to style it
Additional context
Add any other context about the problem here.
Environment (please complete the following information):
@wdio/visual-service~9.2.0Config of WebdriverIO +
@wdio/visual-serviceDescribe the bug
Capturing of fixed positioned elements saves rectangle of background under them (as was in #919), scrollbars are missing in screenshot
Scrollbars:
9.1.6


9.2.0
Overlay:


9.1.6
9.2.0
To Reproduce
I used
toMatchElementSnapshot({ disableCSSAnimation: true, waitForFontsLoaded: true })
Expected behavior
Real image of elements
Log
If applicable, add logs to help explain your problem. If you don't have log, enable 'debug:true' in the config and paste the log here.
Please use proper markdown to style it
Additional context
Add any other context about the problem here.