You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Often, the full page screenshots are unreliable and contain ghosting of elements due to scrolling effects.
For example: see #125
Describe the solution you'd like
Multiple browsers have built in support for this that deliver a clean and ghost free image.
We should update the saveScreenshot command in WebdriverIO core to use WebDriver Bidi primitives for taking screenshots. They provide full flexibility including full page screenshots.
Is your feature request related to a problem? Please describe.
Often, the full page screenshots are unreliable and contain ghosting of elements due to scrolling effects.
For example: see #125
Describe the solution you'd like
Multiple browsers have built in support for this that deliver a clean and ghost free image.
For Firefox, we can create a client side script that calls the
:screenshot
command. See docs here:https://firefox-source-docs.mozilla.org/devtools-user/taking_screenshots/index.html#taking-screenshots-with-the-web-console
Then execute it with the executor function in
getFullPageScreenshotsDataDesktop
:visual-testing/packages/webdriver-image-comparison/src/methods/screenshots.ts
Line 352 in b40be9d
Describe alternatives you've considered
We could also call the webdriverIO API:
browser.fullPageScreenshot()
, if thebrowser
is available to us.https://webdriver.io/docs/api/gecko/#fullpagescreenshot
The text was updated successfully, but these errors were encountered: