Code of conduct reports go to conduct@e2e.com, the domain SECURITY.md and the README already use. The contributors entries in the root manifest and the 11 packages that list them, and the Apple Pay lab podspec's author, move to @e2e.com with a patch changeset so npm picks them up. tester@tester.army stays: it is the benchmark apps' sign-in fixture, baked into the committed recordings and device snapshots.
@e2e-dev/kernel
Kernel hosted browsers for e2e:
web({ browser: kernel() }) runs a web target in Kernel's hosted Chromium.
Install
npm install --save-dev @e2e-dev/kernel @onkernel/sdk
Usage
import type { E2EConfig } from 'e2e';
import { web } from '@e2e-dev/web';
import { kernel } from '@e2e-dev/kernel';
export default {
targets: [{ engine: web({ browser: kernel({ stealth: true }), viewport: null }), app: { url: 'https://staging.example.com' } }],
workers: 4,
} satisfies E2EConfig;
KERNEL_API_KEY comes from the run's environment. kernel(options) takes
Kernel's create-browser body as is (stealth, headless, timeout_seconds,
profile, proxy_id, viewport, tags, ...) plus the lease scope:
worker (default) is one browser per worker slot for the run, attempt a
fresh browser per test attempt. Every browser is tagged with the run, target,
and slot, timeout_seconds defaults to 600 so Kernel deletes a browser a dead
worker never released, and each lease logs its live view URL when Kernel
gives one. On a headed browser, an attempt that records video (--video, or
a test's video option) gets a Kernel replay of the browser's screen as its
video/replay.mp4; a headless browser and replay: false get the page
screencast.
Full documentation lives at e2e.com/docs/integrations/kernel.
License
Apache-2.0