Example Code Runner (Puppeteer) avatar

Example Code Runner (Puppeteer)

Try for free

No credit card required

View all Actors
Example Code Runner (Puppeteer)

Example Code Runner (Puppeteer)

apify/example-code-runner-puppeteer
Try for free

No credit card required

Generic Actor to run code examples from the documentation via "Run on Apify" links.

Do you want to learn more about this Actor?

Get a demo

Crawlee & Playwright & Chrome template

Web scraper example with Crawlee, Playwright and headless Chrome. Playwright is more modern, user-friendly and harder to block than Puppeteer.

Getting Started

Install Apify CLI

Using Homebrew

brew install apify/tap/apify-cli

Using NPM

npm -g install apify-cli

Create a new Actor using this template

apify create my-typescript-actor -t project_playwright_crawler_ts

Run the Actor locally

1cd my-typescript-actor
2apify run

Deploy on Apify

Log in to Apify

You will need to provide your Apify API Token to complete this action.

apify login

Deploy your Actor

This command will deploy and build the Actor on the Apify Platform. You can find your newly created Actor under Actors -> My Actors.

apify push

Documentation reference

To learn more about Apify and Actors, take a look at the following resources:

Developer
Maintained by Apify

Actor Metrics

  • 26 monthly users

  • 4 stars

  • 95% runs succeeded

  • Created in Sep 2023

  • Modified 5 months ago

Categories