We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 658d8d8 commit 6a6656bCopy full SHA for 6a6656b
test/source/tests/page-recipe/oauth-page-recipe.ts
@@ -24,7 +24,7 @@ export class OauthPageRecipe extends PageRecipe {
24
return e.message.includes('Navigating frame was detached');
25
}
26
// Fallback: convert to string and check (for non-Error objects)
27
- const errorStr = String(e);
+ const errorStr = e.toString();
28
return errorStr.includes('Navigating frame was detached') || errorStr.includes('frame was detached');
29
30
0 commit comments