Sign inSign up

zqiannnn/playwright

By zqiannnn

•Updated about 2 years ago

Image
0

9.4K

zqiannnn/playwright repository overview

See https://github.com/JacobLinCool/playwright-docker⁠


⁠Playwright Docker Images

multi-arch x multi-browser

View on Docker Hub: https://hub.docker.com/r/jacoblincool/playwright/⁠

⁠Tags

  • jacoblincool/playwright:base - Ubuntu 22.04.4 LTS, Node v20.11.0, Playwright Version 1.46.1
  • jacoblincool/playwright:pnpm - Ubuntu 22.04.4 LTS, Node v20.11.0, Playwright Version 1.46.1
  • jacoblincool/playwright:chromium - Ubuntu 22.04.4 LTS, Node v20.11.0, Playwright Version 1.46.1, Chromium 128.0.6613.18
  • jacoblincool/playwright:firefox - Ubuntu 22.04.4 LTS, Node v20.11.0, Playwright Version 1.46.1, Mozilla Firefox 128.0
  • jacoblincool/playwright:webkit - Ubuntu 22.04.4 LTS, Node v20.11.0, Playwright Version 1.46.1, WPE WebKit 2.45.3 (unknown)
  • jacoblincool/playwright:chrome - Ubuntu 22.04.4 LTS, Node v20.11.0, Playwright Version 1.46.1, Google Chrome 128.0.6613.84
  • jacoblincool/playwright:msedge - Ubuntu 22.04.4 LTS, Node v20.11.0, Playwright Version 1.46.1, Microsoft Edge 128.0.2739.42
  • jacoblincool/playwright:all - Ubuntu 22.04.4 LTS, Node v20.11.0, Playwright Version 1.46.1, Chromium 128.0.6613.18 , Mozilla Firefox 128.0, WPE WebKit 2.45.3 (unknown), Google Chrome 128.0.6613.84 , Microsoft Edge 128.0.2739.42
⁠Lightweight Images
  • jacoblincool/playwright:base-light - Alpine 3.19.3, Node v22.7.0, Playwright Version 1.46.1
  • jacoblincool/playwright:chromium-light - Alpine 3.19.3, Node v22.7.0, Playwright Version 1.46.1,
⁠Playwright Servers

Those images are running Playwright Server and expose the WebSocket endpoint, see ./server⁠ for more details.

  • jacoblincool/playwright:chromium-server
  • jacoblincool/playwright:firefox-server
  • jacoblincool/playwright:webkit-server
  • jacoblincool/playwright:chrome-server
  • jacoblincool/playwright:msedge-server
  • jacoblincool/playwright:chromium-light-server

The default endpoint is ws://localhost:53333/playwright, you can override it by setting the BROWSER_PORT and BROWSER_WS_ENDPOINT environment variables.

They can be run using the following command:

docker run --rm -p 53333:53333 jacoblincool/playwright:chromium-light-server

And connect to the server using Playwright:

import { chromium } from "playwright";
const browser = await chromium.connect("ws://localhost:53333/playwright");

⁠Supported Architectures

BrowserARMv8 (aarch64)AMD64 (x86_64)
Chromium✅✅
Firefox✅✅
WebKit✅✅
Chrome❌✅
Edge❌✅
⁠Lightweight Image Architectures
BrowserARMv8 (aarch64)AMD64 (x86_64)
Chromium✅✅

⁠Sources

GitHub: https://github.com/JacobLinCool/playwright-docker⁠

Tag summary

Content type

Image

Digest

sha256:58527eddd…

Size

1.3 GB

Last updated

about 2 years ago

docker pull zqiannnn/playwright:all