Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
chore: pin playwright to 1.50.1 to fix camoufox template (#2879)
Martin Adámek017bb8ebfd14
diff --git a/package.json b/package.jsonindex 6253546e5..5c2845316 100644--- a/package.json+++ b/package.json@@ -104,7 +104,7 @@"lerna": "^8.0.0","lint-staged": "^15.0.0","nock": "^13.4.0",- "playwright": "1.51.0",+ "playwright": "1.50.1","portastic": "^1.0.1","proxy": "^1.0.2","puppeteer": "24.4.0",diff --git a/packages/templates/templates/camoufox-ts/Dockerfile b/packages/templates/templates/camoufox-ts/Dockerfileindex 3c8f7f4f6..b86983f92 100644--- a/packages/templates/templates/camoufox-ts/Dockerfile+++ b/packages/templates/templates/camoufox-ts/Dockerfile@@ -1,7 +1,7 @@# Specify the base Docker image. You can read more about# the available images at https://crawlee.dev/docs/guides/docker-images# You can also use any other image from Docker Hub.-FROM apify/actor-node-playwright-chrome:20 AS builder+FROM apify/actor-node-playwright-chrome:20-1.50.1 AS builder# Copy just package.json and package-lock.json# to speed up the build using Docker layer cache.@@ -19,7 +19,7 @@ COPY --chown=myuser . ./RUN npm run build# Create final image-FROM apify/actor-node-playwright-chrome:20+FROM apify/actor-node-playwright-chrome:20-1.50.1# Copy only built JS files from builder imageCOPY --from=builder --chown=myuser /home/myuser/dist ./distdiff --git a/packages/templates/templates/camoufox-ts/package.json b/packages/templates/templates/camoufox-ts/package.jsonindex 7e6100b96..1c58369e7 100644--- a/packages/templates/templates/camoufox-ts/package.json+++ b/packages/templates/templates/camoufox-ts/package.json@@ -6,7 +6,7 @@"dependencies": {"camoufox-js": "^0.2.1","crawlee": "^3.0.0",- "playwright": "*"+ "playwright": "1.50.1"},"devDependencies": {"@apify/tsconfig": "^0.1.0",diff --git a/renovate.json b/renovate.jsonindex 63ffb1979..a5bba5102 100644--- a/renovate.json+++ b/renovate.json@@ -27,6 +27,7 @@"ignoreDeps": ["crawlee","cheerio",+ "playwright","@docusaurus/core","@docusaurus/mdx-loader","@docusaurus/module-type-aliases",diff --git a/test/e2e/camoufox-cloudflare/actor/Dockerfile b/test/e2e/camoufox-cloudflare/actor/Dockerfileindex 63a516b04..b0215803a 100644--- a/test/e2e/camoufox-cloudflare/actor/Dockerfile+++ b/test/e2e/camoufox-cloudflare/actor/Dockerfile@@ -1,4 +1,4 @@-FROM apify/actor-node-playwright-chrome:20-beta AS builder+FROM apify/actor-node-playwright-chrome:20-1.50.1-beta AS builderCOPY /packages ./packagesCOPY /package*.json ./@@ -6,7 +6,7 @@ RUN npm --quiet set progress=false \&& npm install --only=prod --no-optional --no-audit --ignore-scripts \&& npm update-FROM apify/actor-node-playwright-chrome:20-beta+FROM apify/actor-node-playwright-chrome:20-1.50.1-betaRUN rm -r node_modulesCOPY --from=builder /node_modules ./node_modulesdiff --git a/test/e2e/camoufox-cloudflare/actor/package.json b/test/e2e/camoufox-cloudflare/actor/package.jsonindex b2776bb8e..44eb429e3 100644--- a/test/e2e/camoufox-cloudflare/actor/package.json+++ b/test/e2e/camoufox-cloudflare/actor/package.json@@ -14,7 +14,7 @@"@crawlee/types": "file:./packages/types","@crawlee/utils": "file:./packages/utils","camoufox-js": "^0.2.1",- "playwright": "*"+ "playwright": "1.50.1"},"overrides": {"apify": {diff --git a/yarn.lock b/yarn.lockindex 73742603f..985c73873 100644--- a/yarn.lock+++ b/yarn.lock@@ -794,7 +794,7 @@ __metadata:lerna: "npm:^8.0.0"lint-staged: "npm:^15.0.0"nock: "npm:^13.4.0"- playwright: "npm:1.51.0"+ playwright: "npm:1.50.1"portastic: "npm:^1.0.1"proxy: "npm:^1.0.2"puppeteer: "npm:24.4.0"@@ -10932,6 +10932,15 @@ __metadata:languageName: nodelinkType: hard+"playwright-core@npm:1.50.1":+ version: 1.50.1+ resolution: "playwright-core@npm:1.50.1"+ bin:+ playwright-core: cli.js+ checksum: 10c0/c158764257d870897c31807a830ddcc3f5aaf4376719e05aeada3489a01f751650b2dc43e027201a40405a1b075084e89f58cd3730a985a229efe9d8cecfe360+ languageName: node+ linkType: hard+"playwright-core@npm:1.51.0":version: 1.51.0resolution: "playwright-core@npm:1.51.0"@@ -10941,7 +10950,22 @@ __metadata:languageName: nodelinkType: hard-"playwright@npm:1.51.0, playwright@npm:^1.50.1":+"playwright@npm:1.50.1":+ version: 1.50.1+ resolution: "playwright@npm:1.50.1"+ dependencies:+ fsevents: "npm:2.3.2"+ playwright-core: "npm:1.50.1"+ dependenciesMeta:+ fsevents:+ optional: true+ bin:+ playwright: cli.js+ checksum: 10c0/b292ee6e0d122748a3d024b85ace86a0d9c848fc4121685d90ffc5d43d6bcf13ed7dc7488b1055f69040599c420052306ccba6fabfe2f69a15fc109c55171207+ languageName: node+ linkType: hard++"playwright@npm:^1.50.1":version: 1.51.0resolution: "playwright@npm:1.51.0"dependencies: