MCPcopy
hub / github.com/vercel/next.js / beforePageLoad

Function beforePageLoad

test/development/acceptance-app/editor-links.test.ts:52–57  ·  view source on GitHub ↗
(page)

Source from the content-addressed store, hash-verified

50 undefined,
51 {
52 beforePageLoad(page) {
53 page.route('**/__nextjs_launch-editor**', (route) => {
54 editorRequestsCount += 1
55 route.fulfill()
56 })
57 },
58 }
59 )
60 const { session, browser } = sandbox

Callers

nothing calls this directly

Calls 1

routeMethod · 0.80

Tested by

no test coverage detected