chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:23:39 +08:00
commit 0954a9c89d
2746 changed files with 3471385 additions and 0 deletions
@@ -0,0 +1,15 @@
import { PlaywrightCrawler } from 'crawlee';
const crawler = new PlaywrightCrawler({
async requestHandler({ page }) {
// page.locator points to an element in the DOM
// using a CSS selector, but it does not access it yet.
const actorCard = page.locator('.ActorStoreItem').first();
// Upon calling one of the locator methods Playwright
// waits for the element to render and then accesses it.
const actorText = await actorCard.textContent();
console.log(`ACTOR: ${actorText}`);
},
});
await crawler.run(['https://apify.com/store']);