Expose CDP in the browser mode #5812
Labels
feat: browser
Issues and PRs related to the browser runner
p2-nice-to-have
Not breaking anything but nice to have (priority)
Clear and concise description of the problem
It is very useful to have access to the CDP instance from the browser for library authors to build APIs on top of (see: https://github.com/dmtrKovalenko/cypress-real-events)
Suggested solution
Expose
cdp
method from@vitest/browser/context
that returns an object with three methods:Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: