diff --git a/docs/api/web-frame-main.md b/docs/api/web-frame-main.md index 0190f4dbc0ac5..e97041668e15b 100644 --- a/docs/api/web-frame-main.md +++ b/docs/api/web-frame-main.md @@ -16,7 +16,7 @@ win.loadURL('https://twitter.com') win.webContents.on( 'did-frame-navigate', - (event, url, isMainFrame, frameProcessId, frameRoutingId) => { + (event, url, httpResponseCode, httpStatusText, isMainFrame, frameProcessId, frameRoutingId) => { const frame = webFrameMain.fromId(frameProcessId, frameRoutingId) if (frame) { const code = 'document.body.innerHTML = document.body.innerHTML.replaceAll("heck", "h*ck")'