[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Page](./puppeteer.protocol.page.md) > [NavigatedWithinDocumentEvent](./puppeteer.protocol.page.navigatedwithindocumentevent.md) ## Protocol.Page.NavigatedWithinDocumentEvent interface Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation. Signature: ```typescript export interface NavigatedWithinDocumentEvent ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [frameId](./puppeteer.protocol.page.navigatedwithindocumentevent.frameid.md) | [FrameId](./puppeteer.protocol.page.frameid.md) | Id of the frame. | | [url](./puppeteer.protocol.page.navigatedwithindocumentevent.url.md) | string | Frame's new url. |