"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[89398],{3905:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>d});varr=n(67294);functionl(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functiona(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){varr=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}returnn}functiono(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}returne}functioni(e,t){if(null==e)return{};varn,r,l=function(e,t){if(null==e)return{};varn,r,l={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(l[n]=e[n]);returnl}(e,t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}returnl}varp=r.createContext({}),c=function(e){vart=r.useContext(p),n=t;returne&&(n="function"==typeofe?e(t):o(o({},t),e)),n},s=function(e){vart=c(e.components);returnr.createElement(p.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){vart=e.children;returnr.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){varn=e.components,l=e.mdxType,a=e.originalType,p=e.parentName,s=i(e,["components","mdxType","originalType","parentName"]),m=c(n),d=l,f=m["".concat(p,".").concat(d)]||m[d]||u[d]||a;returnn?r.createElement(f,o(o({ref:t},s),{},{components:n})):r.createElement(f,o({ref:t},s))}));functiond(e,t){varn=arguments,l=t&&t.mdxType;if("string"==typeofe||l){vara=n.length,o=newArray(a);o[0]=m;vari={};for(varpint)hasOwnProperty.call(t,p)&&(i[p]=t[p]);i.originalType=e,i.mdxType="string"==typeofe?e:l,o[1]=i;for(varc=2;c<a;c++)o[c]=n[c];returnr.createElement.apply(null,o)}returnr.createElement.apply(null,n)}m.displayName="MDXCreateElement"},82223:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>c,contentTitle:()=>i,default:()=>m,frontMatter:()=>o,metadata:()=>p,toc:()=>s});n(67294);varr=n(3905);functionl(){returnl=Object.assign||function(e){for(vart=1;t<arguments.length;t++){varn=arguments[t];for(varrinn)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}returne},l.apply(this,arguments)}functiona(e,t){if(null==e)return{};varn,r,l=function(e,t){if(null==e)return{};varn,r,l={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(l[n]=e[n]);returnl}(e,t);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}returnl}consto={sidebar_label:"ElementHandle.scrollIntoView"},i="ElementHandle.scrollIntoView() method",p={unversionedId:"api/puppeteer.elementhandle.scrollintoview",id:"version-21.1.1/api/puppeteer.elementhandle.scrollintoview",title:"ElementHandle.scrollIntoView() method",description:"Scrolls the element into view using either the automation protocol client or by calling element.scrollIntoView.",source:"@site/versioned_docs/version-21.1.1/api/puppeteer.elementhandle.scrollintoview.md",sourceDirName:"api",slug:"/api/puppeteer.elementhandle.scrollintoview",permalink:"/api/puppeteer.elementhandle.scrollintoview",draft:!1,tags:[],version:"21.1.1",frontMatter:{sidebar_label:"ElementHandle.scrollIntoView"},sidebar:"api",previous:{title:"ElementHandle.screenshot",permalink:"/api/puppeteer.elementhandle.screenshot"},next:{title:"ElementHandle.select",permalink:"/api/puppeteer.elementhandle.select"}},c={},s=[{value:"Signature:",id:"signature",level:4},{value:"Parameters",id:"parameters",level:2}],u={toc:s};functionm(e){var{components:t}=e,n=a(e,["components"]);return(0,r.kt)("wrapper",l({},u,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",l({},{id:"elementhandlesc