mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-05 14:13:56 +08:00
Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d177511983 | ||
|
|
2eadb08779 | ||
|
|
19adbb1ec7 | ||
|
|
fa8f7696ca |
@@ -6,6 +6,8 @@ All notable changes to this project are documented in this file. The format is b
|
||||
|
||||
### Security
|
||||
|
||||
- **The sandbox images build from a digest-pinned Debian base.** `Dockerfile.runner`, `Dockerfile.worker` and `Dockerfile.egress-proxy` built their runtime stage from the bare `debian:bookworm-slim` tag, so a rebuild used whatever the tag pointed to that day for the runner (which holds the Docker socket), the worker and the egress proxy. They now use `debian:bookworm-slim@sha256:e67eeead...`, the multi-architecture index the panel `Dockerfile` already pins, which Dependabot keeps current, and a test fails when any `FROM` in the repository's Dockerfiles lacks a digest. The GHCR compose file pins `postgres:16-alpine` to the digest `docker-compose.yml` already uses. The API-recon skill's checklist and harvest script ask for `npm ci --ignore-scripts` against the shipped lockfile instead of `npm install`. The Debian package repositories the images install from are still live, not a frozen snapshot.
|
||||
- **The image ships Playwright builds with Chromium 159.** The Dockerfile installed `playwright@1.64.1`, whose Chromium 156.0.8078.4 the shared browser runs, and `@playwright/mcp@0.0.83` and `@playwright/cli@0.1.22`, which bundle Chromium 155.0.8059.12. Both are older than 157.0.8103.50, the release that fixes CVE-2026-125350, a renderer use-after-free exploited in the wild. The pins move to `playwright@1.65.1`, `@playwright/mcp@0.0.86` and `@playwright/cli@0.1.25`, which all bundle Chromium 159.0.8154.6 (Playwright revision 1255), and a test refuses a Dockerfile pin older than the first release of each package with a fixed Chromium. The `playwright-cli` skill installs the same `@playwright/cli` version, and its test-generation guide installs `@playwright/test@1.65.1` instead of running `npm init playwright@latest`; a test keeps the Playwright versions named in skills equal to the Dockerfile pins. Known limitation, unchanged: on Linux these browsers still run with `--no-sandbox`. The image has no setuid sandbox helper and Docker's default seccomp profile gives the executor no user namespaces, so a renderer exploit is contained only by the container and the executor uid; the README now states this next to the shared browser.
|
||||
- **Pausing or deleting a task in local mode stops only that task's processes.** With the sandbox off and the executor uid drop on, `Engine.Pause` and `Engine.BeginDelete` sent SIGTERM and then SIGKILL to every process running as the executor uid and never looked at the task directory. Every task runs as that uid, so pausing one task (from the UI, the API, the chat bridge or the Auto agent's `pause_task`) also killed the agents of every other running task, the shared browser, and any process of that uid on the host, even one the server never started. The kill switch now selects a process only when the server started it (escaped daemons are reparented to the server, which is a child subreaper) and its subtree belongs to the task: walking down from the server, the first process that names a task decides for everything below it, through the new `ARTEX_EXEC_TASK` variable that the planner and the worker put in the environment of their Bash, or else through a working directory under `tasks/<id>`. A process group is signalled as a whole only when every live member belongs to the task. With the privilege drop off the same scoping replaces the old rule, which killed every descendant in another process group, so it crossed tasks too. Behaviour change: a process that was reparented to the server, left the task directory and cleared `ARTEX_EXEC_TASK` (for example `cd /; env -i setsid daemon`) is no longer killed by Pause; stdio MCP servers, which start outside the task directory, are left to the end of the agent run, which closes them. Sandbox mode is unchanged.
|
||||
- **Markdown images no longer load from other origins.** Finding reports, task reports and transcripts render Markdown written by the agent from target content, and an image in it was fetched by the operator's browser as soon as the view opened: `` sent whatever the URL carried to an outside host, outside the sandbox egress controls. The Markdown renderer now loads only same-origin images under `/api/` and `/uploads/` (relative paths, or absolute URLs on the console's own origin, checked after dot segments are resolved; protocol-relative URLs, backslashes and encoded slashes are refused) and shows any other image as its alt text and URL, linked when it is an `http(s)` URL, so nothing is fetched until the operator clicks. The Content-Security-Policy sent with every response, console included, adds `img-src 'self' data: blob:`, which also covers images outside Markdown. Behaviour change: images embedded from external hosts in reports and notes, and company logos set to an external URL, no longer display.
|
||||
- **Transcripts and noa archives are owner-only, and Norma's Grep no longer installs ripgrep.** Norma writes `<data>/transcripts` and the noa compression archives under `<data>/noa` with 0755 directories and 0644 files, so any other uid on the host, the executor that runs the agent's commands included, could read every conversation (prompts, model output, tool results). At startup every directory in these two trees, the top ones included, now keeps at most its owner bits (0700) and every regular file at most owner read and write (0600); a narrower mode is never widened, and a missing top directory is created 0700. As for the key directory, nothing is changed by path: the trees are walked under an `os.Root` at the data directory, each entry is checked without following symlinks and changed through the descriptor that was checked, and a symlink (`transcripts` or `noa` themselves included), a hard-linked file or any other non-regular entry is refused and left as it is. A refusal or a failed mode change fails the start like a key directory that cannot be locked down: the error joins the isolation self-test, and only `ARTEX_ALLOW_UNISOLATED=1` (or `-dev-insecure-no-isolation`) starts anyway. Only the server reads these trees: the sandbox and Kubernetes workers mount only their task directory, the executor's shells and file tools work inside run directories, and archive export and the workspace file manager read them as the server. Files Norma writes later are still 0644 but sit under 0700 directories. Norma's Grep ran an unpinned `npm install -g @vscode/ripgrep` (install scripts enabled) when `rg` was missing; `NORMA_RIPGREP_NO_INSTALL` is now always set to `1` at startup, so no value, an empty one included, lets a Norma Grep install a package at run time (ARTEX's own Grep never starts ripgrep). Behaviour change: archiving the data directory as a non-root host user (`scripts/backup.sh --with-data`, which already asks for root) cannot read these two trees, and a data directory the server cannot change (for example an NFS export with root squashing, or a tree owned by another uid) fails the start until it is fixed or the opt-out is set.
|
||||
|
||||
+7
-5
@@ -269,13 +269,15 @@ RUN set -eux; \
|
||||
# @playwright/cli: provides playwright-cli, verified with --help right after install.
|
||||
# Then install playwright (browser management) and preinstall chromium plus its system
|
||||
# dependencies via --with-deps. @playwright/mcp and @playwright/cli bundle their own
|
||||
# playwright-core, which expects a different Chromium build than
|
||||
# playwright-core, which can expect a different Chromium build than
|
||||
# playwright@PLAYWRIGHT_VERSION installs, so that build is installed as well (second
|
||||
# install line); without it neither can launch a browser. All three packages are
|
||||
# pinned; upgrade deliberately.
|
||||
ARG PLAYWRIGHT_MCP_VERSION=0.0.83
|
||||
ARG PLAYWRIGHT_CLI_VERSION=0.1.22
|
||||
ARG PLAYWRIGHT_VERSION=1.64.1
|
||||
# pinned; upgrade deliberately. Each pin must bundle Chromium 157.0.8103.50 or later
|
||||
# (the pins below all bundle 159.0.8154.6, Playwright revision 1255), and
|
||||
# server/playwright_pins_test.go refuses older ones.
|
||||
ARG PLAYWRIGHT_MCP_VERSION=0.0.86
|
||||
ARG PLAYWRIGHT_CLI_VERSION=0.1.25
|
||||
ARG PLAYWRIGHT_VERSION=1.65.1
|
||||
# playwright-core's exports map hides cli.js from require.resolve, so run the
|
||||
# binary npm links for @playwright/mcp instead: it is the copy MCP actually
|
||||
# loads, and it installs the Chromium revision that copy expects.
|
||||
|
||||
@@ -9,7 +9,7 @@ ARG TARGETARCH
|
||||
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -trimpath -ldflags="-s -w" \
|
||||
-o /out/artex-egress-proxy ./cmd/artex-egress-proxy
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
FROM debian:bookworm-slim@sha256:e67eeead736ff7bbe258ef088bff683635c561b1fcfefad0806c1df4ab49ce0e
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/* \
|
||||
&& groupadd -g 10001 exec && useradd -u 10001 -g 10001 -d /nonexistent -s /usr/sbin/nologin exec
|
||||
COPY --from=build /out/artex-egress-proxy /usr/local/bin/artex-egress-proxy
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -trimpath \
|
||||
-ldflags="-s -w -X main.version=${ARTEX_VERSION}" \
|
||||
-o /out/artex-runner ./cmd/artex-runner
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
FROM debian:bookworm-slim@sha256:e67eeead736ff7bbe258ef088bff683635c561b1fcfefad0806c1df4ab49ce0e
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=build /out/artex-runner /usr/local/bin/artex-runner
|
||||
EXPOSE 8789
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ ARG TARGETOS=linux
|
||||
ARG TARGETARCH
|
||||
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -trimpath -ldflags="-s -w" -o /out/artex-exec-wrap ./cmd/artex-exec-wrap
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
FROM debian:bookworm-slim@sha256:e67eeead736ff7bbe258ef088bff683635c561b1fcfefad0806c1df4ab49ce0e
|
||||
RUN set -eux; \
|
||||
apt-get update; \
|
||||
apt-get install -y --no-install-recommends \
|
||||
|
||||
@@ -259,6 +259,12 @@ worker remains confined to the intent it claimed.
|
||||
by same-UID agent processes while the run is active; the token is revoked immediately when the run
|
||||
ends, Chromium binds no TCP port on Unix, and the server CDP proxy enforces the operator hold and
|
||||
active lease on every HTTP request and WebSocket message so operator take-over cannot be bypassed.
|
||||
Known limitation: on Linux the shared browser, like Playwright MCP and `playwright-cli`, runs
|
||||
Chromium with `--no-sandbox`. The image has no setuid sandbox helper (setuid bits are stripped and
|
||||
the panel runs with `no-new-privileges`), and Docker's default seccomp profile gives the executor no
|
||||
user namespaces. A renderer exploit is therefore contained only by the container and the executor
|
||||
uid, which can read every task's transcripts and workspaces: open only pages you are prepared to
|
||||
expose to that, and keep the image current with Chromium security releases.
|
||||
- **Verified findings**: findings carry a POE level, a verification status and a note; a finding is
|
||||
`verified` only when a bound proof/response and verbatim evidence quotes support it. Gzip/deflate
|
||||
bodies are decoded before the quote check. The findings table supports bulk status updates, and
|
||||
|
||||
@@ -25,7 +25,7 @@ x-logging: &default-logging
|
||||
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:16-alpine
|
||||
image: postgres:16-alpine@sha256:f2f98726820d0342055351c6e9d36e705f5bfffb3dd53ff556325114b08afb6d
|
||||
environment:
|
||||
POSTGRES_USER: ${POSTGRES_USER:-artex}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:?Please set POSTGRES_PASSWORD in .env}
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
package sandbox
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// Every image the repository's Dockerfiles build from must be pinned by
|
||||
// digest (tag@sha256:...), so a rebuild runs the reviewed base and not
|
||||
// whatever the tag points to that day. Dependabot keeps the digests current.
|
||||
func TestDockerfileBaseImagesArePinnedByDigest(t *testing.T) {
|
||||
files, err := filepath.Glob(filepath.Join("..", "Dockerfile*"))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
files = append(files, filepath.Join("..", "egress-guard", "Dockerfile"))
|
||||
for _, want := range []string{"Dockerfile", "Dockerfile.runner", "Dockerfile.worker", "Dockerfile.egress-proxy"} {
|
||||
found := false
|
||||
for _, f := range files {
|
||||
if filepath.Base(f) == want {
|
||||
found = true
|
||||
}
|
||||
}
|
||||
if !found {
|
||||
t.Fatalf("%s not found next to the module root", want)
|
||||
}
|
||||
}
|
||||
digest := regexp.MustCompile(`^[^@\s]+:[^@\s]+@sha256:[0-9a-f]{64}$`)
|
||||
for _, f := range files {
|
||||
raw, err := os.ReadFile(f)
|
||||
if err != nil {
|
||||
t.Fatalf("read %s: %v", f, err)
|
||||
}
|
||||
stages := map[string]bool{}
|
||||
froms := 0
|
||||
for i, line := range strings.Split(strings.ReplaceAll(string(raw), "\r\n", "\n"), "\n") {
|
||||
fields := strings.Fields(line)
|
||||
if len(fields) == 0 || !strings.EqualFold(fields[0], "FROM") {
|
||||
continue
|
||||
}
|
||||
froms++
|
||||
args := fields[1:]
|
||||
for len(args) > 0 && strings.HasPrefix(args[0], "--") {
|
||||
args = args[1:]
|
||||
}
|
||||
if len(args) == 0 {
|
||||
t.Errorf("%s:%d: FROM without an image", f, i+1)
|
||||
continue
|
||||
}
|
||||
image := args[0]
|
||||
if !stages[strings.ToLower(image)] && image != "scratch" && !digest.MatchString(image) {
|
||||
t.Errorf("%s:%d: FROM %s is not pinned as tag@sha256:<digest>", f, i+1, image)
|
||||
}
|
||||
if len(args) >= 3 && strings.EqualFold(args[1], "AS") {
|
||||
stages[strings.ToLower(args[2])] = true
|
||||
}
|
||||
}
|
||||
if froms == 0 {
|
||||
t.Errorf("%s: no FROM line", f)
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
package server
|
||||
|
||||
import (
|
||||
"io/fs"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"strconv"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// The shared browser and the browser MCP run the Chromium builds that the
|
||||
// image's Playwright packages install, with --no-sandbox. Each package must
|
||||
// stay on a release that bundles Chromium 157.0.8103.50 or later. The
|
||||
// minimums are the first releases that do, read from each release's
|
||||
// playwright-core browsers.json:
|
||||
// - playwright 1.65.0: Chromium 158.0.8127.18 (1.64.1 ships 156.0.8078.4)
|
||||
// - @playwright/mcp 0.0.85: 158.0.8127.18 (0.0.84 ships 157.0.8103.15)
|
||||
// - @playwright/cli 0.1.24: 158.0.8127.18 (0.1.23 ships 157.0.8103.15)
|
||||
var playwrightMinimumPins = map[string]string{
|
||||
"PLAYWRIGHT_VERSION": "1.65.0",
|
||||
"PLAYWRIGHT_MCP_VERSION": "0.0.85",
|
||||
"PLAYWRIGHT_CLI_VERSION": "0.1.24",
|
||||
}
|
||||
|
||||
func dockerfilePlaywrightPins(t *testing.T) map[string]string {
|
||||
t.Helper()
|
||||
raw, err := os.ReadFile(filepath.Join("..", "Dockerfile"))
|
||||
if err != nil {
|
||||
t.Fatalf("read Dockerfile: %v", err)
|
||||
}
|
||||
pins := map[string]string{}
|
||||
re := regexp.MustCompile(`(?m)^ARG (PLAYWRIGHT(?:_MCP|_CLI)?_VERSION)=(\S+)\s*$`)
|
||||
for _, m := range re.FindAllStringSubmatch(string(raw), -1) {
|
||||
if prev, ok := pins[m[1]]; ok && prev != m[2] {
|
||||
t.Fatalf("Dockerfile declares %s twice: %s and %s", m[1], prev, m[2])
|
||||
}
|
||||
pins[m[1]] = m[2]
|
||||
}
|
||||
for name := range playwrightMinimumPins {
|
||||
if pins[name] == "" {
|
||||
t.Fatalf("Dockerfile has no ARG %s", name)
|
||||
}
|
||||
}
|
||||
return pins
|
||||
}
|
||||
|
||||
// parseReleaseVersion accepts only a plain MAJOR.MINOR.PATCH release: a
|
||||
// prerelease or a tag such as "latest" does not name reviewed bytes.
|
||||
func parseReleaseVersion(v string) ([3]int, bool) {
|
||||
var out [3]int
|
||||
parts := strings.Split(v, ".")
|
||||
if len(parts) != 3 {
|
||||
return out, false
|
||||
}
|
||||
for i, p := range parts {
|
||||
n, err := strconv.Atoi(p)
|
||||
if err != nil || n < 0 || strconv.Itoa(n) != p {
|
||||
return out, false
|
||||
}
|
||||
out[i] = n
|
||||
}
|
||||
return out, true
|
||||
}
|
||||
|
||||
func versionAtLeast(got, floor [3]int) bool {
|
||||
for i := range got {
|
||||
if got[i] != floor[i] {
|
||||
return got[i] > floor[i]
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
func TestDockerfilePlaywrightPinsBundleFixedChromium(t *testing.T) {
|
||||
pins := dockerfilePlaywrightPins(t)
|
||||
for name, floor := range playwrightMinimumPins {
|
||||
got, ok := parseReleaseVersion(pins[name])
|
||||
if !ok {
|
||||
t.Errorf("Dockerfile ARG %s=%s is not an exact release version", name, pins[name])
|
||||
continue
|
||||
}
|
||||
want, _ := parseReleaseVersion(floor)
|
||||
if !versionAtLeast(got, want) {
|
||||
t.Errorf("Dockerfile ARG %s=%s bundles Chromium older than 157.0.8103.50; need %s or later", name, pins[name], floor)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Skills that tell an agent to install a Playwright package must name the
|
||||
// version the image ships, never a floating tag.
|
||||
func TestSkillPlaywrightInstallsMatchDockerfilePins(t *testing.T) {
|
||||
pins := dockerfilePlaywrightPins(t)
|
||||
want := map[string]string{
|
||||
"@playwright/cli": pins["PLAYWRIGHT_CLI_VERSION"],
|
||||
"@playwright/mcp": pins["PLAYWRIGHT_MCP_VERSION"],
|
||||
"@playwright/test": pins["PLAYWRIGHT_VERSION"],
|
||||
"playwright": pins["PLAYWRIGHT_VERSION"],
|
||||
}
|
||||
re := regexp.MustCompile(`(@playwright/(?:cli|mcp|test)|playwright)@([0-9A-Za-z.\-]+)`)
|
||||
root := filepath.Join("..", "skills")
|
||||
seen := 0
|
||||
err := filepath.WalkDir(root, func(path string, d fs.DirEntry, err error) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if d.IsDir() || filepath.Ext(path) != ".md" {
|
||||
return nil
|
||||
}
|
||||
raw, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
text := string(raw)
|
||||
for _, m := range re.FindAllStringSubmatchIndex(text, -1) {
|
||||
pkg, ver := text[m[2]:m[3]], text[m[4]:m[5]]
|
||||
if pkg == "playwright" && m[2] > 0 {
|
||||
// Part of another name, such as create-playwright@ or a path.
|
||||
if c := text[m[2]-1]; c == '/' || c == '-' || c == '_' || c == '.' ||
|
||||
(c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9') {
|
||||
continue
|
||||
}
|
||||
}
|
||||
seen++
|
||||
if ver != want[pkg] {
|
||||
t.Errorf("%s: %s@%s, want %s@%s (the Dockerfile pin)", path, pkg, ver, pkg, want[pkg])
|
||||
}
|
||||
}
|
||||
return nil
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("walk skills: %v", err)
|
||||
}
|
||||
if seen == 0 {
|
||||
t.Fatal("no Playwright install found in skills/; the playwright-cli skill should name its pinned version")
|
||||
}
|
||||
}
|
||||
@@ -301,7 +301,7 @@ When the server validates sessions step by step (signed cookies that cannot be f
|
||||
3. **Phase 1b**: path anchor window expansion + binding layer → `param_candidates.json` (section J)
|
||||
4. Reverse-engineer A1/A2/A3 → write a site-specific `config.json`
|
||||
5. **Read and adjust** `runtime_harvest.js` / `preload.js` before executing
|
||||
6. `runtimeMode=depth`: `npm install` → run the adjusted harvest script
|
||||
6. `runtimeMode=depth`: `npm ci --ignore-scripts` (installs the versions in `package-lock.json`) → run the adjusted harvest script
|
||||
7. `runtimeMode=coverage/both`: inject the adjusted preload at document-start → browser MCP dynamic enumeration + **parameter trigger matrix**
|
||||
8. Modules do not render → **section I permission-tree restoration** → patch stubs → rerun
|
||||
9. Multi-sample parameter diff + error-driven inference → `params_merged.json`
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* 2. interceptor gate-> rewrite the "unauthorized" code field to success
|
||||
* 3. content gate -> stub the menu/permission endpoint with a full-feature payload
|
||||
*
|
||||
* Requires puppeteer-core + a system Chromium. ( cd scripts && npm install )
|
||||
* Requires puppeteer-core + a system Chromium. ( cd scripts && npm ci --ignore-scripts )
|
||||
*
|
||||
* config.json schema (all fields optional except baseUrl):
|
||||
* {
|
||||
@@ -38,7 +38,7 @@ const path = require('path');
|
||||
|
||||
let puppeteer;
|
||||
try { puppeteer = require('puppeteer-core'); }
|
||||
catch (e) { console.error("[!] run `npm install` in the scripts/ dir first (needs puppeteer-core)"); process.exit(1); }
|
||||
catch (e) { console.error("[!] run `npm ci --ignore-scripts` in the scripts/ dir first (needs puppeteer-core)"); process.exit(1); }
|
||||
|
||||
function loadCfg(p) {
|
||||
const c = JSON.parse(fs.readFileSync(p, 'utf8'));
|
||||
|
||||
@@ -351,7 +351,7 @@ npx --no-install playwright --version
|
||||
When local version is available, use `npx playwright cli` in all commands. Otherwise, install `playwright-cli` as a global command at the version ARTEX ships (upgrade deliberately, after reviewing the release):
|
||||
|
||||
```bash
|
||||
npm install -g @playwright/cli@0.1.22
|
||||
npm install -g @playwright/cli@0.1.25
|
||||
```
|
||||
|
||||
## Example: Form submission
|
||||
|
||||
@@ -153,10 +153,11 @@ test -f playwright.config.ts || test -f playwright.config.js
|
||||
npx --no-install playwright --version
|
||||
```
|
||||
|
||||
If there is no Playwright install, bootstrap one and let the user pick the defaults:
|
||||
If there is no Playwright install, add the test runner at the version ARTEX ships (its Chromium is already installed in the image), then write a minimal `playwright.config.ts` with `testDir: './tests'`:
|
||||
|
||||
```bash
|
||||
npm init playwright@latest
|
||||
npm init -y
|
||||
npm install --save-dev --save-exact @playwright/test@1.65.1
|
||||
```
|
||||
|
||||
### 1.2 Prerequisite: seed test
|
||||
|
||||
Reference in New Issue
Block a user