Rayrun
← Back to Discord Forum

Is there a Playwright Docker image for Edge ?

noble_parrot_55403posted in #help-playwright
Open in Discord
noble_parrot_55403
noble_parrot_55403

How do you run Playwright tests on Edge on some Docker image. Can Edge run inside Linux ? If not, are there some Windows Docker images with Edge and Playwright baked in?

#docker #edge #ci

This thread is trying to answer question "How do you run Playwright tests on Edge on some Docker image. Can Edge run inside Linux ? If not, are there some Windows Docker images with Edge and Playwright baked in?"

5 replies

both edge and chrome run on chromium

insane_rookstar
insane_rookstar

npx playwright install chrome msedge ?

@noble_parrot_55403 I extended the playwright:v.1.38.1-jammy image by adding command RUN npx playwright install msedge... CMD [npm, run, playwright] . Then built an image by using the extended one and COPY repository to the extended one. You can use a volume instead of copy

Pay attention, version of your playwright project and base image shall be the same

Related Discord Threads

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 luc@ray.run.