CONFIRM NAVIGATION CONFIRM NAVIGATION Tests frameStartedNavigating events with beforeunload Prepare frameStartedNavigating { method : Page.frameStartedNavigating params : { frameId : loaderId : navigationType : differentDocument url : http://127.0.0.1:8000/inspector-protocol/page/resources/before-unload.html } sessionId : } Fragment navigation frameStartedNavigating { method : Page.frameStartedNavigating params : { frameId : loaderId : navigationType : sameDocument url : http://127.0.0.1:8000/inspector-protocol/page/resources/before-unload.html#some_fragment } sessionId : } Reload frameStartedNavigating { method : Page.frameStartedNavigating params : { frameId : loaderId : navigationType : reload url : http://127.0.0.1:8000/inspector-protocol/page/resources/before-unload.html#some_fragment } sessionId : } Leave beforeunload page frameStartedNavigating { method : Page.frameStartedNavigating params : { frameId : loaderId : navigationType : differentDocument url : http://127.0.0.1:8000/inspector-protocol/resources/empty.html } sessionId : }