
How to add custom scripts to a page in Puppeteer
How to add custom scripts to a page in Puppeteer. Let's discover how it works quickly."
- Written by
- Dmytro Krasun
- Published on
- •
- 2 min read
Automate Website Screenshots
Guides, Product Updates, and Helpful Resources from ScreenshotOne.
How to add custom scripts to a page in Puppeteer. Let's discover how it works quickly."
To add custom styles to any page use Puppeteer's page method `page.addStyleTag(options)`. Let's discover how it works quickly.
The article examines how you can take screenshots of any URL with PHP by using Selenium, Puppeteer alternatives, or screenshot API as a service.
The article examines how you can take screenshots of any URL with Javascript and TypeScript (Node.js) by using Selenium, Puppeteer alternatives, Playwright, or screenshot API as a service.
The article examines how you can take screenshots of any URL with Java by using Selenium, Puppeteer alternatives, Playwright, or screenshot API as a service.
The article examines how you can take screenshots of any URL with Go (a.k.a. Golang) by using Selenium, Puppeteer alternatives, Playwright, or screenshot API as a service.
Puppeteer allows changing the time zone on a per-page basis. In automation testing, you can use it to test how the website behaves for different time zones. Or you can use it for scrapping to imitate the user from the expected time zone by the site.
Puppeteer allows blocking any outgoing requests while loading the page. Whether you want to block ads, tracking scripts, or different types of resources, it is relatively easy to do with Puppeteer.
Exhaustive documentation, ready SDKs, no-code tools, and other automation to help you render website screenshots and outsource all the boring work related to that to us.