"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[64689],{3905:(e,r,t)=>{t.d(r,{Zo:()=>u,kt:()=>f});varn=t(67294);functiona(e,r,t){returnrine?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}functiono(e,r){vart=Object.keys(e);if(Object.getOwnPropertySymbols){varn=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){returnObject.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}returnt}functioni(e){for(varr=1;r<arguments.length;r++){vart=null!=arguments[r]?arguments[r]:{};r%2?o(Object(t),!0).forEach((function(r){a(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}returne}functionp(e,r){if(null==e)return{};vart,n,a=function(e,r){if(null==e)return{};vart,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);returna}(e,r);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}returna}varl=n.createContext({}),c=function(e){varr=n.useContext(l),t=r;returne&&(t="function"==typeofe?e(r):i(i({},r),e)),t},u=function(e){varr=c(e.components);returnn.createElement(l.Provider,{value:r},e.children)},s={inlineCode:"code",wrapper:function(e){varr=e.children;returnn.createElement(n.Fragment,{},r)}},m=n.forwardRef((function(e,r){vart=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),m=c(t),f=a,d=m["".concat(l,".").concat(f)]||m[f]||s[f]||o;returnt?n.createElement(d,i(i({ref:r},u),{},{components:t})):n.createElement(d,i({ref:r},u))}));functionf(e,r){vart=arguments,a=r&&r.mdxType;if("string"==typeofe||a){varo=t.length,i=newArray(o);i[0]=m;varp={};for(varlinr)hasOwnProperty.call(r,l)&&(p[l]=r[l]);p.originalType=e,p.mdxType="string"==typeofe?e:a,i[1]=p;for(varc=2;c<o;c++)i[c]=t[c];returnn.createElement.apply(null,i)}returnn.createElement.apply(null,t)}m.displayName="MDXCreateElement"},96140:(e,r,t)=>{t.r(r),t.d(r,{assets:()=>c,contentTitle:()=>p,default:()=>m,frontMatter:()=>i,metadata:()=>l,toc:()=>u});t(67294);varn=t(3905);functiona(){returna=Object.assign||function(e){for(varr=1;r<arguments.length;r++){vart=arguments[r];for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}returne},a.apply(this,arguments)}functiono(e,r){if(null==e)return{};vart,n,a=function(e,r){if(null==e)return{};vart,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);returna}(e,r);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}returna}consti={sidebar_label:"Frame.name"},p="Frame.name() method",l={unversionedId:"api/puppeteer.frame.name",id:"version-21.0.2/api/puppeteer.frame.name",title:"Frame.name() method",description:"The frame's name attribute as specified in the tag.",source:"@site/versioned_docs/version-21.0.2/api/puppeteer.frame.name.md",sourceDirName:"api",slug:"/api/puppeteer.frame.name",permalink:"/api/puppeteer.frame.name",draft:!1,tags:[],version:"21.0.2",frontMatter:{sidebar_label:"Frame.name"},sidebar:"api",previous:{title:"Frame.locator_1",permalink:"/api/puppeteer.frame.locator_1"},next:{title:"Frame.page",permalink:"/api/puppeteer.frame.page"}},c={},u=[{value:"Signature:",id:"signature",level:4},{value:"Remarks",id:"remarks",level:2}],s={toc:u};functionm(e){var{components:r}=e,t=o(e,["components"]);return(0,n.kt)("wrapper",a({},s,t,{components:r,mdxType:"MDXLayout"}),(0,n.kt)("h1",a({},{id:"framename-method"}),"Frame.name() method"),(0,n.kt)("p",null,"The frame's ",(0,n.kt)("inlineCode",{parentName:"p"},"name")," attribute as specified in the tag."),(0,n.kt)("h4",a({},{id:"signature"}),"Signature:"),(0,n.kt)("pre",null,(0,n.kt)("code",a({parentName:"pre"},{className: