"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[64781],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>d});vara=n(67294);functionr(e,t,n){returntine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}functiono(e,t){varn=Object.keys(e);if(Object.getOwnPropertySymbols){vara=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){returnObject.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}returnn}functioni(e){for(vart=1;t<arguments.length;t++){varn=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}returne}functionp(e,t){if(null==e)return{};varn,a,r=function(e,t){if(null==e)return{};varn,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);returnr}(e,t);if(Object.getOwnPropertySymbols){varo=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}returnr}varl=a.createContext({}),s=function(e){vart=a.useContext(l),n=t;returne&&(n="function"==typeofe?e(t):i(i({},t),e)),n},u=function(e){vart=s(e.components);returna.createElement(l.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){vart=e.children;returna.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){varn=e.components,r=e.mdxType,o=e.originalType,l=e.parentName,u=p(e,["components","mdxType","originalType","parentName"]),m=s(n),d=r,g=m["".concat(l,".").concat(d)]||m[d]||c[d]||o;returnn?a.createElement(g,i(i({ref:t},u),{},{components:n})):a.createElement(g,i({ref:t},u))}));functiond(e,t){varn=arguments,r=t&&t.mdxType;if("string"==typeofe||r){varo=n.length,i=newArray(o);i[0]=m;varp={};for(varlint)hasOwnProperty.call(t,l)&&(p[l]=t[l]);p.originalType=e,p.mdxType="string"==typeofe?e:r,i[1]=p;for(vars=2;s<o;s++)i[s]=n[s];returna.createElement.apply(null,i)}returna.createElement.apply(null,n)}m.displayName="MDXCreateElement"},17544:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>c,frontMatter:()=>o,metadata:()=>p,toc:()=>s});vara=n(87462),r=(n(67294),n(3905));consto={sidebar_label:"Page.goBack"},i="Page.goBack() method",p={unversionedId:"api/puppeteer.page.goback",id:"version-17.1.1/api/puppeteer.page.goback",title:"Page.goBack() method",description:"This method navigate to the previous page in history.",source:"@site/versioned_docs/version-17.1.1/api/puppeteer.page.goback.md",sourceDirName:"api",slug:"/api/puppeteer.page.goback",permalink:"/api/puppeteer.page.goback",draft:!1,tags:[],version:"17.1.1",frontMatter:{sidebar_label:"Page.goBack"},sidebar:"sidebar",previous:{title:"Page.frames",permalink:"/api/puppeteer.page.frames"},next:{title:"Page.goForward",permalink:"/api/puppeteer.page.goforward"}},l={},s=[{value:"Parameters",id:"parameters",level:2},{value:"Remarks",id:"remarks",level:2}],u={toc:s};functionc(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"pagegoback-method"},"Page.goBack() method"),(0,r.kt)("p",null,"This method navigate to the previous page in history."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Signature:")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-typescript"},"class Page {\n goBack(options?: WaitForOptions): Promise<HTTPResponse | null>;\n}\n")),(0,r.kt)("h2",{id:"parameters"},"Parameters"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,r.kt)("th",{parentName:"tr",align:null},"Type"),(0,r.kt)("th",{parentName:"tr",align:null},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:null},"options"),(0,r.kt)("td",{parentName:"tr",align:null},(0,r.kt