You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not currently, but it would likely be pretty trivial to add support..
basically add a selector prop to the options.. when it's there, switch out
the page for an element, then do the PDF/screenshot on that.
Do you want to have a go at adding the feature?
```
await page.waitForSelector(selector); const element = await
page.$(selector); await element.screenshot({ path: 'example.com.png', });
```
Is it possible to screenshot only a specific element? It appears that puppeteer has that feature.
The text was updated successfully, but these errors were encountered: