Minimal page interface for matcher operations.
Decouples matchers from full Playwright Page, enabling unit testing with lightweight mock objects.
const page: MatcherPage = { evaluate: async (script) => ({}) }; Copy
const page: MatcherPage = { evaluate: async (script) => ({}) };
Executes a script in the browser context and returns the result.
Optional
Waits for a condition in the browser context (required for bridge injection).
Minimal page interface for matcher operations.
Remarks
Decouples matchers from full Playwright Page, enabling unit testing with lightweight mock objects.
Example