Generate contract types, not just scope names
@vishnuv688 is already working on this.
Since Aug 12, 2026.
Assessment
This issue has not been assessed yet.
Description
Part of #278
gen_contract.py already generates scope names and the contract
version into _contract.py with a CI drift guard. frames.py and types.py
still hand-mirror about 308 lines of shared's field-level types, which is a drift
class waiting to happen and would triple with Java.
Acceptance criteria
Python payload types are generated from one schema. The
drift guard covers fields, not only scope names. frames.py shrinks to builders
over generated types.
Size: M. Depends on B1.
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 2
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 21
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from webdriverio/devtools
-
webdriverio/devtools#385 · 1 comment · 1 assignee ·
-
capture-architecture enhancement
webdriverio/devtools#300 · 1 assignee ·
-
capture-architecture
webdriverio/devtools#298 · 3 comments · 1 assignee ·
-
selenium-devtools-py
webdriverio/devtools#294 · 1 comment · 1 assignee ·
-
capture-architecture
webdriverio/devtools#278 · 1 assignee ·
All issues in webdriverio/devtools
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
fil-donadoni/tolaria#4409 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
corsairdev/corsair#1764 ·