"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2878],{3905:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>u});var a=r(67294);function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function i(e){for(var t=1;t=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var o=a.createContext({}),c=function(e){var t=a.useContext(o),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=c(e.components);return a.createElement(o.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},s=a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,p=e.originalType,o=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),s=c(r),u=n,f=s["".concat(o,".").concat(u)]||s[u]||m[u]||p;return r?a.createElement(f,i(i({ref:t},d),{},{components:r})):a.createElement(f,i({ref:t},d))}));function u(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var p=r.length,i=new Array(p);i[0]=s;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=e,l.mdxType="string"==typeof e?e:n,i[1]=l;for(var c=2;c{r.r(t),r.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>m,frontMatter:()=>p,metadata:()=>l,toc:()=>c});var a=r(87462),n=(r(67294),r(3905));const p={sidebar_label:"Frame.addScriptTag"},i="Frame.addScriptTag() method",l={unversionedId:"api/puppeteer.frame.addscripttag",id:"api/puppeteer.frame.addscripttag",title:"Frame.addScriptTag() method",description:"Adds a `` tag into the page with the desired url or content.",source:"@site/../docs/api/puppeteer.frame.addscripttag.md",sourceDirName:"api",slug:"/api/puppeteer.frame.addscripttag",permalink:"/next/api/puppeteer.frame.addscripttag",draft:!1,tags:[],version:"current",frontMatter:{sidebar_label:"Frame.addScriptTag"},sidebar:"sidebar",previous:{title:"Frame.$x",permalink:"/next/api/puppeteer.frame._x"},next:{title:"Frame.addStyleTag",permalink:"/next/api/puppeteer.frame.addstyletag"}},o={},c=[{value:"Parameters",id:"parameters",level:2}],d={toc:c};function m(e){let{components:t,...r}=e;return(0,n.kt)("wrapper",(0,a.Z)({},d,r,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h1",{id:"frameaddscripttag-method"},"Frame.addScriptTag() method"),(0,n.kt)("p",null,"Adds a ",(0,n.kt)("inlineCode",{parentName:"p"},"