-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdevcontainer-feature.json
More file actions
49 lines (49 loc) · 1.93 KB
/
Copy pathdevcontainer-feature.json
File metadata and controls
49 lines (49 loc) · 1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"id": "playwright-dev",
"version": "1.0.1",
"name": "Playwright Development Environment",
"description": "Playwright E2E/browser-automation toolchain: OS-level dependencies for headless Chromium, Firefox, and WebKit (via the official `playwright install-deps`), a browser-binary cache shared across rebuilds through a Docker named volume, and the official Playwright Test VS Code extension.",
"documentationURL": "https://github.com/helpers4/devcontainer/tree/main/src/playwright-dev",
"licenseURL": "https://github.com/helpers4/devcontainer/blob/main/LICENSE",
"keywords": ["helpers4", "playwright", "e2e", "chromium", "firefox", "webkit", "testing", "webauthn"],
"options": {
"browsers": {
"type": "string",
"enum": ["chromium", "firefox", "webkit", "all"],
"default": "all",
"description": "Which browser engine(s) to install OS-level dependencies for, and to pre-download into the shared browser cache."
},
"installDeps": {
"type": "boolean",
"default": true,
"description": "Install the OS packages required to run the selected browser(s) headless, via `playwright install-deps`. Disable if the base image already provides them."
}
},
"containerEnv": {
"PLAYWRIGHT_BROWSERS_PATH": "/usr/local/share/playwright-browsers"
},
"mounts": [
{
"source": "helpers4-playwright-browsers-${devcontainerId}",
"target": "/usr/local/share/playwright-browsers",
"type": "volume"
}
],
"postCreateCommand": "/usr/local/bin/devcontainer-playwright-browsers",
"customizations": {
"vscode": {
"extensions": ["ms-playwright.playwright"],
"settings": {
"playwright.reuseBrowser": true,
"playwright.showTrace": true
}
}
},
"dependsOn": {
"ghcr.io/helpers4/devcontainer/typescript-dev:1": {},
"ghcr.io/devcontainers/features/node:1": {}
},
"installsAfter": [
"ghcr.io/devcontainers/features/common-utils"
]
}