diff --git a/404.html b/404.html index 4bb290edbb4..b0306263e93 100644 --- a/404.html +++ b/404.html @@ -6,7 +6,7 @@
Warning: This API is now obsolete.
Use
-+const element = await frame.frameElement();
const name = await element.evaluate(frame => frame.name);const element = await frame.frameElement();
const nameOrId = await element.evaluate(frame => frame.name ?? frame.id);
The frame's name
attribute as specified in the tag.