feat(#100, #111, #140, #304, #318, #364): new features#450
Open
giulio-leone wants to merge 1 commit intovercel-labs:mainfrom
Open
feat(#100, #111, #140, #304, #318, #364): new features#450giulio-leone wants to merge 1 commit intovercel-labs:mainfrom
giulio-leone wants to merge 1 commit intovercel-labs:mainfrom
Conversation
Contributor
|
@g97iulio1609 is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
fdb42f7 to
f9cf949
Compare
…, vercel-labs#318, vercel-labs#364): new features - vercel-labs#100: click --x --y for coordinate-based clicking - vercel-labs#111: --body flag for network requests response bodies - vercel-labs#140: session close-all command - vercel-labs#304: scale option for screenshot - vercel-labs#318: iframe context isolation — getFrame() for frame-scoped ops - vercel-labs#364: first/last/nth modifiers for find locators
f9cf949 to
7f372ed
Compare
Author
|
Re: body tracking upgrade concern — already handled in |
This was referenced Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Features
Batched PR combining six new feature issues into a single themed branch. Each feature is independent and additive.
Changes
#100 — Coordinate-based clicking (
--x/--y)Adds
click --x <num> --y <num>for clicking at exact page coordinates. Useful for canvas elements, maps, or any scenario where a DOM selector isn't available. Coexists with existingclick <selector> [--new-tab].#111 —
--bodyflag for network requestsAdds
--bodyoption to thenetwork requestscommand so response bodies are included in the output. Off by default to avoid noise.#140 —
session close-allcommandAdds a
session close-allCLI subcommand to close all active browser sessions at once.#304 — Screenshot
scaleoptionAdds an optional
--scaleflag to thescreenshotcommand, forwarding Playwright'sscaleoption (e.g.,cssordevice).#318 — Iframe context isolation
After running the
framecommand to switch into an iframe, DOM operations now correctly scope to that frame:getSnapshot(),getLocatorFromRef(), andgetLocator()inbrowser.tsusegetFrame()instead ofgetPage()actions.ts(evaluate,wait,scroll,content,getByRole,getByText,getByLabel,getByPlaceholder,storageGet/Set/Clear,styles,evalHandle,addScript,addStyle,getByAltText,getByTitle,getByTestId,waitForLoadState,setContent,waitForFunction) now callbrowser.getFrame()getEnhancedSnapshotinsnapshot.tsacceptsPage | FramegetFrame()returns the active frame if one is selected, otherwise falls back topage.mainFrame()— so behavior is unchanged when no frame is active.#364 —
first/last/nthmodifiers for find locatorsAdds positional modifiers to
getByRole,getByText,getByLabel,getByPlaceholder,getByAltText,getByTitle, andgetByTestIdcommands. IncludesapplyPosition()helper,safeCheck/safeUncheckwith auto-fallback for hidden checkboxes, andisVisibilityErrordetection.Testing
npx tsc --noEmit— passescargo check(CLI) — passesIssues
Closes #100, closes #111, closes #140, closes #304, closes #318, closes #364