Rayrun
← Back to Discord Forum

Playwright times out on GitHub Actions when trying to take screenshots

I'm migrating from Puppeteer to Playwright. It works great locally, however on GitHub CI it always times out. I have my own infra integrated with Vitest. I verified that the Vite server is running correctly on CI, and everything works correctly when using Puppeteer, or when using Playwright locally.

I'm attaching my screenshot code and the GitHub Actions log.

image.png
CleanShot_2023-06-16_at_18.07.572x.png

This thread is trying to answer question "Why is Playwright timing out on GitHub Actions when trying to take screenshots, but works fine locally with Puppeteer?"

1 reply

On local runs, I'm not seeing the same debug messages at all, it seems like it just quickly moves on to capture the screenshot 🤷🏻‍♂️

This is with Chromium.

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].