Skip to content

Conversation

@aslushnikov
Copy link
Contributor

This patch starts using frame.unreachedURL property from
frameNavigated event to determine if the page navigation
was successful.

This patch starts using frame.unreachedURL property from
frameNavigated event to determine if the page navigation
was successful.
* @param {!Frame} frame
* @return {boolean}
*/
isMainFrameLoadingFailed() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didMainFrameFailToLoad

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see much difference between the names (and I like the former more since it resembles protocol event names..)

@aslushnikov aslushnikov merged commit d71feb6 into puppeteer:master Aug 18, 2017
@aslushnikov aslushnikov deleted the failed-navigation branch August 27, 2017 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants