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

Method refresh

test/lib/browsers/playwright.ts:386–391  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

384 })
385 }
386 refresh() {
387 // do not preserve the previous chained value, it's likely to be invalid after a reload.
388 return this.startChain(async () => {
389 await page.reload()
390 })
391 }
392 setDimensions({ width, height }: { height: number; width: number }) {
393 return this.startOrPreserveChain(() =>
394 page.setViewportSize({ width, height })

Callers

nothing calls this directly

Calls 2

startChainMethod · 0.95
reloadMethod · 0.65

Tested by

no test coverage detected