diff --git a/src/core/session.ts b/src/core/session.ts index 2411bd3d1..23f6e9d08 100644 --- a/src/core/session.ts +++ b/src/core/session.ts @@ -305,11 +305,8 @@ export class Session this.notifyApplicationAfterFrameRender(fetchResponse, frame) } - async frameMissing(frame: FrameElement, fetchResponse: FetchResponse): Promise { - const responseHTML = await fetchResponse.responseHTML - const { location, redirected, statusCode } = fetchResponse - - return this.visit(location, { response: { redirected, statusCode, responseHTML } }) + frameMissing(frame: FrameElement, fetchResponse: FetchResponse): Promise { + return this.visit(fetchResponse.location) } // Application events