[v4]: more page route stubs for locator functions
Merged
SE
8mo ago+1222+1222+0123456789012345678901234567890123456789-3-3-0123456789
why
- to add page routes for more of the locator functions
what changed
- added the following route stubs:
/fill/highlight/selectOption/setInputFiles
- each of the above optionally returns a selector object if
returnSelector: true - aligned existing
/click,/hover, and/dragAndDroproutes to defaultreturnSelectortofalse
screenshot:
test plan
Summary by cubic
Adds v4 page route stubs for locator actions: /v4/page/fill, /v4/page/highlight, /v4/page/selectOption, and /v4/page/setInputFiles. Addresses STG-1646 with OpenAPI and schema updates; routes return placeholder results with optional selector output.
-
New Features
- Added POST endpoints: /v4/page/fill, /v4/page/highlight, /v4/page/selectOption, /v4/page/setInputFiles (wired into router and documented). Each supports returnSelector (default false) and returns placeholder results.
-
Refactors
- Default returnSelector is now false for /click, /hover, and /dragAndDrop.
- ResultSelector is now required in result schemas.