Example Code Runner (Playwright)
No credit card required
Example Code Runner (Playwright)
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 demoCrawlee & 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:
Actor Metrics
53 monthly users
-
10 stars
99% runs succeeded
Created in Sep 2023
Modified 6 months ago