Skip to content

chore: remove generateApiJson.js and the .NET API generator - #44244

Merged
Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:chore-remove-api-json
Nov 20, 2026
Merged

Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:chore-remove-api-json

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

The language ports generate their APIs from docs/src/api with api_parser.js.
Nothing reads api.json any more.
playwright-dotnet has its own copy in utils/ since microsoft/playwright-dotnet#3488.
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "tests 1"

1 flaky ⚠️ [installation tests] › connect-to-selenium.spec.ts:20 › connect to selenium `@package-installations-ubuntu-latest`

23669 passed, 708 skipped


Merge workflow run.

@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

5246 passed, 641 skipped


Merge workflow run.

@yury-s
Yury Semikhatsky (yury-s) merged commit feb1be1 into microsoft:main Nov 20, 2026
25 checks passed
@yury-s
Yury Semikhatsky (yury-s) deleted the chore-remove-api-json branch November 20, 2026 01:06
Devin Rousso (dcrousso) pushed a commit to microsoft/playwright-python that referenced this pull request Nov 20, 2026
Hi, I'm the Playwright bot. I prepared this roll from `1664ab2899` to `a018f24a4f`.

- Updated `DRIVER_VERSION` to upstream `main` (`1.66.0-next`). No Python client, test, or asset ports are needed. API and protocol regeneration left no changes. Node.js and browser versions are unchanged.
- Remaining: complete WebKit host validation and rerun `python scripts/update_versions.py`. WebKit cannot launch on this runner because required shared libraries are missing, including an Abseil version unavailable in its Ubuntu 24.04 repositories. README.md is unchanged.
- The Chromium popup-video test `test_VI_014_screencast_should_work_for_popups` failed once on a white video frame, then passed on its automatic retry.

<details>
<summary>Upstream commits</summary>

- microsoft/playwright@08d33c493 chore: remove dotnet-specific scripts (microsoft/playwright#44229)
- microsoft/playwright@feb1be1a8 chore: remove generateApiJson.js and the .NET API generator (microsoft/playwright#44244)
- microsoft/playwright@a018f24a4 feat(cli): list browser profiles and attach to a profile with --profile-dir-name (microsoft/playwright#44243)

</details>

<sub>Did this on Linux by the Playwright bot - [agent run](https://github.com/microsoft/devops.playwright.dev/actions/runs/44710392543)</sub>

Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants