{"id":41468423,"url":"https://github.com/pixelfactoryio/playwright-server","last_synced_at":"2026-01-23T16:38:17.160Z","repository":{"id":38020252,"uuid":"343727323","full_name":"pixelfactoryio/playwright-server","owner":"pixelfactoryio","description":"Run `playwright.launchServer()` in docker","archived":false,"fork":false,"pushed_at":"2024-12-30T10:56:52.000Z","size":958,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-30T11:32:14.855Z","etag":null,"topics":["chromium","docker","headless-browsers","javascript","playwright","server","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pixelfactoryio.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2021-03-02T10:03:24.000Z","updated_at":"2024-12-30T10:56:54.000Z","dependencies_parsed_at":"2023-11-30T16:28:33.108Z","dependency_job_id":"40b2ed12-bf0a-4de6-aee8-b1acc21be671","html_url":"https://github.com/pixelfactoryio/playwright-server","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/pixelfactoryio/playwright-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fplaywright-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fplaywright-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fplaywright-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fplaywright-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixelfactoryio","download_url":"https://codeload.github.com/pixelfactoryio/playwright-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixelfactoryio%2Fplaywright-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28695662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T15:57:05.722Z","status":"ssl_error","status_checked_at":"2026-01-23T15:56:27.656Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chromium","docker","headless-browsers","javascript","playwright","server","typescript"],"created_at":"2026-01-23T16:38:16.550Z","updated_at":"2026-01-23T16:38:17.156Z","avatar_url":"https://github.com/pixelfactoryio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playwright Server\n\n## Usage\n\n```bash\ndocker run -p 3000:3000 pixelfactory/playwright\n```\n\n```bash\n$ docker run -p 3000:3000 pixelfactory/playwright\n\n{\"@timestamp\":\"2021-03-05T17:51:26.820Z\",\"log.level\":\"info\",\"message\":\"chromium server listening on ws://127.0.0.1:44227/8496b4a530c6d5ead24fe7f112fa609d\",\"ecs\":{\"version\":\"1.6.0\"}}\n{\"@timestamp\":\"2021-03-05T17:51:26.832Z\",\"log.level\":\"info\",\"message\":\"websocket proxy listening on ws://0.0.0.0:3000\",\"ecs\":{\"version\":\"1.6.0\"}}\n```\n\nConnect to the websocket :\n\n```js\nimport { chromium } from 'playwright';\n\n(async () =\u003e {\n  const browser = await chromium.connect({ wsEndpoint: 'ws://0.0.0.0:3000/' });\n  const context = await browser.newContext();\n  const page = await context.newPage();\n  \n  await page.goto('https://example.com');\n  await page.screenshot({ path: 'example.png' });\n\n  await page.close();\n  await context.close();\n  await browser.close();\n})();\n```\n\n## Configuration\n\n### Change browser\n\nBy default we start a `chromium` server, but you can choose the browser by passing the environment varialbe `BROWSER_TYPE`.\n\n- Chromium :\n\n```bash\ndocker run -p 3000:3000 -e BROWSER_TYPE=chromium pixelfactory/playwright\n```\n\n- Firefox :\n\n```bash\ndocker run -p 3000:3000 -e BROWSER_TYPE=firefox pixelfactory/playwright\n```\n\n- Webkit :\n\n```bash\ndocker run -p 3000:3000 -e BROWSER_TYPE=webkit pixelfactory/playwright\n```\n\n### Change port\n\nBy default the websocket proxy server listen on port `3000`, but you can customize the port using the environment variable `PORT`.\n\n```bash\ndocker run -p 5000:5000 -e PORT=5000 pixelfactory/playwright\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelfactoryio%2Fplaywright-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixelfactoryio%2Fplaywright-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixelfactoryio%2Fplaywright-server/lists"}