{"id":14155253,"url":"https://github.com/JacobLinCool/playwright-docker","last_synced_at":"2025-08-06T01:30:41.825Z","repository":{"id":51110509,"uuid":"520246538","full_name":"JacobLinCool/playwright-docker","owner":"JacobLinCool","description":"Playwright Docker Images. (Ubuntu, Alpine) x (ARMv8, x64) x (Chromium, Firefox, WebKit, Chrome, Edge)","archived":false,"fork":false,"pushed_at":"2024-03-08T09:11:06.000Z","size":45,"stargazers_count":37,"open_issues_count":2,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-17T08:04:56.988Z","etag":null,"topics":["docker","playwright"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/jacoblincool/playwright/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JacobLinCool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-01T20:01:00.000Z","updated_at":"2024-08-17T08:04:59.263Z","dependencies_parsed_at":"2024-08-17T08:14:59.439Z","dependency_job_id":null,"html_url":"https://github.com/JacobLinCool/playwright-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fplaywright-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fplaywright-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fplaywright-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JacobLinCool%2Fplaywright-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JacobLinCool","download_url":"https://codeload.github.com/JacobLinCool/playwright-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228821400,"owners_count":17977165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","playwright"],"created_at":"2024-08-17T08:02:35.756Z","updated_at":"2024-12-09T02:31:10.484Z","avatar_url":"https://github.com/JacobLinCool.png","language":"JavaScript","funding_links":[],"categories":["docker"],"sub_categories":[],"readme":"# Playwright Docker Images\n\nmulti-arch x multi-browser\n\nView on Docker Hub: [https://hub.docker.com/r/jacoblincool/playwright/](https://hub.docker.com/r/jacoblincool/playwright/)\n\n## Tags\n\n- `jacoblincool/playwright:base` - Ubuntu Jammy, Node 20, Playwright\n- `jacoblincool/playwright:chromium` - Ubuntu Jammy, Node 20, Playwright, Chromium\n- `jacoblincool/playwright:firefox` - Ubuntu Jammy, Node 20, Playwright, Firefox\n- `jacoblincool/playwright:webkit` - Ubuntu Jammy, Node 20, Playwright, WebKit\n- `jacoblincool/playwright:chrome` - Ubuntu Jammy, Node 20, Playwright, Chrome\n- `jacoblincool/playwright:msedge` - Ubuntu Jammy, Node 20, Playwright, Edge\n- `jacoblincool/playwright:all` - Ubuntu Jammy, Node 20, Playwright, All Browsers\n\n### Lightweight Images\n\n- `jacoblincool/playwright:base-light` - Alpine 3.20, Node 23, Playwright\n- `jacoblincool/playwright:chromium-light` - Alpine 3.20, Node 23, Playwright, Chromium\n\n### Playwright Servers\n\nThose images are running Playwright Server and expose the WebSocket endpoint, see [./server](./server) for more details.\n\n- `jacoblincool/playwright:chromium-server`\n- `jacoblincool/playwright:firefox-server`\n- `jacoblincool/playwright:webkit-server`\n- `jacoblincool/playwright:chrome-server`\n- `jacoblincool/playwright:msedge-server`\n- `jacoblincool/playwright:chromium-light-server`\n\nThe default endpoint is `ws://localhost:53333/playwright`, you can override it by setting the `BROWSER_PORT` and `BROWSER_WS_ENDPOINT` environment variables.\n\nThey can be run using the following command:\n\n```sh\ndocker run --rm -p 53333:53333 jacoblincool/playwright:chromium-light-server\n```\n\n#### Connect to server using Playwright\n\n##### Javascript\n\n```javascript\nimport { chromium } from \"playwright\";\nconst browser = await chromium.connect(\"ws://localhost:53333/playwright\");\n```\n\n##### Python\n\nIn [examples](https://playwright.dev/python/docs/api/class-playwright) replace (`BrowserType` method) `launch` with `connect`\n\n```python\nimport asyncio\nimport playwright.async_api as playwright\n\n\nasync def main():\n    async with playwright.async_playwright() as playwright:\n        browser: playwright.Browser = playwright.chromium.connect(\"ws://localhost:53333/playwright\")\n\n\nasyncio.run(main())\n```\n\n## Supported Architectures\n\n| Browser  | ARMv8 (`aarch64`) | AMD64 (`x86_64`) |\n| -------- | :---------------: | :--------------: |\n| Chromium |         ✅         |        ✅         |\n| Firefox  |         ✅         |        ✅         |\n| WebKit   |         ✅         |        ✅         |\n| Chrome   |         ❌         |        ✅         |\n| Edge     |         ❌         |        ✅         |\n\n### Lightweight Image Architectures\n\n| Browser  | ARMv8 (`aarch64`) | AMD64 (`x86_64`) |\n| -------- | :---------------: | :--------------: |\n| Chromium |         ✅         |        ✅         |\n\n## Sources\n\nGitHub: \u003chttps://github.com/JacobLinCool/playwright-docker\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJacobLinCool%2Fplaywright-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJacobLinCool%2Fplaywright-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJacobLinCool%2Fplaywright-docker/lists"}