We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Context:
Code Snippet
import test from "../fixtures/common"; import { expect } from "@playwright/test"; import { OnboardingPage } from "../models/OnboardingPage"; test("Onboarding", async ({ page }) => { const onboardingPage = new OnboardingPage(page); await test.step("Get started", async () => { expect(await onboardingPage.getStartedButton).toBeVisible(); expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(`getstarted.png`); }); })
Describe the bug On Electron application, I unfortunately can't take a screenshot of the full page. https://playwright.dev/docs/screenshots#full-page-screenshots
The text was updated successfully, but these errors were encountered:
Can you share minimal repro? I've tried with the attached app and it works just fine test.zip
Also which Electon version are you using?
Sorry, something went wrong.
Hello @yury-s,
We're using electron version 13.5.2, it could come from our app, I guess?
@nabil-brn this is unfortunately not actionable without a repro that we can run & debug locally. Please feel free to resubmit once there's a repro!
Just FYI in case anybody comes across this, the problem with the original is that there was no window selected to screenshot. I made the same mistake.
- expect(await page.screenshot({ fullPage: true })).toMatchSnapshot(`getstarted.png`); + expect(await onboardingPage.screenshot({ fullPage: true })).toMatchSnapshot(`getstarted.png`);
No branches or pull requests
Context:
Code Snippet
Describe the bug
On Electron application, I unfortunately can't take a screenshot of the full page.
https://playwright.dev/docs/screenshots#full-page-screenshots
The text was updated successfully, but these errors were encountered: