Skip to content

Commit

Permalink
issue a new request for the full page of content
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpdoyle committed Aug 1, 2022
1 parent 22c3ff3 commit 1043f0d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/core/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,8 @@ export class Session
this.notifyApplicationAfterFrameRender(fetchResponse, frame)
}

async frameMissing(frame: FrameElement, fetchResponse: FetchResponse): Promise<void> {
const responseHTML = await fetchResponse.responseHTML
const { location, redirected, statusCode } = fetchResponse

return this.visit(location, { response: { redirected, statusCode, responseHTML } })
frameMissing(frame: FrameElement, fetchResponse: FetchResponse): Promise<void> {
return this.visit(fetchResponse.location)
}

// Application events
Expand Down

0 comments on commit 1043f0d

Please sign in to comment.