<titledata-rh="true">WebWorker.evaluateHandle() method | Puppeteer</title><metadata-rh="true"name="twitter:card"content="summary_large_image"><metadata-rh="true"property="og:url"content="https://pptr.dev/api/puppeteer.webworker.evaluatehandle"><metadata-rh="true"name="docusaurus_locale"content="en"><metadata-rh="true"name="docsearch:language"content="en"><metadata-rh="true"name="docusaurus_version"content="16.1.0"><metadata-rh="true"name="docusaurus_tag"content="docs-default-16.1.0"><metadata-rh="true"name="docsearch:version"content="16.1.0"><metadata-rh="true"name="docsearch:docusaurus_tag"content="docs-default-16.1.0"><metadata-rh="true"property="og:title"content="WebWorker.evaluateHandle() method | Puppeteer"><metadata-rh="true"name="description"content="The only difference between worker.evaluate and worker.evaluateHandle is that worker.evaluateHandle returns in-page object (JSHandle). If the function passed to the worker.evaluateHandle returns a Promise, then worker.evaluateHandle would wait for the promise to resolve and return its value. Shortcut for await worker.executionContext()).evaluateHandle(pageFunction, ...args)"><metadata-rh="true"property="og:description"content="The only difference between worker.evaluate and worker.evaluateHandle is that worker.evaluateHandle returns in-page object (JSHandle). If the function passed to the worker.evaluateHandle returns a Promise, then worker.evaluateHandle would wait for the promise to resolve and return its value. Shortcut for await worker.executionContext()).evaluateHandle(pageFunction, ...args)"><linkdata-rh="true"rel="icon"href="/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://pptr.dev/api/puppeteer.webworker.evaluatehandle"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/api/puppeteer.webworker.evaluatehandle"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/api/puppeteer.webworker.evaluatehandle"hreflang="x-default"><linkrel="stylesheet"href="/assets/css/styles.b0ce6a3c.css">