Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This is the Try Playwright monorepo. It contains:
2. Reuse existing patterns in the touched service/package.
3. Avoid committing secrets, certificates, or local environment files.
4. Prefer `internal/` for shared Go logic used by multiple services/workers.
5. For Playwright version/autocomplete updates, use `node update_pw.mjs` instead of ad-hoc manual edits.
5. For Playwright version/autocomplete updates, use `npm ci && node update_pw.mjs` (repo root) instead of ad-hoc manual edits.

## Validation Commands

Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Kubernetes manifests to run only a subset, for example `javascript,python`.

## Generate / Update autocompletion

- Execute the `update_pw.mjs` script.
- Execute `npm ci && node update_pw.mjs` in the repository root.

## Infrastructure evolution

Expand All @@ -73,7 +73,7 @@ The worker infra got rewritten, since the workers would share a lot of code each

## Updating Playwright

1. Execute `node update_pw.mjs`
1. Execute `npm ci && node update_pw.mjs` in the repository root
1. Create and merge the PR
1. Wait until PR is built on the `main` branch
1. Exeute the following on the host:
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/components/Editor/types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24946,6 +24946,9 @@ Error was thrown.
"Schema.getDomains": Schema.getDomainsReturnValue;
}
}
/**
* Can be converted to JSON
*/
export type Serializable = any;
/**
* Can be converted to JSON, but may also contain JSHandles.
Expand Down Expand Up @@ -24978,6 +24981,8 @@ export type SmartHandle<T> = [T] extends [Node] ? ElementHandle<T> : JSHandle<T>
export type ElementHandleForTag<K extends keyof HTMLElementTagNameMap> = ElementHandle<HTMLElementTagNameMap[K]>;
export type BindingSource = { context: BrowserContext, page: Page, frame: Frame };

// Use the global URLPattern type if available (Node.js 22+, modern browsers),
// otherwise fall back to `never` so it disappears from union types.
type URLPattern = typeof globalThis extends { URLPattern: new (...args: any) => infer T } ? T : never;

type PageWaitForSelectorOptionsNotHidden = PageWaitForSelectorOptions & {
Expand Down
Loading
Loading