<titledata-rh="true">ElementHandle.$$eval() 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.elementhandle.__eval"><metadata-rh="true"name="docusaurus_locale"content="en"><metadata-rh="true"name="docsearch:language"content="en"><metadata-rh="true"name="docusaurus_version"content="15.3.1"><metadata-rh="true"name="docusaurus_tag"content="docs-default-15.3.1"><metadata-rh="true"name="docsearch:version"content="15.3.1"><metadata-rh="true"name="docsearch:docusaurus_tag"content="docs-default-15.3.1"><metadata-rh="true"property="og:title"content="ElementHandle.$$eval() method | Puppeteer"><metadata-rh="true"name="description"content="This method runs document.querySelectorAll within the element and passes it as the first argument to pageFunction. If there's no element matching selector, the method throws an error."><metadata-rh="true"property="og:description"content="This method runs document.querySelectorAll within the element and passes it as the first argument to pageFunction. If there's no element matching selector, the method throws an error."><linkdata-rh="true"rel="icon"href="/img/favicon.ico"><linkdata-rh="true"rel="canonical"href="https://pptr.dev/api/puppeteer.elementhandle.__eval"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/api/puppeteer.elementhandle.__eval"hreflang="en"><linkdata-rh="true"rel="alternate"href="https://pptr.dev/api/puppeteer.elementhandle.__eval"hreflang="x-default"><linkrel="stylesheet"href="/assets/css/styles.39576fb3.css">