diff --git a/CHANGELOG.md b/CHANGELOG.md index 69f0e3a74dc3..2675ac469af2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,55 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* allow any `clickOptions` in `enqueueLinksByClickingElements` ([#3823](https://github.com/apify/crawlee/issues/3823)) ([abcbfb1](https://github.com/apify/crawlee/commit/abcbfb158ab3edbb9e7e4c5c6f1d937dea9bb4dd)) +* avoid duplicate final crawler persistence ([#3866](https://github.com/apify/crawlee/issues/3866)) ([79dd6c4](https://github.com/apify/crawlee/commit/79dd6c41eff144914ddb7fa6e04a65e9b8b762e0)), closes [#3167](https://github.com/apify/crawlee/issues/3167) +* **basic-crawler:** declare `@apify/datastructures` as a dependency ([#3815](https://github.com/apify/crawlee/issues/3815)) ([4e9d227](https://github.com/apify/crawlee/commit/4e9d227d7711f10662800d4079c4f958368bc063)) +* **core:** avoid re-submitting already-enqueued requests in addRequestsBatched ([#3843](https://github.com/apify/crawlee/issues/3843)) ([704c269](https://github.com/apify/crawlee/commit/704c269806503d36ad2c629a63f3a4944109930c)), closes [#2456](https://github.com/apify/crawlee/issues/2456) [#2456](https://github.com/apify/crawlee/issues/2456) [#2456](https://github.com/apify/crawlee/issues/2456) [#3120](https://github.com/apify/crawlee/issues/3120) +* **core:** cap retries for unprocessed requests in addRequestsBatched ([#3765](https://github.com/apify/crawlee/issues/3765)) ([b3170a6](https://github.com/apify/crawlee/commit/b3170a60c5c0dbb53f4078555df7551cd0b77967)), closes [#3764](https://github.com/apify/crawlee/issues/3764) +* **core:** clear `AutoscaledPool.pause()` polling interval on timeout ([#3847](https://github.com/apify/crawlee/issues/3847)) ([42b8914](https://github.com/apify/crawlee/commit/42b89146a372b639eaaf50fbda9ff16b026b3344)) +* **core:** ignore explicitly undefined baseUrl in enqueueLinks helpers ([#3924](https://github.com/apify/crawlee/issues/3924)) ([a58a9c1](https://github.com/apify/crawlee/commit/a58a9c1417c34c2a45a10f3855c4bee721a480ae)) +* **core:** keep crawler enqueue limits when options carry explicit undefined ([#3927](https://github.com/apify/crawlee/issues/3927)) ([5f1b0ab](https://github.com/apify/crawlee/commit/5f1b0ab480f297100d2db70f646825b92f70f21a)), closes [#3924](https://github.com/apify/crawlee/issues/3924) [#3924](https://github.com/apify/crawlee/issues/3924) +* **core:** keep same-domain filtering after an off-domain redirect ([#3923](https://github.com/apify/crawlee/issues/3923)) ([9b312ef](https://github.com/apify/crawlee/commit/9b312efd14d607437f6a3865eea8bb67ba4cf05c)), closes [#3921](https://github.com/apify/crawlee/issues/3921) +* **core:** remove `RequestList` persist state listener on `teardown` ([#3846](https://github.com/apify/crawlee/issues/3846)) ([63394ee](https://github.com/apify/crawlee/commit/63394ee4bca950db1ee1678d3ea2b95ce45f95c5)) +* **core:** skip malformed cookie fragments in mergeCookies ([#3822](https://github.com/apify/crawlee/issues/3822)) ([b3c3ef2](https://github.com/apify/crawlee/commit/b3c3ef2cab175ec0af4e5777bc6d0979b5e71d40)) +* **core:** unblock backpressured sitemap load on persistState ([#3863](https://github.com/apify/crawlee/issues/3863)) ([0b31a8b](https://github.com/apify/crawlee/commit/0b31a8b57cdeee4cead83db6c48febf48b988f6f)) +* declare missing dependencies ([#3817](https://github.com/apify/crawlee/issues/3817)) ([5a9a661](https://github.com/apify/crawlee/commit/5a9a661401a3aa895738c79a8310d9cc18e28826)) +* filter sitemap-derived URLs by enqueue strategy ([#3797](https://github.com/apify/crawlee/issues/3797)) ([9dc3160](https://github.com/apify/crawlee/commit/9dc3160e6b83c549c29c188b7a88fdc8a612be62)) +* **impit-client:** honor redirect handler for session cookie parity ([#3938](https://github.com/apify/crawlee/issues/3938)) ([9371301](https://github.com/apify/crawlee/commit/9371301b21f733a5b5f5c2a092512ec34f511843)) +* make crawler terminal status message reliably delivered ([#3733](https://github.com/apify/crawlee/issues/3733)) ([7aed264](https://github.com/apify/crawlee/commit/7aed264f1cd9e993ffab93e314e9c7318b30d43d)) +* **memory-storage:** don't increment `handledRequestCount` when updating a handled request ([#3827](https://github.com/apify/crawlee/issues/3827)) ([4739d48](https://github.com/apify/crawlee/commit/4739d4886e3c52f90814b9e5342c4ec2cbaa7587)) +* **memory-storage:** prevent storage names from escaping the storage directory ([#3715](https://github.com/apify/crawlee/issues/3715)) ([a04c297](https://github.com/apify/crawlee/commit/a04c29766e3165534a5789d59a3a7bef5a8f5b5a)) +* **memory-storage:** use platform basename in key-value store warning ([#3864](https://github.com/apify/crawlee/issues/3864)) ([dcefe01](https://github.com/apify/crawlee/commit/dcefe0196d0ba9bd89770e0a9ff5503295dc274b)) +* **playwright,puppeteer:** only intercept requests for non-GET methods or payloads ([#3819](https://github.com/apify/crawlee/issues/3819)) ([1942f1e](https://github.com/apify/crawlee/commit/1942f1ec827cb69953a95abae2086400498b32d8)) +* **playwright:** silence transient errors in `enqueueLinksByClickingElements` ([#3732](https://github.com/apify/crawlee/issues/3732)) ([7b98cc3](https://github.com/apify/crawlee/commit/7b98cc350f8ef7bd56bda309b5aff5664dd6fed5)), closes [#3216](https://github.com/apify/crawlee/issues/3216) +* read properties directly from `GotScrapingHttpClient` response ([#3807](https://github.com/apify/crawlee/issues/3807)) ([c673c8d](https://github.com/apify/crawlee/commit/c673c8d7771a43640e7714e929a95df0404ceed2)) +* respect falsy transformRequestFunction return in context enqueueLinks ([#3925](https://github.com/apify/crawlee/issues/3925)) ([6cb4fc3](https://github.com/apify/crawlee/commit/6cb4fc392f43e7ad42d56114372eb8ad79aeff74)), closes [#3920](https://github.com/apify/crawlee/issues/3920) +* **sitemap:** recognize sitemap_index as a valid input sitemap url ([#3909](https://github.com/apify/crawlee/issues/3909)) ([eacab5e](https://github.com/apify/crawlee/commit/eacab5e155aeb5dca62cd0c03ef3553be65dd32b)) +* **stagehand:** wait for Stagehand to register a page before using it ([#3865](https://github.com/apify/crawlee/issues/3865)) ([238214f](https://github.com/apify/crawlee/commit/238214f9e1586d63837c0b2c7b0a2cfc9a945ae4)) +* update handleCloudflareChallenge for new Cloudflare challenge markup ([#3717](https://github.com/apify/crawlee/issues/3717)) ([5baa8bd](https://github.com/apify/crawlee/commit/5baa8bdd7baba927871ed20859405e14312297b6)), closes [#3629](https://github.com/apify/crawlee/issues/3629) [apify/camoufox-js#283](https://github.com/apify/camoufox-js/issues/283) [#3629](https://github.com/apify/crawlee/issues/3629) +* **utils:** advance the CPU tick baseline in systemInfoV2 getCurrentCpuTicks ([#3824](https://github.com/apify/crawlee/issues/3824)) ([bb23800](https://github.com/apify/crawlee/commit/bb238007e34009371807742ba11ecbb9974887b3)) +* **utils:** allow apostrophes and asterisks in extracted URLs ([#3790](https://github.com/apify/crawlee/issues/3790)) ([e9baffd](https://github.com/apify/crawlee/commit/e9baffd78ec42079d5c9a8a6e62d43a594ae42c8)), closes [#2755](https://github.com/apify/crawlee/issues/2755) +* **utils:** prevent ReDoS in social email regex ([#3845](https://github.com/apify/crawlee/issues/3845)) ([d6a2b39](https://github.com/apify/crawlee/commit/d6a2b39252c0f00290e75a73def057fd39625525)) +* **utils:** prevent sitemap metadata leak across url without loc ([#3795](https://github.com/apify/crawlee/issues/3795)) ([895ed62](https://github.com/apify/crawlee/commit/895ed6264d7eadc5306b92303aeb99bff41cb286)) +* **utils:** use article:* selectors for article Open Graph properties ([#3789](https://github.com/apify/crawlee/issues/3789)) ([b660506](https://github.com/apify/crawlee/commit/b6605065fc4d7b692bcdac3ee2004042e8de7457)) + +### Features + +* **core:** infer default-route handler userData from its schema ([#3919](https://github.com/apify/crawlee/issues/3919)) ([37d0ccb](https://github.com/apify/crawlee/commit/37d0ccbb2199bc05620bf4e359b0769bf6f1e05e)) +* **impit-client:** add `cacheClients` option to disable `Impit` client reuse ([#3771](https://github.com/apify/crawlee/issues/3771)) ([af9cb8c](https://github.com/apify/crawlee/commit/af9cb8c68c8299e39fd2c40c3ff411e35d8a03f3)), closes [#3769](https://github.com/apify/crawlee/issues/3769) [#3769](https://github.com/apify/crawlee/issues/3769) +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* support `puppeteer@25` ([#3869](https://github.com/apify/crawlee/issues/3869)) ([1430062](https://github.com/apify/crawlee/commit/1430062c2ba49c32ecb4cd4a14edd2d9a71c7ac3)), closes [#3772](https://github.com/apify/crawlee/issues/3772) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + +### Performance Improvements + +* **core:** improve `RequestList` initialization speed on large arrays ([#3754](https://github.com/apify/crawlee/issues/3754)) ([c451c13](https://github.com/apify/crawlee/commit/c451c13a9c9b5c884ce70e0d1257e15597fcb10b)), closes [#3750](https://github.com/apify/crawlee/issues/3750) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/lerna.json b/lerna.json index b3dafc27e74d..d18ffc382fe7 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "3.17.0", + "version": "3.18.0", "command": { "version": { "conventionalCommits": true, diff --git a/package.json b/package.json index fa360f842077..868fc1ca0486 100644 --- a/package.json +++ b/package.json @@ -129,7 +129,7 @@ }, "packageManager": "yarn@4.10.3", "volta": { - "node": "24.18.1", + "node": "24.19.0", "yarn": "4.10.3" } } diff --git a/packages/basic-crawler/CHANGELOG.md b/packages/basic-crawler/CHANGELOG.md index b2defe139aeb..04c536cf23b3 100644 --- a/packages/basic-crawler/CHANGELOG.md +++ b/packages/basic-crawler/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* avoid duplicate final crawler persistence ([#3866](https://github.com/apify/crawlee/issues/3866)) ([79dd6c4](https://github.com/apify/crawlee/commit/79dd6c41eff144914ddb7fa6e04a65e9b8b762e0)), closes [#3167](https://github.com/apify/crawlee/issues/3167) +* **basic-crawler:** declare `@apify/datastructures` as a dependency ([#3815](https://github.com/apify/crawlee/issues/3815)) ([4e9d227](https://github.com/apify/crawlee/commit/4e9d227d7711f10662800d4079c4f958368bc063)) +* **core:** keep crawler enqueue limits when options carry explicit undefined ([#3927](https://github.com/apify/crawlee/issues/3927)) ([5f1b0ab](https://github.com/apify/crawlee/commit/5f1b0ab480f297100d2db70f646825b92f70f21a)), closes [#3924](https://github.com/apify/crawlee/issues/3924) [#3924](https://github.com/apify/crawlee/issues/3924) +* make crawler terminal status message reliably delivered ([#3733](https://github.com/apify/crawlee/issues/3733)) ([7aed264](https://github.com/apify/crawlee/commit/7aed264f1cd9e993ffab93e314e9c7318b30d43d)) +* respect falsy transformRequestFunction return in context enqueueLinks ([#3925](https://github.com/apify/crawlee/issues/3925)) ([6cb4fc3](https://github.com/apify/crawlee/commit/6cb4fc392f43e7ad42d56114372eb8ad79aeff74)), closes [#3920](https://github.com/apify/crawlee/issues/3920) + +### Features + +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/basic-crawler/package.json b/packages/basic-crawler/package.json index a995864b4450..cc214a12f024 100644 --- a/packages/basic-crawler/package.json +++ b/packages/basic-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/basic", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -49,9 +49,9 @@ "@apify/log": "^2.4.0", "@apify/timeout": "^0.4.0", "@apify/utilities": "^2.7.10", - "@crawlee/core": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/core": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "csv-stringify": "^6.2.0", "fs-extra": "^11.0.0", "got-scraping": "^4.2.1", diff --git a/packages/browser-crawler/CHANGELOG.md b/packages/browser-crawler/CHANGELOG.md index 2c8fd8151bea..30fac9ad37f4 100644 --- a/packages/browser-crawler/CHANGELOG.md +++ b/packages/browser-crawler/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* **core:** ignore explicitly undefined baseUrl in enqueueLinks helpers ([#3924](https://github.com/apify/crawlee/issues/3924)) ([a58a9c1](https://github.com/apify/crawlee/commit/a58a9c1417c34c2a45a10f3855c4bee721a480ae)) +* **core:** keep crawler enqueue limits when options carry explicit undefined ([#3927](https://github.com/apify/crawlee/issues/3927)) ([5f1b0ab](https://github.com/apify/crawlee/commit/5f1b0ab480f297100d2db70f646825b92f70f21a)), closes [#3924](https://github.com/apify/crawlee/issues/3924) [#3924](https://github.com/apify/crawlee/issues/3924) + +### Features + +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* support `puppeteer@25` ([#3869](https://github.com/apify/crawlee/issues/3869)) ([1430062](https://github.com/apify/crawlee/commit/1430062c2ba49c32ecb4cd4a14edd2d9a71c7ac3)), closes [#3772](https://github.com/apify/crawlee/issues/3772) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/browser-crawler/package.json b/packages/browser-crawler/package.json index cae2f395c847..4a403990756c 100644 --- a/packages/browser-crawler/package.json +++ b/packages/browser-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/browser", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -54,10 +54,10 @@ }, "dependencies": { "@apify/timeout": "^0.4.0", - "@crawlee/basic": "3.17.0", - "@crawlee/browser-pool": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/basic": "3.18.0", + "@crawlee/browser-pool": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "ow": "^0.28.1", "tslib": "^2.4.0", "type-fest": "^4.0.0" diff --git a/packages/browser-pool/CHANGELOG.md b/packages/browser-pool/CHANGELOG.md index 3cfd1cbd6228..b2470ef0a31e 100644 --- a/packages/browser-pool/CHANGELOG.md +++ b/packages/browser-pool/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Features + +* support `puppeteer@25` ([#3869](https://github.com/apify/crawlee/issues/3869)) ([1430062](https://github.com/apify/crawlee/commit/1430062c2ba49c32ecb4cd4a14edd2d9a71c7ac3)), closes [#3772](https://github.com/apify/crawlee/issues/3772) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/browser-pool/package.json b/packages/browser-pool/package.json index 1ae37193e539..fa61d6ebc1e2 100644 --- a/packages/browser-pool/package.json +++ b/packages/browser-pool/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/browser-pool", - "version": "3.17.0", + "version": "3.18.0", "description": "Rotate multiple browsers using popular automation libraries such as Playwright or Puppeteer.", "engines": { "node": ">=16.0.0" @@ -38,8 +38,8 @@ "dependencies": { "@apify/log": "^2.4.0", "@apify/timeout": "^0.4.0", - "@crawlee/core": "3.17.0", - "@crawlee/types": "3.17.0", + "@crawlee/core": "3.18.0", + "@crawlee/types": "3.18.0", "fingerprint-generator": "^2.1.68", "fingerprint-injector": "^2.1.68", "lodash.merge": "^4.6.2", diff --git a/packages/cheerio-crawler/CHANGELOG.md b/packages/cheerio-crawler/CHANGELOG.md index cd19de0ab6ce..0dfe5bce27b4 100644 --- a/packages/cheerio-crawler/CHANGELOG.md +++ b/packages/cheerio-crawler/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* **core:** ignore explicitly undefined baseUrl in enqueueLinks helpers ([#3924](https://github.com/apify/crawlee/issues/3924)) ([a58a9c1](https://github.com/apify/crawlee/commit/a58a9c1417c34c2a45a10f3855c4bee721a480ae)) +* **core:** keep crawler enqueue limits when options carry explicit undefined ([#3927](https://github.com/apify/crawlee/issues/3927)) ([5f1b0ab](https://github.com/apify/crawlee/commit/5f1b0ab480f297100d2db70f646825b92f70f21a)), closes [#3924](https://github.com/apify/crawlee/issues/3924) [#3924](https://github.com/apify/crawlee/issues/3924) + +### Features + +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) **Note:** Version bump only for package @crawlee/cheerio diff --git a/packages/cheerio-crawler/package.json b/packages/cheerio-crawler/package.json index f9e274cbc619..22819fe378be 100644 --- a/packages/cheerio-crawler/package.json +++ b/packages/cheerio-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/cheerio", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -53,9 +53,9 @@ "access": "public" }, "dependencies": { - "@crawlee/http": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/http": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "cheerio": "1.0.0-rc.12", "htmlparser2": "^9.0.0", "tslib": "^2.4.0" diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 843c3601d58e..e60cddde6fb6 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +**Note:** Version bump only for package @crawlee/cli + + + + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) **Note:** Version bump only for package @crawlee/cli diff --git a/packages/cli/package.json b/packages/cli/package.json index 4dd66c216cb4..0111b6938e01 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/cli", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -51,7 +51,7 @@ "access": "public" }, "dependencies": { - "@crawlee/templates": "3.17.0", + "@crawlee/templates": "3.18.0", "ansi-colors": "^4.1.3", "fs-extra": "^11.0.0", "inquirer": "^8.2.4", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index e70f308fb8fd..04692b26e0e0 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,34 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* avoid duplicate final crawler persistence ([#3866](https://github.com/apify/crawlee/issues/3866)) ([79dd6c4](https://github.com/apify/crawlee/commit/79dd6c41eff144914ddb7fa6e04a65e9b8b762e0)), closes [#3167](https://github.com/apify/crawlee/issues/3167) +* **core:** avoid re-submitting already-enqueued requests in addRequestsBatched ([#3843](https://github.com/apify/crawlee/issues/3843)) ([704c269](https://github.com/apify/crawlee/commit/704c269806503d36ad2c629a63f3a4944109930c)), closes [#2456](https://github.com/apify/crawlee/issues/2456) [#2456](https://github.com/apify/crawlee/issues/2456) [#2456](https://github.com/apify/crawlee/issues/2456) [#3120](https://github.com/apify/crawlee/issues/3120) +* **core:** cap retries for unprocessed requests in addRequestsBatched ([#3765](https://github.com/apify/crawlee/issues/3765)) ([b3170a6](https://github.com/apify/crawlee/commit/b3170a60c5c0dbb53f4078555df7551cd0b77967)), closes [#3764](https://github.com/apify/crawlee/issues/3764) +* **core:** clear `AutoscaledPool.pause()` polling interval on timeout ([#3847](https://github.com/apify/crawlee/issues/3847)) ([42b8914](https://github.com/apify/crawlee/commit/42b89146a372b639eaaf50fbda9ff16b026b3344)) +* **core:** keep crawler enqueue limits when options carry explicit undefined ([#3927](https://github.com/apify/crawlee/issues/3927)) ([5f1b0ab](https://github.com/apify/crawlee/commit/5f1b0ab480f297100d2db70f646825b92f70f21a)), closes [#3924](https://github.com/apify/crawlee/issues/3924) [#3924](https://github.com/apify/crawlee/issues/3924) +* **core:** keep same-domain filtering after an off-domain redirect ([#3923](https://github.com/apify/crawlee/issues/3923)) ([9b312ef](https://github.com/apify/crawlee/commit/9b312efd14d607437f6a3865eea8bb67ba4cf05c)), closes [#3921](https://github.com/apify/crawlee/issues/3921) +* **core:** remove `RequestList` persist state listener on `teardown` ([#3846](https://github.com/apify/crawlee/issues/3846)) ([63394ee](https://github.com/apify/crawlee/commit/63394ee4bca950db1ee1678d3ea2b95ce45f95c5)) +* **core:** skip malformed cookie fragments in mergeCookies ([#3822](https://github.com/apify/crawlee/issues/3822)) ([b3c3ef2](https://github.com/apify/crawlee/commit/b3c3ef2cab175ec0af4e5777bc6d0979b5e71d40)) +* **core:** unblock backpressured sitemap load on persistState ([#3863](https://github.com/apify/crawlee/issues/3863)) ([0b31a8b](https://github.com/apify/crawlee/commit/0b31a8b57cdeee4cead83db6c48febf48b988f6f)) +* filter sitemap-derived URLs by enqueue strategy ([#3797](https://github.com/apify/crawlee/issues/3797)) ([9dc3160](https://github.com/apify/crawlee/commit/9dc3160e6b83c549c29c188b7a88fdc8a612be62)) +* read properties directly from `GotScrapingHttpClient` response ([#3807](https://github.com/apify/crawlee/issues/3807)) ([c673c8d](https://github.com/apify/crawlee/commit/c673c8d7771a43640e7714e929a95df0404ceed2)) +* respect falsy transformRequestFunction return in context enqueueLinks ([#3925](https://github.com/apify/crawlee/issues/3925)) ([6cb4fc3](https://github.com/apify/crawlee/commit/6cb4fc392f43e7ad42d56114372eb8ad79aeff74)), closes [#3920](https://github.com/apify/crawlee/issues/3920) + +### Features + +* **core:** infer default-route handler userData from its schema ([#3919](https://github.com/apify/crawlee/issues/3919)) ([37d0ccb](https://github.com/apify/crawlee/commit/37d0ccbb2199bc05620bf4e359b0769bf6f1e05e)) +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + +### Performance Improvements + +* **core:** improve `RequestList` initialization speed on large arrays ([#3754](https://github.com/apify/crawlee/issues/3754)) ([c451c13](https://github.com/apify/crawlee/commit/c451c13a9c9b5c884ce70e0d1257e15597fcb10b)), closes [#3750](https://github.com/apify/crawlee/issues/3750) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/core/package.json b/packages/core/package.json index ee2da4d01aab..6cd050bf537f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/core", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -59,9 +59,9 @@ "@apify/pseudo_url": "^2.0.30", "@apify/timeout": "^0.4.0", "@apify/utilities": "^2.7.10", - "@crawlee/memory-storage": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/memory-storage": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "@sapphire/async-queue": "^1.5.1", "@standard-schema/spec": "^1.0.0", "@vladfrangu/async_event_emitter": "^2.2.2", diff --git a/packages/crawlee/CHANGELOG.md b/packages/crawlee/CHANGELOG.md index b0b99dbeb164..1d83e3658575 100644 --- a/packages/crawlee/CHANGELOG.md +++ b/packages/crawlee/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* declare missing dependencies ([#3817](https://github.com/apify/crawlee/issues/3817)) ([5a9a661](https://github.com/apify/crawlee/commit/5a9a661401a3aa895738c79a8310d9cc18e28826)) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) **Note:** Version bump only for package crawlee diff --git a/packages/crawlee/package.json b/packages/crawlee/package.json index e480736f5abf..d9c7b865f379 100644 --- a/packages/crawlee/package.json +++ b/packages/crawlee/package.json @@ -1,6 +1,6 @@ { "name": "crawlee", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -54,19 +54,19 @@ "access": "public" }, "dependencies": { - "@crawlee/basic": "3.17.0", - "@crawlee/browser": "3.17.0", - "@crawlee/browser-pool": "3.17.0", - "@crawlee/cheerio": "3.17.0", - "@crawlee/cli": "3.17.0", - "@crawlee/core": "3.17.0", - "@crawlee/http": "3.17.0", - "@crawlee/jsdom": "3.17.0", - "@crawlee/linkedom": "3.17.0", - "@crawlee/memory-storage": "3.17.0", - "@crawlee/playwright": "3.17.0", - "@crawlee/puppeteer": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/basic": "3.18.0", + "@crawlee/browser": "3.18.0", + "@crawlee/browser-pool": "3.18.0", + "@crawlee/cheerio": "3.18.0", + "@crawlee/cli": "3.18.0", + "@crawlee/core": "3.18.0", + "@crawlee/http": "3.18.0", + "@crawlee/jsdom": "3.18.0", + "@crawlee/linkedom": "3.18.0", + "@crawlee/memory-storage": "3.18.0", + "@crawlee/playwright": "3.18.0", + "@crawlee/puppeteer": "3.18.0", + "@crawlee/utils": "3.18.0", "import-local": "^3.1.0", "tslib": "^2.4.0" }, diff --git a/packages/http-crawler/CHANGELOG.md b/packages/http-crawler/CHANGELOG.md index 08e455e09c7b..8bf87fda67dd 100644 --- a/packages/http-crawler/CHANGELOG.md +++ b/packages/http-crawler/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* declare missing dependencies ([#3817](https://github.com/apify/crawlee/issues/3817)) ([5a9a661](https://github.com/apify/crawlee/commit/5a9a661401a3aa895738c79a8310d9cc18e28826)) + +### Features + +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/http-crawler/package.json b/packages/http-crawler/package.json index e7455991c193..d0764a042427 100644 --- a/packages/http-crawler/package.json +++ b/packages/http-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/http", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -55,10 +55,10 @@ "dependencies": { "@apify/timeout": "^0.4.0", "@apify/utilities": "^2.7.10", - "@crawlee/basic": "3.17.0", - "@crawlee/core": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/basic": "3.18.0", + "@crawlee/core": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "@types/content-type": "^1.1.5", "cheerio": "1.0.0-rc.12", "content-type": "^1.0.4", diff --git a/packages/impit-client/CHANGELOG.md b/packages/impit-client/CHANGELOG.md index 25e688f8dbed..e8c030575880 100644 --- a/packages/impit-client/CHANGELOG.md +++ b/packages/impit-client/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* **impit-client:** honor redirect handler for session cookie parity ([#3938](https://github.com/apify/crawlee/issues/3938)) ([9371301](https://github.com/apify/crawlee/commit/9371301b21f733a5b5f5c2a092512ec34f511843)) + +### Features + +* **impit-client:** add `cacheClients` option to disable `Impit` client reuse ([#3771](https://github.com/apify/crawlee/issues/3771)) ([af9cb8c](https://github.com/apify/crawlee/commit/af9cb8c68c8299e39fd2c40c3ff411e35d8a03f3)), closes [#3769](https://github.com/apify/crawlee/issues/3769) [#3769](https://github.com/apify/crawlee/issues/3769) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) **Note:** Version bump only for package @crawlee/impit-client diff --git a/packages/impit-client/package.json b/packages/impit-client/package.json index d23cbd897724..0730943dc520 100644 --- a/packages/impit-client/package.json +++ b/packages/impit-client/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/impit-client", - "version": "3.17.0", + "version": "3.18.0", "description": "impit-based HTTP client implementation for Crawlee. Impersonates browser requests to avoid bot detection.", "engines": { "node": ">=20.0.0" @@ -56,7 +56,7 @@ "@crawlee/core": "^3.12.1" }, "devDependencies": { - "@crawlee/core": "^3.17.0" + "@crawlee/core": "^3.18.0" }, "dependencies": { "@apify/datastructures": "^2.0.3", diff --git a/packages/jsdom-crawler/CHANGELOG.md b/packages/jsdom-crawler/CHANGELOG.md index 7f77ca3641b8..0bd99245a106 100644 --- a/packages/jsdom-crawler/CHANGELOG.md +++ b/packages/jsdom-crawler/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* **core:** ignore explicitly undefined baseUrl in enqueueLinks helpers ([#3924](https://github.com/apify/crawlee/issues/3924)) ([a58a9c1](https://github.com/apify/crawlee/commit/a58a9c1417c34c2a45a10f3855c4bee721a480ae)) + +### Features + +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) **Note:** Version bump only for package @crawlee/jsdom diff --git a/packages/jsdom-crawler/package.json b/packages/jsdom-crawler/package.json index 7e3becb901a9..1ae95c37be5c 100644 --- a/packages/jsdom-crawler/package.json +++ b/packages/jsdom-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/jsdom", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -55,9 +55,9 @@ "dependencies": { "@apify/timeout": "^0.4.0", "@apify/utilities": "^2.7.10", - "@crawlee/http": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/http": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "@types/jsdom": "^21.0.0", "cheerio": "1.0.0-rc.12", "jsdom": "^26.0.0", diff --git a/packages/linkedom-crawler/CHANGELOG.md b/packages/linkedom-crawler/CHANGELOG.md index 14a3c64aa119..51e13d69b80b 100644 --- a/packages/linkedom-crawler/CHANGELOG.md +++ b/packages/linkedom-crawler/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* **core:** ignore explicitly undefined baseUrl in enqueueLinks helpers ([#3924](https://github.com/apify/crawlee/issues/3924)) ([a58a9c1](https://github.com/apify/crawlee/commit/a58a9c1417c34c2a45a10f3855c4bee721a480ae)) +* declare missing dependencies ([#3817](https://github.com/apify/crawlee/issues/3817)) ([5a9a661](https://github.com/apify/crawlee/commit/5a9a661401a3aa895738c79a8310d9cc18e28826)) + +### Features + +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) **Note:** Version bump only for package @crawlee/linkedom diff --git a/packages/linkedom-crawler/package.json b/packages/linkedom-crawler/package.json index 68f15f67be5b..acdb35d60924 100644 --- a/packages/linkedom-crawler/package.json +++ b/packages/linkedom-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/linkedom", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -55,9 +55,9 @@ "dependencies": { "@apify/timeout": "^0.4.0", "@apify/utilities": "^2.7.10", - "@crawlee/http": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/http": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "cheerio": "1.0.0-rc.12", "linkedom": "^0.18.0", "ow": "^0.28.2", diff --git a/packages/memory-storage/CHANGELOG.md b/packages/memory-storage/CHANGELOG.md index 09055adf4f43..dbf9736d90c5 100644 --- a/packages/memory-storage/CHANGELOG.md +++ b/packages/memory-storage/CHANGELOG.md @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* **memory-storage:** don't increment `handledRequestCount` when updating a handled request ([#3827](https://github.com/apify/crawlee/issues/3827)) ([4739d48](https://github.com/apify/crawlee/commit/4739d4886e3c52f90814b9e5342c4ec2cbaa7587)) +* **memory-storage:** prevent storage names from escaping the storage directory ([#3715](https://github.com/apify/crawlee/issues/3715)) ([a04c297](https://github.com/apify/crawlee/commit/a04c29766e3165534a5789d59a3a7bef5a8f5b5a)) +* **memory-storage:** use platform basename in key-value store warning ([#3864](https://github.com/apify/crawlee/issues/3864)) ([dcefe01](https://github.com/apify/crawlee/commit/dcefe0196d0ba9bd89770e0a9ff5503295dc274b)) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/memory-storage/package.json b/packages/memory-storage/package.json index 50a6560e4a9a..d9fb7e11e05d 100644 --- a/packages/memory-storage/package.json +++ b/packages/memory-storage/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/memory-storage", - "version": "3.17.0", + "version": "3.18.0", "description": "A simple in-memory storage implementation of the Apify API", "engines": { "node": ">= 16" @@ -49,7 +49,7 @@ }, "dependencies": { "@apify/log": "^2.4.0", - "@crawlee/types": "3.17.0", + "@crawlee/types": "3.18.0", "@sapphire/async-queue": "^1.5.0", "@sapphire/shapeshift": "^3.0.0", "content-type": "^1.0.4", diff --git a/packages/playwright-crawler/CHANGELOG.md b/packages/playwright-crawler/CHANGELOG.md index 3b531401f8f4..89aade415bc6 100644 --- a/packages/playwright-crawler/CHANGELOG.md +++ b/packages/playwright-crawler/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* allow any `clickOptions` in `enqueueLinksByClickingElements` ([#3823](https://github.com/apify/crawlee/issues/3823)) ([abcbfb1](https://github.com/apify/crawlee/commit/abcbfb158ab3edbb9e7e4c5c6f1d937dea9bb4dd)) +* declare missing dependencies ([#3817](https://github.com/apify/crawlee/issues/3817)) ([5a9a661](https://github.com/apify/crawlee/commit/5a9a661401a3aa895738c79a8310d9cc18e28826)) +* **playwright,puppeteer:** only intercept requests for non-GET methods or payloads ([#3819](https://github.com/apify/crawlee/issues/3819)) ([1942f1e](https://github.com/apify/crawlee/commit/1942f1ec827cb69953a95abae2086400498b32d8)) +* **playwright:** silence transient errors in `enqueueLinksByClickingElements` ([#3732](https://github.com/apify/crawlee/issues/3732)) ([7b98cc3](https://github.com/apify/crawlee/commit/7b98cc350f8ef7bd56bda309b5aff5664dd6fed5)), closes [#3216](https://github.com/apify/crawlee/issues/3216) +* update handleCloudflareChallenge for new Cloudflare challenge markup ([#3717](https://github.com/apify/crawlee/issues/3717)) ([5baa8bd](https://github.com/apify/crawlee/commit/5baa8bdd7baba927871ed20859405e14312297b6)), closes [#3629](https://github.com/apify/crawlee/issues/3629) [apify/camoufox-js#283](https://github.com/apify/camoufox-js/issues/283) [#3629](https://github.com/apify/crawlee/issues/3629) + +### Features + +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/playwright-crawler/package.json b/packages/playwright-crawler/package.json index fdadb78d0cf5..0f5e5246e04b 100644 --- a/packages/playwright-crawler/package.json +++ b/packages/playwright-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/playwright", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -56,11 +56,11 @@ "@apify/datastructures": "^2.0.0", "@apify/log": "^2.4.0", "@apify/timeout": "^0.4.0", - "@crawlee/browser": "3.17.0", - "@crawlee/browser-pool": "3.17.0", - "@crawlee/core": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/browser": "3.18.0", + "@crawlee/browser-pool": "3.18.0", + "@crawlee/core": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "cheerio": "1.0.0-rc.12", "jquery": "^3.6.0", "lodash.isequal": "^4.5.0", diff --git a/packages/puppeteer-crawler/CHANGELOG.md b/packages/puppeteer-crawler/CHANGELOG.md index 47ca8dfbdb30..8e5f41b8f922 100644 --- a/packages/puppeteer-crawler/CHANGELOG.md +++ b/packages/puppeteer-crawler/CHANGELOG.md @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* allow any `clickOptions` in `enqueueLinksByClickingElements` ([#3823](https://github.com/apify/crawlee/issues/3823)) ([abcbfb1](https://github.com/apify/crawlee/commit/abcbfb158ab3edbb9e7e4c5c6f1d937dea9bb4dd)) +* **playwright,puppeteer:** only intercept requests for non-GET methods or payloads ([#3819](https://github.com/apify/crawlee/issues/3819)) ([1942f1e](https://github.com/apify/crawlee/commit/1942f1ec827cb69953a95abae2086400498b32d8)) + +### Features + +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* support `puppeteer@25` ([#3869](https://github.com/apify/crawlee/issues/3869)) ([1430062](https://github.com/apify/crawlee/commit/1430062c2ba49c32ecb4cd4a14edd2d9a71c7ac3)), closes [#3772](https://github.com/apify/crawlee/issues/3772) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) **Note:** Version bump only for package @crawlee/puppeteer diff --git a/packages/puppeteer-crawler/package.json b/packages/puppeteer-crawler/package.json index 3d536dc9fe8f..8e86b74c7ef7 100644 --- a/packages/puppeteer-crawler/package.json +++ b/packages/puppeteer-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/puppeteer", - "version": "3.17.0", + "version": "3.18.0", "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.", "engines": { "node": ">=16.0.0" @@ -55,10 +55,10 @@ "dependencies": { "@apify/datastructures": "^2.0.0", "@apify/log": "^2.4.0", - "@crawlee/browser": "3.17.0", - "@crawlee/browser-pool": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/browser": "3.18.0", + "@crawlee/browser-pool": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "cheerio": "1.0.0-rc.12", "devtools-protocol": "*", "idcac-playwright": "^0.2.0", diff --git a/packages/stagehand-crawler/CHANGELOG.md b/packages/stagehand-crawler/CHANGELOG.md index 9b7ebe12b317..3ac9bf58dac9 100644 --- a/packages/stagehand-crawler/CHANGELOG.md +++ b/packages/stagehand-crawler/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* **stagehand:** wait for Stagehand to register a page before using it ([#3865](https://github.com/apify/crawlee/issues/3865)) ([238214f](https://github.com/apify/crawlee/commit/238214f9e1586d63837c0b2c7b0a2cfc9a945ae4)) + +### Features + +* opt-in schema validation of request userData per router label ([#3851](https://github.com/apify/crawlee/issues/3851)) ([c7347f9](https://github.com/apify/crawlee/commit/c7347f94f72980b7c424fb4fc7dc8f990f360d70)), closes [#3747](https://github.com/apify/crawlee/issues/3747) [#3748](https://github.com/apify/crawlee/issues/3748) [#3747](https://github.com/apify/crawlee/issues/3747) [#3082](https://github.com/apify/crawlee/issues/3082) +* type-safe router labels via per-label userData map ([#3747](https://github.com/apify/crawlee/issues/3747)) ([1124aca](https://github.com/apify/crawlee/commit/1124aca3c5eb527c097decd7263a6816c411369e)), closes [#3082](https://github.com/apify/crawlee/issues/3082) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/stagehand-crawler/package.json b/packages/stagehand-crawler/package.json index 3a4ab2dd8a13..94071b25dfb1 100644 --- a/packages/stagehand-crawler/package.json +++ b/packages/stagehand-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/stagehand", - "version": "3.17.0", + "version": "3.18.0", "description": "AI-powered web crawling with Stagehand integration for Crawlee - enables natural language browser automation with act(), extract(), and observe() methods.", "engines": { "node": ">=16.0.0" @@ -58,11 +58,11 @@ "dependencies": { "@apify/log": "^2.4.0", "@apify/timeout": "^0.4.0", - "@crawlee/browser": "3.17.0", - "@crawlee/browser-pool": "3.17.0", - "@crawlee/core": "3.17.0", - "@crawlee/types": "3.17.0", - "@crawlee/utils": "3.17.0", + "@crawlee/browser": "3.18.0", + "@crawlee/browser-pool": "3.18.0", + "@crawlee/core": "3.18.0", + "@crawlee/types": "3.18.0", + "@crawlee/utils": "3.18.0", "ow": "^0.28.1", "tslib": "^2.4.0" }, diff --git a/packages/templates/CHANGELOG.md b/packages/templates/CHANGELOG.md index bb67c1dd5d3b..0ce03dbd6138 100644 --- a/packages/templates/CHANGELOG.md +++ b/packages/templates/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +**Note:** Version bump only for package @crawlee/templates + + + + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/templates/package.json b/packages/templates/package.json index 4635fae35bc9..996b00086ab0 100644 --- a/packages/templates/package.json +++ b/packages/templates/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/templates", - "version": "3.17.0", + "version": "3.18.0", "description": "Templates for the crawlee projects", "engines": { "node": ">=16.0.0" diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 7bd36c626256..083450de9b41 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +**Note:** Version bump only for package @crawlee/types + + + + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) **Note:** Version bump only for package @crawlee/types diff --git a/packages/types/package.json b/packages/types/package.json index d3e64ddfcda1..e57ebb527075 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/types", - "version": "3.17.0", + "version": "3.18.0", "description": "Shared types for the crawlee projects", "engines": { "node": ">=16.0.0" diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 34dc465c5614..53295eb3f1f2 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -3,6 +3,19 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.18.0](https://github.com/apify/crawlee/compare/v3.17.0...v3.18.0) (2026-08-04) + +### Bug Fixes + +* filter sitemap-derived URLs by enqueue strategy ([#3797](https://github.com/apify/crawlee/issues/3797)) ([9dc3160](https://github.com/apify/crawlee/commit/9dc3160e6b83c549c29c188b7a88fdc8a612be62)) +* **sitemap:** recognize sitemap_index as a valid input sitemap url ([#3909](https://github.com/apify/crawlee/issues/3909)) ([eacab5e](https://github.com/apify/crawlee/commit/eacab5e155aeb5dca62cd0c03ef3553be65dd32b)) +* **utils:** advance the CPU tick baseline in systemInfoV2 getCurrentCpuTicks ([#3824](https://github.com/apify/crawlee/issues/3824)) ([bb23800](https://github.com/apify/crawlee/commit/bb238007e34009371807742ba11ecbb9974887b3)) +* **utils:** allow apostrophes and asterisks in extracted URLs ([#3790](https://github.com/apify/crawlee/issues/3790)) ([e9baffd](https://github.com/apify/crawlee/commit/e9baffd78ec42079d5c9a8a6e62d43a594ae42c8)), closes [#2755](https://github.com/apify/crawlee/issues/2755) +* **utils:** prevent ReDoS in social email regex ([#3845](https://github.com/apify/crawlee/issues/3845)) ([d6a2b39](https://github.com/apify/crawlee/commit/d6a2b39252c0f00290e75a73def057fd39625525)) +* **utils:** prevent sitemap metadata leak across url without loc ([#3795](https://github.com/apify/crawlee/issues/3795)) ([895ed62](https://github.com/apify/crawlee/commit/895ed6264d7eadc5306b92303aeb99bff41cb286)) +* **utils:** use article:* selectors for article Open Graph properties ([#3789](https://github.com/apify/crawlee/issues/3789)) ([b660506](https://github.com/apify/crawlee/commit/b6605065fc4d7b692bcdac3ee2004042e8de7457)) + + # [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) diff --git a/packages/utils/package.json b/packages/utils/package.json index 78b54f36a499..7790f8cf9b48 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/utils", - "version": "3.17.0", + "version": "3.18.0", "description": "A set of shared utilities that can be used by crawlers", "engines": { "node": ">=16.0.0" @@ -49,7 +49,7 @@ "dependencies": { "@apify/log": "^2.4.0", "@apify/ps-tree": "^1.2.0", - "@crawlee/types": "3.17.0", + "@crawlee/types": "3.18.0", "@types/sax": "^1.2.7", "cheerio": "1.0.0-rc.12", "file-type": "^21.3.1", diff --git a/website/versioned_docs/version-3.18/api-packages.json b/website/versioned_docs/version-3.18/api-packages.json new file mode 100644 index 000000000000..303cbdf8eab0 --- /dev/null +++ b/website/versioned_docs/version-3.18/api-packages.json @@ -0,0 +1 @@ +[{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/core","packagePath":"packages/core","packageSlug":"core","packageName":"@crawlee/core","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/browser-pool","packagePath":"packages/browser-pool","packageSlug":"browser-pool","packageName":"@crawlee/browser-pool","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/basic-crawler","packagePath":"packages/basic-crawler","packageSlug":"basic-crawler","packageName":"@crawlee/basic","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/browser-crawler","packagePath":"packages/browser-crawler","packageSlug":"browser-crawler","packageName":"@crawlee/browser","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/http-crawler","packagePath":"packages/http-crawler","packageSlug":"http-crawler","packageName":"@crawlee/http","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/cheerio-crawler","packagePath":"packages/cheerio-crawler","packageSlug":"cheerio-crawler","packageName":"@crawlee/cheerio","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/puppeteer-crawler","packagePath":"packages/puppeteer-crawler","packageSlug":"puppeteer-crawler","packageName":"@crawlee/puppeteer","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/playwright-crawler","packagePath":"packages/playwright-crawler","packageSlug":"playwright-crawler","packageName":"@crawlee/playwright","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/jsdom-crawler","packagePath":"packages/jsdom-crawler","packageSlug":"jsdom-crawler","packageName":"@crawlee/jsdom","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/linkedom-crawler","packagePath":"packages/linkedom-crawler","packageSlug":"linkedom-crawler","packageName":"@crawlee/linkedom","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/stagehand-crawler","packagePath":"packages/stagehand-crawler","packageSlug":"stagehand-crawler","packageName":"@crawlee/stagehand","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/memory-storage","packagePath":"packages/memory-storage","packageSlug":"memory-storage","packageName":"@crawlee/memory-storage","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/utils","packagePath":"packages/utils","packageSlug":"utils","packageName":"@crawlee/utils","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/types","packagePath":"packages/types","packageSlug":"types","packageName":"@crawlee/types","packageVersion":"3.18.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/impit-client","packagePath":"packages/impit-client","packageSlug":"impit-client","packageName":"@crawlee/impit-client","packageVersion":"3.18.0"}] \ No newline at end of file diff --git a/website/versioned_docs/version-3.18/api-typedoc.json b/website/versioned_docs/version-3.18/api-typedoc.json new file mode 100644 index 000000000000..e7fdd2141567 --- /dev/null +++ b/website/versioned_docs/version-3.18/api-typedoc.json @@ -0,0 +1,536511 @@ +{ + "id": 0, + "name": "@crawlee/root", + "variant": "project", + "kind": 1, + "flags": {}, + "children": [ + { + "id": 11, + "name": "@crawlee/stagehand", + "variant": "declaration", + "kind": 2, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "AI-powered web crawling with Stagehand integration for Crawlee.\n\nThis package provides " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "StagehandCrawler" + }, + { + "kind": "text", + "text": ", which extends " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BrowserCrawler" + }, + { + "kind": "text", + "text": "\nwith natural language browser automation capabilities powered by Browserbase's Stagehand library.\n\n## Key Features\n\n- **Natural Language Actions**: Use " + }, + { + "kind": "code", + "text": "`page.act()`" + }, + { + "kind": "text", + "text": " to perform actions with plain English instructions\n- **Structured Data Extraction**: Use " + }, + { + "kind": "code", + "text": "`page.extract()`" + }, + { + "kind": "text", + "text": " with Zod schemas for type-safe data extraction\n- **Action Discovery**: Use " + }, + { + "kind": "code", + "text": "`page.observe()`" + }, + { + "kind": "text", + "text": " to get AI-suggested actions\n- **Autonomous Agents**: Use " + }, + { + "kind": "code", + "text": "`page.agent()`" + }, + { + "kind": "text", + "text": " for complex multi-step workflows\n- **Anti-Blocking**: Automatic browser fingerprinting and Cloudflare bypass\n- **Browserbase Integration**: Optional cloud browser support" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nimport { StagehandCrawler } from '@crawlee/stagehand';\nimport { z } from 'zod';\n\nconst crawler = new StagehandCrawler({\n stagehandOptions: {\n env: 'LOCAL',\n model: 'openai/gpt-4.1-mini',\n },\n async requestHandler({ page, request, log }) {\n log.info(`Processing ${request.url}`);\n\n // Use natural language to interact\n await page.act('Click the Products link');\n\n // Extract structured data\n const products = await page.extract(\n 'Get all products',\n z.object({\n items: z.array(z.object({\n name: z.string(),\n price: z.number(),\n })),\n })\n );\n\n await Dataset.pushData(products);\n },\n});\n\nawait crawler.run(['https://example.com']);\n```" + } + ] + } + ] + }, + "children": [ + { + "id": 19725, + "name": "AddRequestsBatchedOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 1049, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_provider.ts#L1049", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3769 + }, + { + "id": 19726, + "name": "AddRequestsBatchedResult", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 1079, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_provider.ts#L1079", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3776 + }, + { + "id": 19558, + "name": "AutoscaledPool", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/autoscaled_pool.ts", + "line": 181, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/autoscaled_pool.ts#L181", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 308 + }, + { + "id": 19557, + "name": "AutoscaledPoolOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/autoscaled_pool.ts", + "line": 17, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/autoscaled_pool.ts#L17", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 284 + }, + { + "id": 19642, + "name": "BaseHttpClient", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/base-http-client.ts", + "line": 179, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/base-http-client.ts#L179", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1663 + }, + { + "id": 19638, + "name": "BaseHttpResponseData", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/base-http-client.ts", + "line": 130, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/base-http-client.ts#L130", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1619 + }, + { + "id": 19768, + "name": "BASIC_CRAWLER_TIMEOUT_BUFFER_SECS", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/constants.ts", + "line": 6, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/constants.ts#L6", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8991 + }, + { + "id": 19763, + "name": "BasicCrawler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 494, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L494", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8682 + }, + { + "id": 19761, + "name": "BasicCrawlerOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 136, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L136", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8645 + }, + { + "id": 19756, + "name": "BasicCrawlingContext", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 74, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L74", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8562 + }, + { + "id": 19684, + "name": "BLOCKED_STATUS_CODES", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/session_pool/consts.ts", + "line": 1, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/session_pool/consts.ts#L1", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2935 + }, + { + "id": 19776, + "name": "BrowserCrawler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 316, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L316", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 9334 + }, + { + "id": 19775, + "name": "BrowserCrawlerOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 77, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L77", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 9285 + }, + { + "id": 19771, + "name": "BrowserCrawlingContext", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 54, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L54", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 9231 + }, + { + "id": 19773, + "name": "BrowserErrorHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 69, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L69", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 9276 + }, + { + "id": 19774, + "name": "BrowserHook", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 72, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L72", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 9278 + }, + { + "id": 19777, + "name": "BrowserLaunchContext", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-launcher.ts", + "line": 14, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-launcher.ts#L14", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 9657 + }, + { + "id": 19772, + "name": "BrowserRequestHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 66, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L66", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 9274 + }, + { + "id": 19739, + "name": "checkStorageAccess", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/access_checking.ts", + "line": 10, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/access_checking.ts#L10", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3880 + }, + { + "id": 19542, + "name": "Cheerio", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/index.ts", + "line": 4, + "character": 34, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/index.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 7746 + }, + { + "id": 19541, + "name": "CheerioAPI", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/index.ts", + "line": 4, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/index.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 7692 + }, + { + "id": 19540, + "name": "CheerioRoot", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/index.ts", + "line": 4, + "character": 9, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/index.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 7691 + }, + { + "id": 19582, + "name": "ClientInfo", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/system_status.ts", + "line": 95, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/system_status.ts#L95", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 732 + }, + { + "id": 19561, + "name": "ClientLoadSignalOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/client_load_signal.ts", + "line": 12, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/client_load_signal.ts#L12", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 425 + }, + { + "id": 19560, + "name": "ClientSnapshot", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/client_load_signal.ts", + "line": 8, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/client_load_signal.ts#L8", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 421 + }, + { + "id": 19586, + "name": "Configuration", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/configuration.ts", + "line": 247, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/configuration.ts#L247", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 806 + }, + { + "id": 19585, + "name": "ConfigurationOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/configuration.ts", + "line": 16, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/configuration.ts#L16", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 762 + }, + { + "id": 19549, + "name": "Cookie", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/index.ts", + "line": 19, + "character": 60, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/index.ts#L19", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 124 + }, + { + "id": 19565, + "name": "CpuLoadSignalOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/cpu_load_signal.ts", + "line": 12, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/cpu_load_signal.ts#L12", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 452 + }, + { + "id": 19564, + "name": "CpuSnapshot", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/cpu_load_signal.ts", + "line": 7, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/cpu_load_signal.ts#L7", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 444 + }, + { + "id": 19765, + "name": "CrawlerAddRequestsOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2177, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L2177", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8972 + }, + { + "id": 19766, + "name": "CrawlerAddRequestsResult", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2179, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L2179", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8979 + }, + { + "id": 19762, + "name": "CrawlerExperiments", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 420, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L420", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8680 + }, + { + "id": 19767, + "name": "CrawlerRunOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2181, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L2181", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8983 + }, + { + "id": 19592, + "name": "CrawlingContext", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 112, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L112", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 951 + }, + { + "id": 19755, + "name": "createBasicRouter", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2223, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L2223", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2227, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L2227", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2231, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L2231", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8553 + }, + { + "id": 19559, + "name": "createClientLoadSignal", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/client_load_signal.ts", + "line": 24, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/client_load_signal.ts#L24", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 407 + }, + { + "id": 19764, + "name": "CreateContextOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2171, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L2171", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8968 + }, + { + "id": 19563, + "name": "createCpuLoadSignal", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/cpu_load_signal.ts", + "line": 22, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/cpu_load_signal.ts#L22", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 432 + }, + { + "id": 19567, + "name": "createEventLoopLoadSignal", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/event_loop_load_signal.ts", + "line": 19, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/event_loop_load_signal.ts#L19", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 457 + }, + { + "id": 19681, + "name": "CreateSession", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/session_pool/session_pool.ts", + "line": 22, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/session_pool/session_pool.ts#L22", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2706 + }, + { + "id": 19552, + "name": "CriticalError", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/errors.ts", + "line": 10, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/errors.ts#L10", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 165 + }, + { + "id": 19697, + "name": "Dataset", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 232, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L232", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3197 + }, + { + "id": 19698, + "name": "DatasetConsumer", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 775, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L775", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3287 + }, + { + "id": 19702, + "name": "DatasetContent", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 814, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L814", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3310 + }, + { + "id": 19693, + "name": "DatasetDataOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 92, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L92", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3160 + }, + { + "id": 19694, + "name": "DatasetExportOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 144, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L144", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3169 + }, + { + "id": 19696, + "name": "DatasetExportToOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 176, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L176", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3187 + }, + { + "id": 19695, + "name": "DatasetIteratorOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 152, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L152", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3177 + }, + { + "id": 19699, + "name": "DatasetMapper", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 786, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L786", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3292 + }, + { + "id": 19701, + "name": "DatasetOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 807, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L807", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3305 + }, + { + "id": 19700, + "name": "DatasetReducer", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/dataset.ts", + "line": 798, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/dataset.ts#L798", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3298 + }, + { + "id": 19663, + "name": "defaultRoute", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 14, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L14", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2423 + }, + { + "id": 19667, + "name": "DefaultRouteUserData", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 53, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L53", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2439 + }, + { + "id": 19543, + "name": "Element", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/index.ts", + "line": 4, + "character": 43, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/index.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8283 + }, + { + "id": 19606, + "name": "enqueueLinks", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/enqueue_links.ts", + "line": 235, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/enqueue_links.ts#L235", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1276 + }, + { + "id": 19609, + "name": "EnqueueLinksOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/enqueue_links.ts", + "line": 36, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/enqueue_links.ts#L36", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1317 + }, + { + "id": 19608, + "name": "EnqueueStrategy", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/enqueue_links.ts", + "line": 34, + "character": 9, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/enqueue_links.ts#L34", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1312 + }, + { + "id": 19601, + "name": "ErrnoException", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/error_tracker.ts", + "line": 9, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/error_tracker.ts#L9", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1202 + }, + { + "id": 19758, + "name": "ErrorHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 117, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L117", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8626 + }, + { + "id": 19605, + "name": "ErrorSnapshotter", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/error_snapshotter.ts", + "line": 42, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/error_snapshotter.ts#L42", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1252 + }, + { + "id": 19603, + "name": "ErrorTracker", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/error_tracker.ts", + "line": 286, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/error_tracker.ts#L286", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1219 + }, + { + "id": 19602, + "name": "ErrorTrackerOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/error_tracker.ts", + "line": 17, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/error_tracker.ts#L17", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1211 + }, + { + "id": 19571, + "name": "evaluateLoadSignalSample", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/load_signal.ts", + "line": 188, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/load_signal.ts#L188", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 481 + }, + { + "id": 19569, + "name": "EventLoopLoadSignalOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/event_loop_load_signal.ts", + "line": 8, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/event_loop_load_signal.ts#L8", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 475 + }, + { + "id": 19568, + "name": "EventLoopSnapshot", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/event_loop_load_signal.ts", + "line": 4, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/event_loop_load_signal.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 471 + }, + { + "id": 19632, + "name": "EventManager", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/events/event_manager.ts", + "line": 24, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/events/event_manager.ts#L24", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1421 + }, + { + "id": 19630, + "name": "EventType", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/events/event_manager.ts", + "line": 9, + "character": 18, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/events/event_manager.ts#L9", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1414 + }, + { + "id": 19631, + "name": "EventTypeName", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/events/event_manager.ts", + "line": 17, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/events/event_manager.ts#L17", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1420 + }, + { + "id": 19617, + "name": "filterRequestsByPatterns", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 214, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L214", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1371 + }, + { + "id": 19583, + "name": "FinalStatistics", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/system_status.ts", + "line": 101, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/system_status.ts#L101", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 736 + }, + { + "id": 19670, + "name": "GetUserDataFromRequest", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 117, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L117", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2488 + }, + { + "id": 19624, + "name": "GlobInput", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 41, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L41", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1398 + }, + { + "id": 19623, + "name": "GlobObject", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 36, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L36", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1395 + }, + { + "id": 19643, + "name": "GotScrapingHttpClient", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/got-scraping-http-client.ts", + "line": 17, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/got-scraping-http-client.ts#L17", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1672 + }, + { + "id": 19636, + "name": "HttpRequest", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/base-http-client.ts", + "line": 78, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/base-http-client.ts#L78", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1556 + }, + { + "id": 19637, + "name": "HttpRequestOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/base-http-client.ts", + "line": 111, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/base-http-client.ts#L111", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1586 + }, + { + "id": 19639, + "name": "HttpResponse", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/base-http-client.ts", + "line": 152, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/base-http-client.ts#L152", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1628 + }, + { + "id": 19711, + "name": "IRequestList", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_list.ts", + "line": 26, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_list.ts#L26", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3442 + }, + { + "id": 19718, + "name": "IRequestManager", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 51, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_provider.ts#L51", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3611 + }, + { + "id": 19727, + "name": "IStorage", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/storage_manager.ts", + "line": 14, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/storage_manager.ts#L14", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3780 + }, + { + "id": 19705, + "name": "KeyConsumer", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/key_value_store.ts", + "line": 814, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/key_value_store.ts#L814", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3420 + }, + { + "id": 19704, + "name": "KeyValueStore", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/key_value_store.ts", + "line": 108, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/key_value_store.ts#L108", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3325 + }, + { + "id": 19708, + "name": "KeyValueStoreIteratorOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/key_value_store.ts", + "line": 848, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/key_value_store.ts#L848", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3436 + }, + { + "id": 19706, + "name": "KeyValueStoreOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/key_value_store.ts", + "line": 824, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/key_value_store.ts#L824", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3427 + }, + { + "id": 19589, + "name": "LoadedRequest", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 21, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L21", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 912 + }, + { + "id": 19573, + "name": "LoadSignal", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/load_signal.ts", + "line": 25, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/load_signal.ts#L25", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 488 + }, + { + "id": 19572, + "name": "LoadSnapshot", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/load_signal.ts", + "line": 12, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/load_signal.ts#L12", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 485 + }, + { + "id": 19633, + "name": "LocalEventManager", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/events/local_event_manager.ts", + "line": 11, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/events/local_event_manager.ts#L11", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1465 + }, + { + "id": 19644, + "name": "log", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/log.ts", + "line": 4, + "character": 9, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/log.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1683 + }, + { + "id": 19645, + "name": "Log", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/log.ts", + "line": 4, + "character": 14, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/log.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1684 + }, + { + "id": 19647, + "name": "Logger", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/log.ts", + "line": 4, + "character": 29, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/log.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1755 + }, + { + "id": 19648, + "name": "LoggerJson", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/log.ts", + "line": 4, + "character": 37, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/log.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1915 + }, + { + "id": 19650, + "name": "LoggerOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/log.ts", + "line": 5, + "character": 14, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/log.ts#L5", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2242 + }, + { + "id": 19649, + "name": "LoggerText", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/log.ts", + "line": 4, + "character": 49, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/log.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2076 + }, + { + "id": 19646, + "name": "LogLevel", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/log.ts", + "line": 4, + "character": 19, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/log.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1747 + }, + { + "id": 19686, + "name": "MAX_POOL_SIZE", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/session_pool/consts.ts", + "line": 3, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/session_pool/consts.ts#L3", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2937 + }, + { + "id": 19577, + "name": "MemoryLoadSignal", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/memory_load_signal.ts", + "line": 32, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/memory_load_signal.ts#L32", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 577 + }, + { + "id": 19576, + "name": "MemoryLoadSignalOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/memory_load_signal.ts", + "line": 20, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/memory_load_signal.ts#L20", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 571 + }, + { + "id": 19575, + "name": "MemorySnapshot", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/memory_load_signal.ts", + "line": 16, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/memory_load_signal.ts#L16", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 567 + }, + { + "id": 19551, + "name": "NonRetryableError", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/errors.ts", + "line": 4, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/errors.ts#L4", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 142 + }, + { + "id": 19685, + "name": "PERSIST_STATE_KEY", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/session_pool/consts.ts", + "line": 2, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/session_pool/consts.ts#L2", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2936 + }, + { + "id": 19596, + "name": "PersistenceOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/statistics.ts", + "line": 41, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/statistics.ts#L41", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1081 + }, + { + "id": 19634, + "name": "processHttpRequestOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/base-http-client.ts", + "line": 196, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/base-http-client.ts#L196", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1548 + }, + { + "id": 19655, + "name": "ProxyConfiguration", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/proxy_configuration.ts", + "line": 203, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/proxy_configuration.ts#L203", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2277 + }, + { + "id": 19651, + "name": "ProxyConfigurationFunction", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/proxy_configuration.ts", + "line": 9, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/proxy_configuration.ts#L9", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2256 + }, + { + "id": 19652, + "name": "ProxyConfigurationOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/proxy_configuration.ts", + "line": 15, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/proxy_configuration.ts#L15", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2262 + }, + { + "id": 19654, + "name": "ProxyInfo", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/proxy_configuration.ts", + "line": 80, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/proxy_configuration.ts#L80", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2269 + }, + { + "id": 19544, + "name": "PseudoUrl", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/index.ts", + "line": 18, + "character": 9, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/index.ts#L18", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 79 + }, + { + "id": 19622, + "name": "PseudoUrlInput", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 34, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L34", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1394 + }, + { + "id": 19621, + "name": "PseudoUrlObject", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 29, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L29", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1391 + }, + { + "id": 19730, + "name": "purgeDefaultStorages", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/utils.ts", + "line": 33, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/utils.ts#L33", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "packages/core/src/storages/utils.ts", + "line": 45, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/utils.ts#L45", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "packages/core/src/storages/utils.ts", + "line": 46, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/utils.ts#L46", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3857 + }, + { + "id": 19659, + "name": "PushErrorMessageOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/request.ts", + "line": 567, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/request.ts#L567", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2409 + }, + { + "id": 19550, + "name": "QueueOperationInfo", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/index.ts", + "line": 19, + "character": 68, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/index.ts#L19", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 138 + }, + { + "id": 19707, + "name": "RecordOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/key_value_store.ts", + "line": 831, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/key_value_store.ts#L831", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3432 + }, + { + "id": 19754, + "name": "RecoverableState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/recoverable_state.ts", + "line": 75, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/recoverable_state.ts#L75", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 4115 + }, + { + "id": 19753, + "name": "RecoverableStateOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/recoverable_state.ts", + "line": 33, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/recoverable_state.ts#L33", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 4098 + }, + { + "id": 19752, + "name": "RecoverableStatePersistenceOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/recoverable_state.ts", + "line": 6, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/recoverable_state.ts#L6", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 4093 + }, + { + "id": 19641, + "name": "RedirectHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/base-http-client.ts", + "line": 171, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/base-http-client.ts#L171", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1655 + }, + { + "id": 19626, + "name": "RegExpInput", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 48, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L48", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1402 + }, + { + "id": 19625, + "name": "RegExpObject", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 43, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L43", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1399 + }, + { + "id": 19657, + "name": "Request", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/request.ts", + "line": 84, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/request.ts#L84", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2326 + }, + { + "id": 19757, + "name": "RequestHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 113, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L113", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8621 + }, + { + "id": 19593, + "name": "RequestHandlerResult", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 175, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L175", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 988 + }, + { + "id": 19713, + "name": "RequestList", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_list.ts", + "line": 300, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_list.ts#L300", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3473 + }, + { + "id": 19712, + "name": "RequestListOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_list.ts", + "line": 91, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_list.ts#L91", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3464 + }, + { + "id": 19715, + "name": "RequestListSourcesFunction", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_list.ts", + "line": 1020, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_list.ts#L1020", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3576 + }, + { + "id": 19714, + "name": "RequestListState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_list.ts", + "line": 1008, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_list.ts#L1008", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3572 + }, + { + "id": 19743, + "name": "RequestManagerTandem", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_manager_tandem.ts", + "line": 22, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_manager_tandem.ts#L22", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3984 + }, + { + "id": 19658, + "name": "RequestOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/request.ts", + "line": 451, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/request.ts#L451", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2389 + }, + { + "id": 19719, + "name": "RequestProvider", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 109, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_provider.ts#L109", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3642 + }, + { + "id": 19720, + "name": "RequestProviderOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 991, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_provider.ts#L991", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3742 + }, + { + "id": 19688, + "name": "RequestQueue", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/index.ts", + "line": 7, + "character": 9, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/index.ts#L7", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3042 + }, + { + "id": 19723, + "name": "RequestQueueOperationOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 1018, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_provider.ts#L1018", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3760 + }, + { + "id": 19721, + "name": "RequestQueueOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 1007, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_provider.ts#L1007", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3747 + }, + { + "id": 19687, + "name": "RequestQueueV1", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/index.ts", + "line": 6, + "character": 9, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/index.ts#L6", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2938 + }, + { + "id": 19689, + "name": "RequestQueueV2", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/index.ts", + "line": 8, + "character": 25, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/index.ts#L8", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3148 + }, + { + "id": 19717, + "name": "RequestsLike", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 40, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/request_provider.ts#L40", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3610 + }, + { + "id": 19656, + "name": "RequestState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/request.ts", + "line": 42, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/request.ts#L42", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2317 + }, + { + "id": 19629, + "name": "RequestTransform", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 299, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L299", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1411 + }, + { + "id": 19554, + "name": "RequestValidationError", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/errors.ts", + "line": 22, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/errors.ts#L22", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 211 + }, + { + "id": 19751, + "name": "ResponseLike", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/cookie_utils.ts", + "line": 7, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/cookie_utils.ts#L7", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 4086 + }, + { + "id": 19635, + "name": "ResponseTypes", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/base-http-client.ts", + "line": 39, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/base-http-client.ts#L39", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1552 + }, + { + "id": 19591, + "name": "RestrictedCrawlingContext", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 31, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L31", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 918 + }, + { + "id": 19555, + "name": "RetryRequestError", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/errors.ts", + "line": 48, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/errors.ts#L48", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 244 + }, + { + "id": 19672, + "name": "Router", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 229, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L229", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2498 + }, + { + "id": 19669, + "name": "RouterHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 110, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L110", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2446 + }, + { + "id": 19664, + "name": "RouterHandlerContext", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 19, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L19", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2424 + }, + { + "id": 19668, + "name": "RouterLabel", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 106, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L106", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2444 + }, + { + "id": 19671, + "name": "RouterRoutes", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 119, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L119", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2490 + }, + { + "id": 19665, + "name": "RouteSchemas", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 29, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L29", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2429 + }, + { + "id": 19666, + "name": "RoutesFromSchemas", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 43, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/router.ts#L43", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2432 + }, + { + "id": 19680, + "name": "Session", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/session_pool/session.ts", + "line": 100, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/session_pool/session.ts#L100", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2628 + }, + { + "id": 19556, + "name": "SessionError", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/errors.ts", + "line": 59, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/errors.ts#L59", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 264 + }, + { + "id": 19679, + "name": "SessionOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/session_pool/session.ts", + "line": 37, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/session_pool/session.ts#L37", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2614 + }, + { + "id": 19683, + "name": "SessionPool", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/session_pool/session_pool.ts", + "line": 137, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/session_pool/session_pool.ts#L137", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2721 + }, + { + "id": 19682, + "name": "SessionPoolOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/session_pool/session_pool.ts", + "line": 30, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/session_pool/session_pool.ts#L30", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2712 + }, + { + "id": 19678, + "name": "SessionState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/session_pool/session.ts", + "line": 24, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/session_pool/session.ts#L24", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2603 + }, + { + "id": 19742, + "name": "SitemapRequestList", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/sitemap_request_list.ts", + "line": 135, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/sitemap_request_list.ts#L135", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3907 + }, + { + "id": 19741, + "name": "SitemapRequestListOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/sitemap_request_list.ts", + "line": 60, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/sitemap_request_list.ts#L60", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3891 + }, + { + "id": 19628, + "name": "SkippedRequestCallback", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 52, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L52", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1404 + }, + { + "id": 19627, + "name": "SkippedRequestReason", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 50, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L50", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1403 + }, + { + "id": 19604, + "name": "SnapshotResult", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/error_snapshotter.ts", + "line": 16, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/error_snapshotter.ts#L16", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1249 + }, + { + "id": 19574, + "name": "SnapshotStore", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/load_signal.ts", + "line": 53, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/load_signal.ts#L53", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 498 + }, + { + "id": 19579, + "name": "Snapshotter", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/snapshotter.ts", + "line": 98, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/snapshotter.ts#L98", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 619 + }, + { + "id": 19578, + "name": "SnapshotterOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/snapshotter.ts", + "line": 20, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/snapshotter.ts#L20", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 609 + }, + { + "id": 19660, + "name": "Source", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/request.ts", + "line": 583, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/request.ts#L583", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2411 + }, + { + "id": 19599, + "name": "StatisticPersistedState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/statistics.ts", + "line": 497, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/statistics.ts#L497", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1161 + }, + { + "id": 19597, + "name": "Statistics", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/statistics.ts", + "line": 59, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/statistics.ts#L59", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1083 + }, + { + "id": 19598, + "name": "StatisticsOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/statistics.ts", + "line": 441, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/statistics.ts#L441", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1152 + }, + { + "id": 19600, + "name": "StatisticState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/statistics.ts", + "line": 511, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/statistics.ts#L511", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1185 + }, + { + "id": 19760, + "name": "StatusMessageCallback", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 131, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L131", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8639 + }, + { + "id": 19759, + "name": "StatusMessageCallbackParams", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 121, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L121", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 8632 + }, + { + "id": 19548, + "name": "StorageClient", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/index.ts", + "line": 19, + "character": 45, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/index.ts#L19", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 96 + }, + { + "id": 19729, + "name": "StorageManagerOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/storage_manager.ts", + "line": 160, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/storage_manager.ts#L160", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3853 + }, + { + "id": 19640, + "name": "StreamingHttpResponse", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/http_clients/base-http-client.ts", + "line": 162, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/http_clients/base-http-client.ts#L162", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1642 + }, + { + "id": 19580, + "name": "SystemInfo", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/system_status.ts", + "line": 11, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/system_status.ts#L11", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 711 + }, + { + "id": 19584, + "name": "SystemStatus", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/system_status.ts", + "line": 139, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/system_status.ts#L139", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 747 + }, + { + "id": 19581, + "name": "SystemStatusOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/autoscaling/system_status.ts", + "line": 43, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/autoscaling/system_status.ts#L43", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 723 + }, + { + "id": 19653, + "name": "TieredProxy", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/proxy_configuration.ts", + "line": 45, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/proxy_configuration.ts#L45", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 2266 + }, + { + "id": 19619, + "name": "tryAbsoluteURL", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 12, + "character": 9, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L12", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1383 + }, + { + "id": 19620, + "name": "UrlPatternObject", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/shared.ts", + "line": 24, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/enqueue_links/shared.ts#L24", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 1387 + }, + { + "id": 19731, + "name": "useState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/utils.ts", + "line": 87, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/utils.ts#L87", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3863 + }, + { + "id": 19733, + "name": "UseStateOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/utils.ts", + "line": 69, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/utils.ts#L69", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3872 + }, + { + "id": 19740, + "name": "withCheckedStorageAccess", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/access_checking.ts", + "line": 18, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/storages/access_checking.ts#L18", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "target": 3882 + }, + { + "id": 19329, + "name": "stagehandUtils", + "variant": "declaration", + "kind": 4, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/utils/stagehand-utils.ts", + "line": 1, + "character": 0, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/utils/stagehand-utils.ts#L1", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + }, + { + "id": 19386, + "name": "Stagehand", + "variant": "declaration", + "kind": 128, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "V3\n\nPurpose:\nA high-level orchestrator for Stagehand V3. Abstracts away whether the browser\nruns **locally via Chrome** or remotely on **Browserbase**, and exposes simple\nentrypoints (" + }, + { + "kind": "code", + "text": "`act`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`extract`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`observe`" + }, + { + "kind": "text", + "text": ") that delegate to the corresponding\nhandler classes.\n\nResponsibilities:\n- Bootstraps Chrome or Browserbase, ensures a working CDP WebSocket, and builds a " + }, + { + "kind": "code", + "text": "`V3Context`" + }, + { + "kind": "text", + "text": ".\n- Manages lifecycle: init, context access, cleanup.\n- Bridges external page objects (Playwright/Puppeteer) into internal frameIds for handlers.\n- Provides a stable API surface for downstream code regardless of runtime environment." + } + ] + }, + "children": [ + { + "id": 19390, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3638, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19391, + "name": "new Stagehand", + "variant": "signature", + "kind": 16384, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3638, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19392, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "V3Options" + }, + "name": "V3Options", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": 19386, + "name": "V3", + "package": "@browserbasehq/stagehand" + } + } + ] + }, + { + "id": 19407, + "name": "browserbaseSessionId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3612, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19400, + "name": "bus", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isReadonly": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Event bus for internal communication.\nEmits events like 'screenshot' when screenshots are captured during agent execution." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3605, + "character": 13, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@types/node/events.d.ts", + "qualifiedName": "EventEmitter" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@types/node/events.d.ts", + "qualifiedName": "DefaultEventMap" + }, + "name": "DefaultEventMap", + "package": "@types/node" + } + ], + "name": "EventEmitter", + "package": "@types/node" + } + }, + { + "id": 19421, + "name": "disableAPI", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isReadonly": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3625, + "character": 13, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19419, + "name": "experimental", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isReadonly": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3623, + "character": 13, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19399, + "name": "llmClient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3600, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "LLMClient" + }, + "name": "LLMClient", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 19420, + "name": "logInferenceToFile", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isReadonly": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3624, + "character": 13, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19431, + "name": "stagehandMetrics", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3637, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "StagehandMetrics" + }, + "name": "StagehandMetrics", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 19423, + "name": "verbose", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3627, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": 0 + }, + { + "type": "literal", + "value": 1 + }, + { + "type": "literal", + "value": 2 + } + ] + } + }, + { + "id": 19414, + "name": "browserbaseDebugURL", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3617, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "getSignature": { + "id": 19415, + "name": "browserbaseDebugURL", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3617, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + }, + { + "id": 19410, + "name": "browserbaseSessionID", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3615, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "getSignature": { + "id": 19411, + "name": "browserbaseSessionID", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3615, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + }, + { + "id": 19412, + "name": "browserbaseSessionURL", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3616, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "getSignature": { + "id": 19413, + "name": "browserbaseSessionURL", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3616, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + }, + { + "id": 19500, + "name": "context", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3702, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "getSignature": { + "id": 19501, + "name": "context", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Expose the current CDP-backed context." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3702, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "V3Context" + }, + "name": "V3Context", + "package": "@browserbasehq/stagehand" + } + } + }, + { + "id": 19444, + "name": "history", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3655, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "getSignature": { + "id": 19445, + "name": "history", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Async property for history so callers can " + }, + { + "kind": "code", + "text": "`await v3.history`" + }, + { + "kind": "text", + "text": ".\nReturns a frozen copy to avoid external mutation." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3655, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "HistoryEntry" + }, + "name": "HistoryEntry", + "package": "@browserbasehq/stagehand" + } + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + }, + { + "id": 19416, + "name": "isBrowserbase", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3621, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "getSignature": { + "id": 19417, + "name": "isBrowserbase", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Returns true if the browser is running on Browserbase." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3621, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + }, + { + "id": 19508, + "name": "logger", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3709, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "getSignature": { + "id": 19509, + "name": "logger", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3709, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19510, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3709, + "character": 18, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19511, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3709, + "character": 18, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19512, + "name": "logLine", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "LogLine" + }, + "name": "LogLine", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + } + } + }, + { + "id": 19432, + "name": "metrics", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3643, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "getSignature": { + "id": 19433, + "name": "metrics", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Async property for metrics so callers can " + }, + { + "kind": "code", + "text": "`await v3.metrics`" + }, + { + "kind": "text", + "text": ".\nWhen using API mode, fetches metrics from the API. Otherwise returns local metrics." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3643, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "StagehandMetrics" + }, + "name": "StagehandMetrics", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + }, + { + "id": 19466, + "name": "act", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3677, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3678, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19467, + "name": "act", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Run an \"act\" instruction through the ActHandler.\n\nNew API:\n- act(instruction: string, options?: ActOptions)\n- act(action: Action, options?: ActOptions)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3677, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19468, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19469, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 19334, + "name": "ActOptions", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19339, + "name": "ActResult", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19470, + "name": "act", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3678, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19471, + "name": "action", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": 19344, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 19472, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 19334, + "name": "ActOptions", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19339, + "name": "ActResult", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 19446, + "name": "addToHistory", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3656, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19447, + "name": "addToHistory", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3656, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19448, + "name": "method", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "agent" + }, + { + "type": "literal", + "value": "act" + }, + { + "type": "literal", + "value": "extract" + }, + { + "type": "literal", + "value": "observe" + }, + { + "type": "literal", + "value": "navigate" + } + ] + } + }, + { + "id": 19449, + "name": "parameters", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 19450, + "name": "result", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 19521, + "name": "agent", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3734, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3739, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19522, + "name": "agent", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Create a v3 agent instance (AISDK tool-based) with execute().\nMirrors the v2 Stagehand.agent() tool mode (no CUA provider here).\n\n When stream: true, returns a streaming agent where execute() returns AgentStreamResult\n When stream is false/undefined, returns a non-streaming agent where execute() returns AgentResult" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3734, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19523, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 19349, + "name": "AgentConfig", + "package": "@browserbasehq/stagehand" + }, + { + "type": "reflection", + "declaration": { + "id": 19524, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19525, + "name": "stream", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3735, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19525 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3734, + "character": 33, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19526, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19527, + "name": "execute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3737, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19528, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3737, + "character": 17, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19529, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3737, + "character": 17, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19530, + "name": "instructionOrOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "AgentStreamExecuteOptions" + }, + "name": "AgentStreamExecuteOptions", + "package": "@browserbasehq/stagehand" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "AgentStreamResult" + }, + "name": "AgentStreamResult", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19527 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3736, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + }, + { + "id": 19531, + "name": "agent", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3739, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19532, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 19349, + "name": "AgentConfig", + "package": "@browserbasehq/stagehand" + }, + { + "type": "reflection", + "declaration": { + "id": 19533, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19534, + "name": "stream", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3740, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "literal", + "value": false + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19534 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3739, + "character": 34, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19535, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19536, + "name": "execute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3742, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19537, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3742, + "character": 17, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19538, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3742, + "character": 17, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19539, + "name": "instructionOrOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "AgentExecuteOptions" + }, + "name": "AgentExecuteOptions", + "package": "@browserbasehq/stagehand" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19359, + "name": "AgentResult", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19536 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3741, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + } + ] + }, + { + "id": 19502, + "name": "close", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3704, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19503, + "name": "close", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Best-effort cleanup of context and launched resources." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3704, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19504, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 19505, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19506, + "name": "force", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3705, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19506 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3704, + "character": 17, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 19498, + "name": "connectURL", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3700, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19499, + "name": "connectURL", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Return the browser-level CDP WebSocket endpoint." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3700, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 19473, + "name": "extract", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3689, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3690, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3691, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3692, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19474, + "name": "extract", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Run an \"extract\" instruction through the ExtractHandler.\n\nAccepted forms:\n- extract() → pageText\n- extract(options) → pageText\n- extract(instruction) → defaultExtractSchema\n- extract(instruction, schema) → schema-inferred\n- extract(instruction, schema, options)" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3689, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 19475, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19476, + "name": "pageText", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1908, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19476 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/zod/v4/core/util.d.cts", + "line": 51, + "character": 26, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19477, + "name": "extract", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3690, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19478, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": 19373, + "name": "ExtractOptions", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 19479, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19480, + "name": "pageText", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1908, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19480 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/zod/v4/core/util.d.cts", + "line": 51, + "character": 26, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19481, + "name": "extract", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3691, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19482, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19483, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 19373, + "name": "ExtractOptions", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 19484, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19485, + "name": "extraction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1905, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19485 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/zod/v4/core/util.d.cts", + "line": 51, + "character": 26, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19486, + "name": "extract", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3692, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 19487, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "StagehandZodSchema" + }, + "name": "StagehandZodSchema", + "package": "@browserbasehq/stagehand" + } + } + ], + "parameters": [ + { + "id": 19488, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19489, + "name": "schema", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": 19487, + "name": "T", + "package": "@browserbasehq/stagehand", + "refersToTypeParameter": true + } + }, + { + "id": 19490, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 19373, + "name": "ExtractOptions", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "InferStagehandSchema" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19487, + "name": "T", + "package": "@browserbasehq/stagehand", + "refersToTypeParameter": true + } + ], + "name": "InferStagehandSchema", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 19461, + "name": "init", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3665, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19462, + "name": "init", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Entrypoint: initializes handlers, launches Chrome or Browserbase,\nand sets up a CDP context." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3665, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 19439, + "name": "isAgentReplayActive", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3649, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19440, + "name": "isAgentReplayActive", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3649, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 19491, + "name": "observe", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3696, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3697, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3698, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19492, + "name": "observe", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Run an \"observe\" instruction through the ObserveHandler." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3696, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 19344, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19493, + "name": "observe", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3697, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19494, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": 19381, + "name": "ObserveOptions", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 19344, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19495, + "name": "observe", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3698, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19496, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19497, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 19381, + "name": "ObserveOptions", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 19344, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 19441, + "name": "recordAgentReplayStep", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3650, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19442, + "name": "recordAgentReplayStep", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3650, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19443, + "name": "step", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "AgentReplayStep" + }, + "name": "AgentReplayStep", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 19451, + "name": "updateMetrics", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3657, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19452, + "name": "updateMetrics", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3657, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19453, + "name": "functionName", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "V3FunctionName" + }, + "name": "V3FunctionName", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 19454, + "name": "promptTokens", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19455, + "name": "completionTokens", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19456, + "name": "reasoningTokens", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19457, + "name": "cachedInputTokens", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19458, + "name": "inferenceTimeMs", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 19390 + ] + }, + { + "title": "Properties", + "children": [ + 19407, + 19400, + 19421, + 19419, + 19399, + 19420, + 19431, + 19423 + ] + }, + { + "title": "Accessors", + "children": [ + 19414, + 19410, + 19412, + 19500, + 19444, + 19416, + 19508, + 19432 + ] + }, + { + "title": "Methods", + "children": [ + 19466, + 19446, + 19521, + 19502, + 19498, + 19473, + 19461, + 19439, + 19491, + 19441, + 19451 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3593, + "character": 14, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + }, + { + "id": 16944, + "name": "StagehandCrawler", + "variant": "declaration", + "kind": 128, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "StagehandCrawler provides AI-powered web crawling using Browserbase's Stagehand library.\n\nIt extends " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BrowserCrawler" + }, + { + "kind": "text", + "text": " and adds natural language interaction capabilities:\n- " + }, + { + "kind": "code", + "text": "`page.act()`" + }, + { + "kind": "text", + "text": " - Perform actions using natural language\n- " + }, + { + "kind": "code", + "text": "`page.extract()`" + }, + { + "kind": "text", + "text": " - Extract structured data with AI\n- " + }, + { + "kind": "code", + "text": "`page.observe()`" + }, + { + "kind": "text", + "text": " - Get AI-suggested actions\n- " + }, + { + "kind": "code", + "text": "`page.agent()`" + }, + { + "kind": "text", + "text": " - Create autonomous agents for complex workflows\n\nThe crawler automatically applies anti-blocking features including browser fingerprinting,\nmaking it suitable for crawling sites with bot protection like Cloudflare." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nimport { StagehandCrawler } from '@crawlee/stagehand';\nimport { z } from 'zod';\n\nconst crawler = new StagehandCrawler({\n stagehandOptions: {\n env: 'LOCAL',\n model: 'openai/gpt-4.1-mini',\n verbose: 1,\n },\n maxConcurrency: 3,\n async requestHandler({ page, request, log }) {\n log.info(`Crawling ${request.url}`);\n\n // Use AI to interact with the page\n await page.act('Click the Products link');\n await page.act('Scroll to load more items');\n\n // Extract structured data\n const products = await page.extract(\n 'Get all product names and prices',\n z.object({\n items: z.array(z.object({\n name: z.string(),\n price: z.number(),\n })),\n })\n );\n\n log.info(`Found ${products.items.length} products`);\n },\n});\n\nawait crawler.run(['https://example.com']);\n```" + } + ] + } + ] + }, + "children": [ + { + "id": 16992, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 391, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L391", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 16993, + "name": "new StagehandCrawler", + "variant": "signature", + "kind": 16384, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Creates a new instance of StagehandCrawler." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 391, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L391", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 16994, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Crawler configuration options" + } + ] + }, + "type": { + "type": "reference", + "target": 19165, + "name": "StagehandCrawlerOptions", + "package": "@crawlee/stagehand" + }, + "defaultValue": "{}" + }, + { + "id": 16995, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 806, + "name": "Configuration", + "package": "@crawlee/core" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "target": 16944, + "name": "StagehandCrawler", + "package": "@crawlee/stagehand" + }, + "overwrites": { + "type": "reference", + "target": -1, + "name": "BrowserCrawler<\n { browserPlugins: [StagehandPlugin] },\n LaunchOptions,\n StagehandCrawlingContext\n>.constructor" + } + } + ], + "overwrites": { + "type": "reference", + "target": -1, + "name": "BrowserCrawler<\n { browserPlugins: [StagehandPlugin] },\n LaunchOptions,\n StagehandCrawlingContext\n>.constructor" + } + }, + { + "id": 17067, + "name": "autoscaledPool", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A reference to the underlying " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPool" + }, + { + "kind": "text", + "text": " class that manages the concurrency of the crawler.\n> *NOTE:* This property is only initialized after calling the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawler.run|`crawler.run()`" + }, + { + "kind": "text", + "text": " function.\nWe can use it to change the concurrency settings on the fly,\nto pause the crawler by calling " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPool.pause|`autoscaledPool.pause()`" + }, + { + "kind": "text", + "text": "\nor to abort it by calling " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPool.abort|`autoscaledPool.abort()`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 533, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L533", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 308, + "name": "AutoscaledPool", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9454, + "name": "BrowserCrawler.autoscaledPool" + } + }, + { + "id": 17013, + "name": "browserPool", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A reference to the underlying " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BrowserPool" + }, + { + "kind": "text", + "text": " class that manages the crawler's browsers." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 331, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L331", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 6603, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 17014, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 17015, + "name": "browserPlugins", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 369, + "character": 6, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L369", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/stagehand-crawler/src/internals/stagehand-plugin.ts", + "qualifiedName": "StagehandPlugin" + }, + "name": "StagehandPlugin", + "package": "@crawlee/stagehand" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17015 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 369, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L369", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + }, + { + "type": "intrinsic", + "name": "never" + }, + { + "type": "intrinsic", + "name": "never" + }, + { + "type": "intrinsic", + "name": "never" + }, + { + "type": "intrinsic", + "name": "never" + }, + { + "type": "intrinsic", + "name": "never" + } + ], + "name": "BrowserPool", + "package": "@crawlee/browser-pool" + }, + "inheritedFrom": { + "type": "reference", + "target": 9388, + "name": "BrowserCrawler.browserPool" + } + }, + { + "id": 16999, + "name": "config", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 393, + "character": 26, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L393", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 806, + "name": "Configuration", + "package": "@crawlee/core" + }, + "defaultValue": "...", + "inheritedFrom": { + "type": "reference", + "target": 9396, + "name": "BrowserCrawler.config" + } + }, + { + "id": 17072, + "name": "hasFinishedBefore", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 542, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L542", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "target": 9457, + "name": "BrowserCrawler.hasFinishedBefore" + } + }, + { + "id": 17016, + "name": "launchContext", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 333, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L333", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 9657, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "LaunchOptions" + }, + "name": "LaunchOptions", + "package": "playwright-core" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "BrowserLaunchContext", + "package": "@crawlee/browser" + }, + "inheritedFrom": { + "type": "reference", + "target": 9389, + "name": "BrowserCrawler.launchContext" + } + }, + { + "id": 17074, + "name": "log", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 545, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L545", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 1684, + "name": "Log", + "package": "@apify/log" + }, + "inheritedFrom": { + "type": "reference", + "target": 9459, + "name": "BrowserCrawler.log" + } + }, + { + "id": 17012, + "name": "proxyConfiguration", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A reference to the underlying " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "ProxyConfiguration" + }, + { + "kind": "text", + "text": " class that manages the crawler's proxies.\nOnly available if used by the crawler." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 326, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L326", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 2277, + "name": "ProxyConfiguration", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9387, + "name": "BrowserCrawler.proxyConfiguration" + } + }, + { + "id": 17063, + "name": "requestList", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A reference to the underlying " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "RequestList" + }, + { + "kind": "text", + "text": " class that manages the crawler's " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Request|requests" + }, + { + "kind": "text", + "text": ".\nOnly available if used by the crawler." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 506, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L506", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 3442, + "name": "IRequestList", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9450, + "name": "BrowserCrawler.requestList" + } + }, + { + "id": 17064, + "name": "requestQueue", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Dynamic queue of URLs to be processed. This is useful for recursive crawling of websites.\nA reference to the underlying " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "RequestQueue" + }, + { + "kind": "text", + "text": " class that manages the crawler's " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Request|requests" + }, + { + "kind": "text", + "text": ".\nOnly available if used by the crawler." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 513, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L513", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 3642, + "name": "RequestProvider", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9451, + "name": "BrowserCrawler.requestQueue" + } + }, + { + "id": 17068, + "name": "router", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Default " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Router" + }, + { + "kind": "text", + "text": " instance that will be used if we don't specify any " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawlerOptions.requestHandler|`requestHandler`" + }, + { + "kind": "text", + "text": ".\nSee " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Router.addHandler|`router.addHandler()`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Router.addDefaultHandler|`router.addDefaultHandler()`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 539, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L539", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 2446, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 17069, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 17070, + "name": "request", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 28, + "character": 14, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L28", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 912, + "typeArguments": [ + { + "type": "reference", + "target": 2326, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "Request", + "package": "@crawlee/core" + } + ], + "name": "LoadedRequest", + "package": "@crawlee/core" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17070 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 27, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L27", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19108, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + }, + { + "type": "literal", + "value": "request" + } + ], + "name": "Omit", + "package": "typescript" + } + ] + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "Record", + "package": "typescript" + } + ], + "name": "RouterHandler", + "package": "@crawlee/core" + }, + "defaultValue": "...", + "inheritedFrom": { + "type": "reference", + "target": 9455, + "name": "BrowserCrawler.router" + } + }, + { + "id": 17071, + "name": "running", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 541, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L541", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "target": 9456, + "name": "BrowserCrawler.running" + } + }, + { + "id": 17066, + "name": "sessionPool", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A reference to the underlying " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "SessionPool" + }, + { + "kind": "text", + "text": " class that manages the crawler's " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Session|sessions" + }, + { + "kind": "text", + "text": ".\nOnly available if used by the crawler." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 524, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L524", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 2721, + "name": "SessionPool", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9453, + "name": "BrowserCrawler.sessionPool" + } + }, + { + "id": 17062, + "name": "stats", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A reference to the underlying " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Statistics" + }, + { + "kind": "text", + "text": " class that collects and logs run statistics for requests." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 500, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L500", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 1083, + "name": "Statistics", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9449, + "name": "BrowserCrawler.stats" + } + }, + { + "id": 17137, + "name": "addRequests", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1249, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1249", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17138, + "name": "addRequests", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Adds requests to the queue in batches. By default, it will resolve after the initial batch is added, and continue\nadding the rest in background. You can configure the batch size via " + }, + { + "kind": "code", + "text": "`batchSize`" + }, + { + "kind": "text", + "text": " option and the sleep time in between\nthe batches via " + }, + { + "kind": "code", + "text": "`waitBetweenBatchesMillis`" + }, + { + "kind": "text", + "text": ". If you want to wait for all batches to be added to the queue, you can use\nthe " + }, + { + "kind": "code", + "text": "`waitForAllRequestsToBeAdded`" + }, + { + "kind": "text", + "text": " promise you get in the response object.\n\nThis is an alias for calling " + }, + { + "kind": "code", + "text": "`addRequestsBatched()`" + }, + { + "kind": "text", + "text": " on the implicit " + }, + { + "kind": "code", + "text": "`RequestQueue`" + }, + { + "kind": "text", + "text": " for this crawler instance." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1249, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1249", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17139, + "name": "requests", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The requests to add" + } + ] + }, + "type": { + "type": "reference", + "target": 3610, + "name": "RequestsLike", + "package": "@crawlee/core" + } + }, + { + "id": 17140, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for the request queue" + } + ] + }, + "type": { + "type": "reference", + "target": 8972, + "name": "CrawlerAddRequestsOptions", + "package": "@crawlee/basic" + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 8979, + "name": "CrawlerAddRequestsResult", + "package": "@crawlee/basic" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9523, + "name": "BrowserCrawler.addRequests" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9522, + "name": "BrowserCrawler.addRequests" + } + }, + { + "id": 17151, + "name": "exportData", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1355, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1355", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17152, + "name": "exportData", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves all the data from the default crawler " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Dataset" + }, + { + "kind": "text", + "text": " and exports them to the specified format.\nSupported formats are currently 'json' and 'csv', and will be inferred from the " + }, + { + "kind": "code", + "text": "`path`" + }, + { + "kind": "text", + "text": " automatically." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1355, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1355", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17153, + "name": "Data", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 17154, + "name": "path", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17155, + "name": "format", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "json" + }, + { + "type": "literal", + "value": "csv" + } + ] + } + }, + { + "id": 17156, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3169, + "name": "DatasetExportOptions", + "package": "@crawlee/core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 8834, + "name": "Data", + "package": "@crawlee/basic", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9537, + "name": "BrowserCrawler.exportData" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9536, + "name": "BrowserCrawler.exportData" + } + }, + { + "id": 17148, + "name": "getData", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1346, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1346", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17149, + "name": "getData", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves data from the default crawler " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Dataset" + }, + { + "kind": "text", + "text": " by calling " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Dataset.getData" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1346, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1346", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17150, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "tuple", + "elements": [ + { + "type": "namedTupleMember", + "name": "options", + "isOptional": false, + "element": { + "type": "reference", + "target": 3160, + "name": "DatasetDataOptions", + "package": "@crawlee/core" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3310, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "DatasetContent", + "package": "@crawlee/core" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9534, + "name": "BrowserCrawler.getData" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9533, + "name": "BrowserCrawler.getData" + } + }, + { + "id": 17145, + "name": "getDataset", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1339, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1339", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17146, + "name": "getDataset", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Retrieves the specified " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Dataset" + }, + { + "kind": "text", + "text": ", or the default crawler " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Dataset" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1339, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1339", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17147, + "name": "idOrName", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3197, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "Dataset", + "package": "@crawlee/core" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9531, + "name": "BrowserCrawler.getDataset" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9530, + "name": "BrowserCrawler.getDataset" + } + }, + { + "id": 17117, + "name": "getRequestQueue", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1123, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1123", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17118, + "name": "getRequestQueue", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1123, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1123", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3642, + "name": "RequestProvider", + "package": "@crawlee/core" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9503, + "name": "BrowserCrawler.getRequestQueue" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9502, + "name": "BrowserCrawler.getRequestQueue" + } + }, + { + "id": 17141, + "name": "pushData", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1331, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1331", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17142, + "name": "pushData", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Pushes data to the specified " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Dataset" + }, + { + "kind": "text", + "text": ", or the default crawler " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Dataset" + }, + { + "kind": "text", + "text": " by calling " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Dataset.pushData" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1331, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1331", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17143, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + } + ] + } + }, + { + "id": 17144, + "name": "datasetIdOrName", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9527, + "name": "BrowserCrawler.pushData" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9526, + "name": "BrowserCrawler.pushData" + } + }, + { + "id": 17110, + "name": "run", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 983, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L983", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17111, + "name": "run", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Runs the crawler. Returns a promise that resolves once all the requests are processed\nand " + }, + { + "kind": "code", + "text": "`autoscaledPool.isFinished`" + }, + { + "kind": "text", + "text": " returns " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ".\n\nWe can use the " + }, + { + "kind": "code", + "text": "`requests`" + }, + { + "kind": "text", + "text": " parameter to enqueue the initial requests — it is a shortcut for\nrunning " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawler.addRequests|`crawler.addRequests()`" + }, + { + "kind": "text", + "text": " before " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawler.run|`crawler.run()`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 983, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L983", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17112, + "name": "requests", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The requests to add." + } + ] + }, + "type": { + "type": "reference", + "target": 3610, + "name": "RequestsLike", + "package": "@crawlee/core" + } + }, + { + "id": 17113, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for the request queue." + } + ] + }, + "type": { + "type": "reference", + "target": 8983, + "name": "CrawlerRunOptions", + "package": "@crawlee/basic" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 736, + "name": "FinalStatistics", + "package": "@crawlee/core" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9496, + "name": "BrowserCrawler.run" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9495, + "name": "BrowserCrawler.run" + } + }, + { + "id": 17106, + "name": "setStatusMessage", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 906, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L906", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17107, + "name": "setStatusMessage", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This method is periodically called by the crawler, every " + }, + { + "kind": "code", + "text": "`statusMessageLoggingInterval`" + }, + { + "kind": "text", + "text": " seconds." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 906, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L906", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17108, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17109, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 20518, + "name": "SetStatusMessageOptions", + "package": "@crawlee/types" + }, + "defaultValue": "{}" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9492, + "name": "BrowserCrawler.setStatusMessage" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9491, + "name": "BrowserCrawler.setStatusMessage" + } + }, + { + "id": 17114, + "name": "stop", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1115, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1115", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17115, + "name": "stop", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Gracefully stops the current run of the crawler.\n\nAll the tasks active at the time of calling this method will be allowed to finish.\n\nTo stop the crawler immediately, use " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawler.teardown|`crawler.teardown()`" + }, + { + "kind": "text", + "text": " instead." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1115, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1115", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17116, + "name": "reason", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + }, + "defaultValue": "'The crawler has been gracefully stopped.'" + } + ], + "type": { + "type": "intrinsic", + "name": "void" + }, + "inheritedFrom": { + "type": "reference", + "target": 9500, + "name": "BrowserCrawler.stop" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9499, + "name": "BrowserCrawler.stop" + } + }, + { + "id": 17122, + "name": "useState", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1190, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1190", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17123, + "name": "useState", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1190, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L1190", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17124, + "name": "State", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + } + ], + "parameters": [ + { + "id": 17125, + "name": "defaultValue", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 8801, + "name": "State", + "package": "@crawlee/basic", + "refersToTypeParameter": true + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 8801, + "name": "State", + "package": "@crawlee/basic", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9508, + "name": "BrowserCrawler.useState" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9507, + "name": "BrowserCrawler.useState" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 16992 + ] + }, + { + "title": "Properties", + "children": [ + 17067, + 17013, + 16999, + 17072, + 17016, + 17074, + 17012, + 17063, + 17064, + 17068, + 17071, + 17066, + 17062 + ] + }, + { + "title": "Methods", + "children": [ + 17137, + 17151, + 17148, + 17145, + 17117, + 17141, + 17110, + 17106, + 17114, + 17122 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 368, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L368", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 9334, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 16945, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 16946, + "name": "browserPlugins", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 369, + "character": 6, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L369", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/stagehand-crawler/src/internals/stagehand-plugin.ts", + "qualifiedName": "StagehandPlugin" + }, + "name": "StagehandPlugin", + "package": "@crawlee/stagehand" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 16946 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 369, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L369", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "LaunchOptions" + }, + "name": "LaunchOptions", + "package": "playwright-core" + }, + { + "type": "reference", + "target": 19108, + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + } + ], + "name": "BrowserCrawler", + "package": "@crawlee/browser" + } + ] + }, + { + "id": 19344, + "name": "Action", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19348, + "name": "arguments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1890, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 19346, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1888, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19347, + "name": "method", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1889, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19345, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1887, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19348, + 19346, + 19347, + 19345 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1886, + "character": 10, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + }, + { + "id": 19334, + "name": "ActOptions", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19335, + "name": "model", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1874, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 19378, + "name": "ModelConfiguration", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 19338, + "name": "page", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1877, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "playwright-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/node_modules/puppeteer-core/lib/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "puppeteer-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/patchright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "patchright-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "@browserbasehq/stagehand" + } + ] + } + }, + { + "id": 19337, + "name": "timeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1876, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19336, + "name": "variables", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1875, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "string" + } + ], + "name": "Record", + "package": "typescript" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19335, + 19338, + 19337, + 19336 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1873, + "character": 10, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + }, + { + "id": 19339, + "name": "ActResult", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19342, + "name": "actionDescription", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1882, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19343, + "name": "actions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1883, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 19344, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + } + }, + { + "id": 19341, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1881, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19340, + "name": "success", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1880, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19342, + 19343, + 19341, + 19340 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1879, + "character": 10, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + }, + { + "id": 19359, + "name": "AgentResult", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19362, + "name": "actions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2931, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "AgentAction" + }, + "name": "AgentAction", + "package": "@browserbasehq/stagehand" + } + } + }, + { + "id": 19363, + "name": "completed", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2932, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19361, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2930, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19372, + "name": "messages", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The conversation messages from this execution.\nPass these to a subsequent execute() call via the " + }, + { + "kind": "code", + "text": "`messages`" + }, + { + "kind": "text", + "text": " option to continue the conversation." + } + ], + "modifierTags": [ + "@experimental" + ] + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2946, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@ai-sdk/provider-utils/dist/index.d.ts", + "qualifiedName": "ModelMessage" + }, + "name": "ModelMessage", + "package": "@ai-sdk/provider-utils" + } + } + }, + { + "id": 19364, + "name": "metadata", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2933, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Record" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "Record", + "package": "typescript" + } + }, + { + "id": 19360, + "name": "success", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2929, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19365, + "name": "usage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2934, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19366, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19370, + "name": "cached_input_tokens", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2938, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19371, + "name": "inference_time_ms", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2939, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19367, + "name": "input_tokens", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2935, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19368, + "name": "output_tokens", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2936, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19369, + "name": "reasoning_tokens", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2937, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19370, + 19371, + 19367, + 19368, + 19369 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2934, + "character": 12, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19362, + 19363, + 19361, + 19372, + 19364, + 19360, + 19365 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2928, + "character": 10, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + }, + { + "id": 19373, + "name": "ExtractOptions", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19374, + "name": "model", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1899, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 19378, + "name": "ModelConfiguration", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 19377, + "name": "page", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1902, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "playwright-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/node_modules/puppeteer-core/lib/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "puppeteer-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/patchright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "patchright-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "@browserbasehq/stagehand" + } + ] + } + }, + { + "id": 19376, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1901, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19375, + "name": "timeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1900, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19374, + 19377, + 19376, + 19375 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1898, + "character": 10, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + }, + { + "id": 19381, + "name": "ObserveOptions", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19382, + "name": "model", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1911, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 19378, + "name": "ModelConfiguration", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 19385, + "name": "page", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1914, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "playwright-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/node_modules/puppeteer-core/lib/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "puppeteer-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/patchright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "patchright-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "@browserbasehq/stagehand" + } + ] + } + }, + { + "id": 19384, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1913, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19383, + "name": "timeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1912, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19382, + 19385, + 19384, + 19383 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1910, + "character": 10, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + }, + { + "id": 19165, + "name": "StagehandCrawlerOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for StagehandCrawler." + } + ] + }, + "children": [ + { + "id": 19201, + "name": "autoscaledPoolOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom options passed to the underlying " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPool" + }, + { + "kind": "text", + "text": " constructor.\n> *NOTE:* The " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPoolOptions.runTaskFunction|`runTaskFunction`" + }, + { + "kind": "text", + "text": "\noption is provided by the crawler and cannot be overridden.\nHowever, we can provide custom implementations of " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPoolOptions.isFinishedFunction|`isFinishedFunction`" + }, + { + "kind": "text", + "text": "\nand " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPoolOptions.isTaskReadyFunction|`isTaskReadyFunction`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 297, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L297", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 284, + "name": "AutoscaledPoolOptions", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9316, + "name": "BrowserCrawlerOptions.autoscaledPoolOptions" + } + }, + { + "id": 19179, + "name": "browserPoolOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom options passed to the underlying " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BrowserPool" + }, + { + "kind": "text", + "text": " constructor.\nWe can tweak those to fine-tune browser management." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 196, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L196", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6543, + "typeArguments": [ + { + "type": "reference", + "target": 6330, + "typeArguments": [ + { + "type": "reference", + "target": 6322, + "name": "CommonLibrary", + "package": "@crawlee/browser-pool" + }, + { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ] + }, + { + "type": "reference", + "target": { + "sourceFileName": "../packages/browser-pool/src/abstract-classes/browser-plugin.ts", + "qualifiedName": "CommonBrowser" + }, + "name": "CommonBrowser", + "package": "@crawlee/browser-pool" + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../packages/browser-pool/src/abstract-classes/browser-plugin.ts", + "qualifiedName": "CommonPage" + }, + "name": "CommonPage", + "package": "@crawlee/browser-pool" + } + ], + "name": "BrowserPlugin", + "package": "@crawlee/browser-pool" + } + ], + "name": "BrowserPoolOptions", + "package": "@crawlee/browser-pool" + } + ], + "name": "Partial", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6593, + "typeArguments": [ + { + "type": "intrinsic", + "name": "never" + }, + { + "type": "intrinsic", + "name": "never" + }, + { + "type": "intrinsic", + "name": "never" + } + ], + "name": "BrowserPoolHooks", + "package": "@crawlee/browser-pool" + } + ], + "name": "Partial", + "package": "typescript" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 9292, + "name": "BrowserCrawlerOptions.browserPoolOptions" + } + }, + { + "id": 19177, + "name": "errorHandler", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "User-provided function that allows modifying the request object before it gets retried by the crawler.\nIt's executed before each retry for the requests that failed less than " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BrowserCrawlerOptions.maxRequestRetries|`maxRequestRetries`" + }, + { + "kind": "text", + "text": " times.\n\nThe function receives the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BrowserCrawlingContext" + }, + { + "kind": "text", + "text": "\n(actual context will be enhanced with the crawler specific properties) as the first argument,\nwhere the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BrowserCrawlingContext.request|`request`" + }, + { + "kind": "text", + "text": " corresponds to the request to be retried.\nSecond argument is the " + }, + { + "kind": "code", + "text": "`Error`" + }, + { + "kind": "text", + "text": " instance that\nrepresents the last error thrown during processing of the request." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 165, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L165", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 9276, + "typeArguments": [ + { + "type": "reference", + "target": 19108, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + } + ], + "name": "BrowserErrorHandler", + "package": "@crawlee/browser" + }, + "inheritedFrom": { + "type": "reference", + "target": 9289, + "name": "BrowserCrawlerOptions.errorHandler" + } + }, + { + "id": 19211, + "name": "experiments", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enables experimental features of Crawlee, which can alter the behavior of the crawler.\nWARNING: these options are not guaranteed to be stable and may change or be removed at any time." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 399, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L399", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 8680, + "name": "CrawlerExperiments", + "package": "@crawlee/basic" + }, + "inheritedFrom": { + "type": "reference", + "target": 9326, + "name": "BrowserCrawlerOptions.experiments" + } + }, + { + "id": 19171, + "name": "failedRequestHandler", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function called when request handling fails after all retries." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 306, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L306", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 19157, + "name": "StagehandRequestHandler", + "package": "@crawlee/stagehand" + }, + "overwrites": { + "type": "reference", + "target": 9290, + "name": "BrowserCrawlerOptions.failedRequestHandler" + } + }, + { + "id": 19183, + "name": "headless", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to run browser in headless mode. Defaults to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ".\nCan be also set via " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Configuration" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 262, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L262", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": "new" + }, + { + "type": "literal", + "value": "old" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 9298, + "name": "BrowserCrawlerOptions.headless" + } + }, + { + "id": 19213, + "name": "httpClient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "HTTP client implementation for the " + }, + { + "kind": "code", + "text": "`sendRequest`" + }, + { + "kind": "text", + "text": " context helper and for plain HTTP crawling.\nDefaults to a new instance of " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "GotScrapingHttpClient" + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 411, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L411", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 1663, + "name": "BaseHttpClient", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9328, + "name": "BrowserCrawlerOptions.httpClient" + } + }, + { + "id": 19185, + "name": "ignoreIframes", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to ignore " + }, + { + "kind": "code", + "text": "`iframes`" + }, + { + "kind": "text", + "text": " when processing the page content via " + }, + { + "kind": "code", + "text": "`parseWithCheerio`" + }, + { + "kind": "text", + "text": " helper.\nBy default, " + }, + { + "kind": "code", + "text": "`iframes`" + }, + { + "kind": "text", + "text": " are expanded automatically. Use this option to disable this behavior." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 274, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L274", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9300, + "name": "BrowserCrawlerOptions.ignoreIframes" + } + }, + { + "id": 19184, + "name": "ignoreShadowRoots", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to ignore custom elements (and their #shadow-roots) when processing the page content via " + }, + { + "kind": "code", + "text": "`parseWithCheerio`" + }, + { + "kind": "text", + "text": " helper.\nBy default, they are expanded automatically. Use this option to disable this behavior." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 268, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L268", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9299, + "name": "BrowserCrawlerOptions.ignoreShadowRoots" + } + }, + { + "id": 19205, + "name": "keepAlive", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Allows to keep the crawler alive even if the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "RequestQueue" + }, + { + "kind": "text", + "text": " gets empty.\nBy default, the " + }, + { + "kind": "code", + "text": "`crawler.run()`" + }, + { + "kind": "text", + "text": " will resolve once the queue is empty. With " + }, + { + "kind": "code", + "text": "`keepAlive: true`" + }, + { + "kind": "text", + "text": " it will keep running,\nwaiting for more requests to come. Use " + }, + { + "kind": "code", + "text": "`crawler.stop()`" + }, + { + "kind": "text", + "text": " to exit the crawler gracefully, or " + }, + { + "kind": "code", + "text": "`crawler.teardown()`" + }, + { + "kind": "text", + "text": " to stop it immediately." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 325, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L325", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9320, + "name": "BrowserCrawlerOptions.keepAlive" + } + }, + { + "id": 19169, + "name": "launchContext", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Launch context with Stagehand-specific options." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 254, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L254", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 19214, + "name": "StagehandLaunchContext", + "package": "@crawlee/stagehand" + }, + "overwrites": { + "type": "reference", + "target": 9286, + "name": "BrowserCrawlerOptions.launchContext" + } + }, + { + "id": 19203, + "name": "maxConcurrency", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sets the maximum concurrency (parallelism) for the crawl. Shortcut for the\nAutoscaledPool " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPoolOptions.maxConcurrency|`maxConcurrency`" + }, + { + "kind": "text", + "text": " option." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 311, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L311", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9318, + "name": "BrowserCrawlerOptions.maxConcurrency" + } + }, + { + "id": 19200, + "name": "maxCrawlDepth", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Maximum depth of the crawl. If not set, the crawl will continue until all requests are processed.\nSetting this to " + }, + { + "kind": "code", + "text": "`0`" + }, + { + "kind": "text", + "text": " will only process the initial requests, skipping all links enqueued by " + }, + { + "kind": "code", + "text": "`crawlingContext.enqueueLinks`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`crawlingContext.addRequests`" + }, + { + "kind": "text", + "text": ".\nPassing " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": " will process the initial requests and all links enqueued by " + }, + { + "kind": "code", + "text": "`crawlingContext.enqueueLinks`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`crawlingContext.addRequests`" + }, + { + "kind": "text", + "text": " in the handler for initial requests." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 288, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L288", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9315, + "name": "BrowserCrawlerOptions.maxCrawlDepth" + } + }, + { + "id": 19196, + "name": "maxRequestRetries", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specifies the maximum number of retries allowed for a request if its processing fails.\nThis includes retries due to navigation errors or errors thrown from user-supplied functions\n(" + }, + { + "kind": "code", + "text": "`requestHandler`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`preNavigationHooks`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`postNavigationHooks`" + }, + { + "kind": "text", + "text": ").\n\nThis limit does not apply to retries triggered by session rotation\n(see " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawlerOptions.maxSessionRotations|`maxSessionRotations`" + }, + { + "kind": "text", + "text": ")." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n3\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 259, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L259", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9311, + "name": "BrowserCrawlerOptions.maxRequestRetries" + } + }, + { + "id": 19199, + "name": "maxRequestsPerCrawl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Maximum number of pages that the crawler will open. The crawl will stop when this limit is reached.\nThis value should always be set in order to prevent infinite loops in misconfigured crawlers.\n> *NOTE:* In cases of parallel crawling, the actual number of pages visited might be slightly higher than this value." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 281, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L281", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9314, + "name": "BrowserCrawlerOptions.maxRequestsPerCrawl" + } + }, + { + "id": 19204, + "name": "maxRequestsPerMinute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The maximum number of requests per minute the crawler should run.\nBy default, this is set to " + }, + { + "kind": "code", + "text": "`Infinity`" + }, + { + "kind": "text", + "text": ", but we can pass any positive, non-zero integer.\nShortcut for the AutoscaledPool " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPoolOptions.maxTasksPerMinute|`maxTasksPerMinute`" + }, + { + "kind": "text", + "text": " option." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 318, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L318", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9319, + "name": "BrowserCrawlerOptions.maxRequestsPerMinute" + } + }, + { + "id": 19198, + "name": "maxSessionRotations", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Maximum number of session rotations per request.\nThe crawler will automatically rotate the session in case of a proxy error or if it gets blocked by the website.\n\nThe session rotations are not counted towards the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawlerOptions.maxRequestRetries|`maxRequestRetries`" + }, + { + "kind": "text", + "text": " limit." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n10\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 274, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L274", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9313, + "name": "BrowserCrawlerOptions.maxSessionRotations" + } + }, + { + "id": 19202, + "name": "minConcurrency", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sets the minimum concurrency (parallelism) for the crawl. Shortcut for the\nAutoscaledPool " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "AutoscaledPoolOptions.minConcurrency|`minConcurrency`" + }, + { + "kind": "text", + "text": " option.\n> *WARNING:* If we set this value too high with respect to the available system memory and CPU, our crawler will run extremely slow or crash.\nIf not sure, it's better to keep the default value and the concurrency will scale up automatically." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 305, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L305", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9317, + "name": "BrowserCrawlerOptions.minConcurrency" + } + }, + { + "id": 19181, + "name": "navigationTimeoutSecs", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Timeout in which page navigation needs to finish, in seconds." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 250, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L250", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9296, + "name": "BrowserCrawlerOptions.navigationTimeoutSecs" + } + }, + { + "id": 19190, + "name": "onSkippedRequest", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When a request is skipped for some reason, you can use this callback to act on it.\nThis is currently fired for requests skipped\n1. based on robots.txt file,\n2. because they don't match enqueueLinks filters,\n3. because they are redirected to a URL that doesn't match the enqueueLinks strategy,\n4. or because the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawlerOptions.maxRequestsPerCrawl|`maxRequestsPerCrawl`" + }, + { + "kind": "text", + "text": " limit has been reached\n\nWhen " + }, + { + "kind": "code", + "text": "`enqueueLinks`" + }, + { + "kind": "text", + "text": " is called with its own " + }, + { + "kind": "code", + "text": "`onSkippedRequest`" + }, + { + "kind": "text", + "text": " callback, both are invoked — this one first,\nthen the " + }, + { + "kind": "code", + "text": "`enqueueLinks`" + }, + { + "kind": "text", + "text": " one." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 390, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L390", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 1404, + "name": "SkippedRequestCallback", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9305, + "name": "BrowserCrawlerOptions.onSkippedRequest" + } + }, + { + "id": 19182, + "name": "persistCookiesPerSession", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Defines whether the cookies should be persisted for sessions.\nThis can only be used when " + }, + { + "kind": "code", + "text": "`useSessionPool`" + }, + { + "kind": "text", + "text": " is set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 256, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L256", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9297, + "name": "BrowserCrawlerOptions.persistCookiesPerSession" + } + }, + { + "id": 19173, + "name": "postNavigationHooks", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Async functions that are sequentially evaluated after the navigation." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 316, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L316", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 19148, + "name": "StagehandHook", + "package": "@crawlee/stagehand" + } + }, + "overwrites": { + "type": "reference", + "target": 9295, + "name": "BrowserCrawlerOptions.postNavigationHooks" + } + }, + { + "id": 19172, + "name": "preNavigationHooks", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Async functions that are sequentially evaluated before the navigation." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 311, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L311", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 19148, + "name": "StagehandHook", + "package": "@crawlee/stagehand" + } + }, + "overwrites": { + "type": "reference", + "target": 9294, + "name": "BrowserCrawlerOptions.preNavigationHooks" + } + }, + { + "id": 19180, + "name": "proxyConfiguration", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set, the crawler will be configured for all connections to use\nthe Proxy URLs provided and rotated according to the configuration." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 203, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L203", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 2277, + "name": "ProxyConfiguration", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9293, + "name": "BrowserCrawlerOptions.proxyConfiguration" + } + }, + { + "id": 19170, + "name": "requestHandler", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function that is called to process each request.\n\nThe function receives the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "StagehandCrawlingContext" + }, + { + "kind": "text", + "text": " as an argument, where:\n- " + }, + { + "kind": "code", + "text": "`request`" + }, + { + "kind": "text", + "text": " is an instance of the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Request" + }, + { + "kind": "text", + "text": " object with details about the URL to open, HTTP method etc.\n- " + }, + { + "kind": "code", + "text": "`page`" + }, + { + "kind": "text", + "text": " is an enhanced Playwright [" + }, + { + "kind": "code", + "text": "`Page`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page) with AI methods\n- " + }, + { + "kind": "code", + "text": "`browserController`" + }, + { + "kind": "text", + "text": " is an instance of " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "StagehandController" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`response`" + }, + { + "kind": "text", + "text": " is the main resource response as returned by " + }, + { + "kind": "code", + "text": "`page.goto(request.url)`" + }, + { + "kind": "text", + "text": "\n- " + }, + { + "kind": "code", + "text": "`stagehand`" + }, + { + "kind": "text", + "text": " is the Stagehand instance for advanced control\n\nThe page object is enhanced with AI-powered methods:\n- " + }, + { + "kind": "code", + "text": "`page.act(instruction)`" + }, + { + "kind": "text", + "text": " - Perform actions using natural language\n- " + }, + { + "kind": "code", + "text": "`page.extract(instruction, schema)`" + }, + { + "kind": "text", + "text": " - Extract structured data\n- " + }, + { + "kind": "code", + "text": "`page.observe()`" + }, + { + "kind": "text", + "text": " - Get AI-suggested actions\n- " + }, + { + "kind": "code", + "text": "`page.agent(config)`" + }, + { + "kind": "text", + "text": " - Create autonomous agents\n\nThe function must return a promise, which is then awaited by the crawler.\n\nIf the function throws an exception, the crawler will try to re-crawl the\nrequest later, up to " + }, + { + "kind": "code", + "text": "`option.maxRequestRetries`" + }, + { + "kind": "text", + "text": " times." + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nasync requestHandler({ request, page, log }) {\n log.info(`Processing ${request.url}`);\n\n // Use AI-powered actions\n await page.act('Click the Products menu');\n\n // Extract structured data\n const products = await page.extract(\n 'Get all products',\n z.object({\n items: z.array(z.object({\n name: z.string(),\n price: z.number(),\n })),\n })\n );\n\n // Mix with standard Playwright methods\n await page.screenshot({ path: 'products.png' });\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 301, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L301", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 19157, + "name": "StagehandRequestHandler", + "package": "@crawlee/stagehand" + }, + "overwrites": { + "type": "reference", + "target": 9287, + "name": "BrowserCrawlerOptions.requestHandler" + } + }, + { + "id": 19194, + "name": "requestHandlerTimeoutSecs", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Timeout in which the function passed as " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawlerOptions.requestHandler|`requestHandler`" + }, + { + "kind": "text", + "text": " needs to finish, in seconds." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n60\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 206, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L206", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9309, + "name": "BrowserCrawlerOptions.requestHandlerTimeoutSecs" + } + }, + { + "id": 19192, + "name": "requestList", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Static list of URLs to be processed.\nIf not provided, the crawler will open the default request queue when the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawler.addRequests|`crawler.addRequests()`" + }, + { + "kind": "text", + "text": " function is called.\n> Alternatively, " + }, + { + "kind": "code", + "text": "`requests`" + }, + { + "kind": "text", + "text": " parameter of " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawler.run|`crawler.run()`" + }, + { + "kind": "text", + "text": " could be used to enqueue the initial requests -\nit is a shortcut for running " + }, + { + "kind": "code", + "text": "`crawler.addRequests()`" + }, + { + "kind": "text", + "text": " before the " + }, + { + "kind": "code", + "text": "`crawler.run()`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 184, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L184", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 3442, + "name": "IRequestList", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9307, + "name": "BrowserCrawlerOptions.requestList" + } + }, + { + "id": 19193, + "name": "requestManager", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Allows explicitly configuring a request manager. Mutually exclusive with the " + }, + { + "kind": "code", + "text": "`requestQueue`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`requestList`" + }, + { + "kind": "text", + "text": " options.\n\nThis enables explicitly configuring the crawler to use " + }, + { + "kind": "code", + "text": "`RequestManagerTandem`" + }, + { + "kind": "text", + "text": ", for instance.\nIf using this, the type of " + }, + { + "kind": "code", + "text": "`BasicCrawler.requestQueue`" + }, + { + "kind": "text", + "text": " may not be fully compatible with the " + }, + { + "kind": "code", + "text": "`RequestProvider`" + }, + { + "kind": "text", + "text": " class." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 200, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L200", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 3611, + "name": "IRequestManager", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9308, + "name": "BrowserCrawlerOptions.requestManager" + } + }, + { + "id": 19186, + "name": "requestQueue", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Dynamic queue of URLs to be processed. This is useful for recursive crawling of websites.\nIf not provided, the crawler will open the default request queue when the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawler.addRequests|`crawler.addRequests()`" + }, + { + "kind": "text", + "text": " function is called.\n> Alternatively, " + }, + { + "kind": "code", + "text": "`requests`" + }, + { + "kind": "text", + "text": " parameter of " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawler.run|`crawler.run()`" + }, + { + "kind": "text", + "text": " could be used to enqueue the initial requests -\nit is a shortcut for running " + }, + { + "kind": "code", + "text": "`crawler.addRequests()`" + }, + { + "kind": "text", + "text": " before the " + }, + { + "kind": "code", + "text": "`crawler.run()`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 192, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L192", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 3642, + "name": "RequestProvider", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9301, + "name": "BrowserCrawlerOptions.requestQueue" + } + }, + { + "id": 19187, + "name": "respectRobotsTxtFile", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the crawler will automatically try to fetch the robots.txt file for each domain,\nand skip those that are not allowed. This also prevents disallowed URLs to be added via " + }, + { + "kind": "code", + "text": "`enqueueLinks`" + }, + { + "kind": "text", + "text": ".\n\nIf an object is provided, it may contain a " + }, + { + "kind": "code", + "text": "`userAgent`" + }, + { + "kind": "text", + "text": " property to specify which user-agent\nshould be used when checking the robots.txt file. If not provided, the default user-agent " + }, + { + "kind": "code", + "text": "`*`" + }, + { + "kind": "text", + "text": " will be used." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 377, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L377", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reflection", + "declaration": { + "id": 19188, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 19189, + "name": "userAgent", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 377, + "character": 39, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L377", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19189 + ] + } + ], + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 377, + "character": 37, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L377", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 9302, + "name": "BrowserCrawlerOptions.respectRobotsTxtFile" + } + }, + { + "id": 19210, + "name": "retryOnBlocked", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the crawler will automatically try to bypass any detected bot protection.\n\nCurrently supports:\n- [**Cloudflare** Bot Management](https://www.cloudflare.com/products/bot-management/)\n- [**Google Search** Rate Limiting](https://www.google.com/sorry/)" + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 368, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L368", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9325, + "name": "BrowserCrawlerOptions.retryOnBlocked" + } + }, + { + "id": 19197, + "name": "sameDomainDelaySecs", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Indicates how much time (in seconds) to wait before crawling another same domain request." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n0\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 265, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L265", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9312, + "name": "BrowserCrawlerOptions.sameDomainDelaySecs" + } + }, + { + "id": 19207, + "name": "sessionPoolOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The configuration options for " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "SessionPool" + }, + { + "kind": "text", + "text": " to use." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 336, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L336", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 2712, + "name": "SessionPoolOptions", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9322, + "name": "BrowserCrawlerOptions.sessionPoolOptions" + } + }, + { + "id": 19168, + "name": "stagehandOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Stagehand-specific configuration options.\nThese options configure the AI behavior and Browserbase integration." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 249, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L249", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 17283, + "name": "StagehandOptions", + "package": "@crawlee/stagehand" + } + }, + { + "id": 19212, + "name": "statisticsOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Customize the way statistics collecting works, such as logging interval or\nwhether to output them to the Key-Value store." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 405, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L405", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 1152, + "name": "StatisticsOptions", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9327, + "name": "BrowserCrawlerOptions.statisticsOptions" + } + }, + { + "id": 19209, + "name": "statusMessageCallback", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Allows overriding the default status message. The callback needs to call " + }, + { + "kind": "code", + "text": "`crawler.setStatusMessage()`" + }, + { + "kind": "text", + "text": " explicitly.\nThe default status message is provided in the parameters.\n\n" + }, + { + "kind": "code", + "text": "```ts\nconst crawler = new CheerioCrawler({\n statusMessageCallback: async (ctx) => {\n return ctx.crawler.setStatusMessage(`this is status message from ${new Date().toISOString()}`, { level: 'INFO' }); // log level defaults to 'DEBUG'\n },\n statusMessageLoggingInterval: 1, // defaults to 10s\n async requestHandler({ $, enqueueLinks, request, log }) {\n // ...\n },\n});\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 359, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L359", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 8639, + "typeArguments": [ + { + "type": "reference", + "target": 8562, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "BasicCrawlingContext", + "package": "@crawlee/basic" + }, + { + "type": "reference", + "target": 8682, + "typeArguments": [ + { + "type": "reference", + "target": 8562, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "BasicCrawlingContext", + "package": "@crawlee/basic" + } + ], + "name": "BasicCrawler", + "package": "@crawlee/basic" + } + ], + "name": "StatusMessageCallback", + "package": "@crawlee/basic" + }, + "inheritedFrom": { + "type": "reference", + "target": 9324, + "name": "BrowserCrawlerOptions.statusMessageCallback" + } + }, + { + "id": 19208, + "name": "statusMessageLoggingInterval", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Defines the length of the interval for calling the " + }, + { + "kind": "code", + "text": "`setStatusMessage`" + }, + { + "kind": "text", + "text": " in seconds." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 341, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L341", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9323, + "name": "BrowserCrawlerOptions.statusMessageLoggingInterval" + } + }, + { + "id": 19206, + "name": "useSessionPool", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Basic crawler will initialize the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "SessionPool" + }, + { + "kind": "text", + "text": " with the corresponding " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "SessionPoolOptions|`sessionPoolOptions`" + }, + { + "kind": "text", + "text": ".\nThe session instance will be than available in the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BasicCrawlerOptions.requestHandler|`requestHandler`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 331, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/basic-crawler/src/internals/basic-crawler.ts#L331", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9321, + "name": "BrowserCrawlerOptions.useSessionPool" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19201, + 19179, + 19177, + 19211, + 19171, + 19183, + 19213, + 19185, + 19184, + 19205, + 19169, + 19203, + 19200, + 19196, + 19199, + 19204, + 19198, + 19202, + 19181, + 19190, + 19182, + 19173, + 19172, + 19180, + 19170, + 19194, + 19192, + 19193, + 19186, + 19187, + 19210, + 19197, + 19207, + 19168, + 19212, + 19209, + 19208, + 19206 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 243, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L243", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 9285, + "typeArguments": [ + { + "type": "reference", + "target": 19108, + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + }, + { + "type": "reflection", + "declaration": { + "id": 19166, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 19167, + "name": "browserPlugins", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 244, + "character": 62, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L244", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "tuple", + "elements": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/stagehand-crawler/src/internals/stagehand-plugin.ts", + "qualifiedName": "StagehandPlugin" + }, + "name": "StagehandPlugin", + "package": "@crawlee/stagehand" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19167 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 244, + "character": 60, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L244", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ], + "name": "BrowserCrawlerOptions", + "package": "@crawlee/browser" + } + ] + }, + { + "id": 19108, + "name": "StagehandCrawlingContext", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Crawling context for StagehandCrawler with enhanced page object." + } + ] + }, + "children": [ + { + "id": 19133, + "name": "addRequests", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Add requests directly to the request queue." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 89, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L89", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19134, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 89, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L89", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19135, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 89, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L89", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19136, + "name": "requestsLike", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "typeOperator", + "operator": "readonly", + "target": { + "type": "array", + "elementType": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/type-fest/source/readonly-deep.d.ts", + "qualifiedName": "ReadonlyObjectDeep" + }, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2389, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "RequestOptions", + "package": "@crawlee/core" + } + ], + "name": "Partial", + "package": "typescript" + }, + { + "type": "reflection", + "declaration": { + "id": 19137, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 19139, + "name": "regex", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/src/request.ts", + "line": 583, + "character": 76, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/request.ts#L583", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "RegExp" + }, + "name": "RegExp", + "package": "typescript" + } + }, + { + "id": 19138, + "name": "requestsFromUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/core/src/request.ts", + "line": 583, + "character": 50, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/request.ts#L583", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19139, + 19138 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/src/request.ts", + "line": 583, + "character": 48, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/request.ts#L583", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ] + } + ], + "name": "ReadonlyObjectDeep", + "package": "type-fest" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/type-fest/source/readonly-deep.d.ts", + "qualifiedName": "ReadonlyObjectDeep" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2326, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "Request", + "package": "@crawlee/core" + } + ], + "name": "ReadonlyObjectDeep", + "package": "type-fest" + } + ] + } + } + } + }, + { + "id": 19140, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for the request queue" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/type-fest/source/readonly-deep.d.ts", + "qualifiedName": "ReadonlyObjectDeep" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3760, + "name": "RequestQueueOperationOptions", + "package": "@crawlee/core" + } + ], + "name": "ReadonlyObjectDeep", + "package": "type-fest" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 9255, + "name": "BrowserCrawlingContext.addRequests" + } + }, + { + "id": 19111, + "name": "browserController", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 61, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L61", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../packages/stagehand-crawler/src/internals/stagehand-controller.ts", + "qualifiedName": "StagehandController" + }, + "name": "StagehandController", + "package": "@crawlee/stagehand" + }, + "inheritedFrom": { + "type": "reference", + "target": 9232, + "name": "BrowserCrawlingContext.browserController" + } + }, + { + "id": 19113, + "name": "crawler", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 114, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L114", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 16944, + "name": "StagehandCrawler", + "package": "@crawlee/stagehand" + }, + "inheritedFrom": { + "type": "reference", + "target": 9235, + "name": "BrowserCrawlingContext.crawler" + } + }, + { + "id": 19117, + "name": "getKeyValueStore", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Get a key-value store with given name or id, or the default one for the crawler." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 148, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L148", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19118, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 148, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L148", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19119, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 148, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L148", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19120, + "name": "idOrName", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3325, + "name": "KeyValueStore", + "package": "@crawlee/core" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 9239, + "name": "BrowserCrawlingContext.getKeyValueStore" + } + }, + { + "id": 19125, + "name": "id", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 34, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L34", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 9247, + "name": "BrowserCrawlingContext.id" + } + }, + { + "id": 19146, + "name": "log", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A preconfigured logger for the request handler." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 109, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L109", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 1684, + "name": "Log", + "package": "@apify/log" + }, + "inheritedFrom": { + "type": "reference", + "target": 9268, + "name": "BrowserCrawlingContext.log" + } + }, + { + "id": 19109, + "name": "page", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enhanced Playwright page with Stagehand AI methods.\nUse page.act(), page.extract(), page.observe(), page.agent() for AI-powered operations." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 216, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L216", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 17295, + "name": "StagehandPage", + "package": "@crawlee/stagehand" + }, + "overwrites": { + "type": "reference", + "target": 9233, + "name": "BrowserCrawlingContext.page" + } + }, + { + "id": 19127, + "name": "proxyInfo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object with information about currently used proxy by the crawler\nand configured by the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "ProxyConfiguration" + }, + { + "kind": "text", + "text": " class." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 41, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L41", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 2269, + "name": "ProxyInfo", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9249, + "name": "BrowserCrawlingContext.proxyInfo" + } + }, + { + "id": 19128, + "name": "request", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The original " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Request" + }, + { + "kind": "text", + "text": " object." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 46, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L46", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 2326, + "typeArguments": [ + { + "type": "reference", + "target": 19147, + "name": "UserData", + "package": "@crawlee/stagehand", + "qualifiedName": "StagehandCrawlingContext.UserData", + "refersToTypeParameter": true + } + ], + "name": "Request", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9250, + "name": "BrowserCrawlingContext.request" + } + }, + { + "id": 19112, + "name": "response", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 63, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-crawler.ts#L63", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9234, + "name": "BrowserCrawlingContext.response" + } + }, + { + "id": 19126, + "name": "session", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 35, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L35", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 2628, + "name": "Session", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9248, + "name": "BrowserCrawlingContext.session" + } + }, + { + "id": 19110, + "name": "stagehand", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Stagehand instance for advanced control.\nUsually you don't need to access this directly - use the enhanced page methods instead." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 222, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L222", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 19386, + "name": "V3", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 19141, + "name": "useState", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Returns the state - a piece of mutable persistent data shared across all the request handler runs." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 97, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L97", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19142, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 97, + "character": 14, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L97", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19143, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 97, + "character": 14, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L97", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 19144, + "name": "State", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + } + ], + "parameters": [ + { + "id": 19145, + "name": "defaultValue", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 943, + "name": "State", + "package": "@crawlee/core", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 943, + "name": "State", + "package": "@crawlee/core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 9263, + "name": "BrowserCrawlingContext.useState" + } + }, + { + "id": 19114, + "name": "enqueueLinks", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This function automatically finds and enqueues links from the current page, adding them to the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "RequestQueue" + }, + { + "kind": "text", + "text": "\ncurrently used by the crawler.\n\nOptionally, the function allows you to filter the target links' URLs using an array of globs or regular expressions\nand override settings of the enqueued " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Request" + }, + { + "kind": "text", + "text": " objects.\n\nCheck out the [Crawl a website with relative links](https://crawlee.dev/js/docs/examples/crawl-relative-links) example\nfor more details regarding its usage.\n\n**Example usage**\n\n" + }, + { + "kind": "code", + "text": "```ts\nasync requestHandler({ enqueueLinks }) {\n await enqueueLinks({\n globs: [\n 'https://www.example.com/handbags/*',\n ],\n });\n},\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 141, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L141", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19115, + "name": "enqueueLinks", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This function automatically finds and enqueues links from the current page, adding them to the " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "RequestQueue" + }, + { + "kind": "text", + "text": "\ncurrently used by the crawler.\n\nOptionally, the function allows you to filter the target links' URLs using an array of globs or regular expressions\nand override settings of the enqueued " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Request" + }, + { + "kind": "text", + "text": " objects.\n\nCheck out the [Crawl a website with relative links](https://crawlee.dev/js/docs/examples/crawl-relative-links) example\nfor more details regarding its usage.\n\n**Example usage**\n\n" + }, + { + "kind": "code", + "text": "```ts\nasync requestHandler({ enqueueLinks }) {\n await enqueueLinks({\n globs: [\n 'https://www.example.com/handbags/*',\n ],\n });\n},\n```" + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise that resolves to " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "BatchAddRequestsResult" + }, + { + "kind": "text", + "text": " object." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 141, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L141", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19116, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "All " + }, + { + "kind": "code", + "text": "`enqueueLinks()`" + }, + { + "kind": "text", + "text": " parameters are passed via an options object." + } + ] + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/type-fest/source/readonly-deep.d.ts", + "qualifiedName": "ReadonlyObjectDeep" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1317, + "name": "EnqueueLinksOptions", + "package": "@crawlee/core" + }, + { + "type": "literal", + "value": "requestQueue" + } + ], + "name": "Omit", + "package": "typescript" + } + ], + "name": "ReadonlyObjectDeep", + "package": "type-fest" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Pick" + }, + "typeArguments": [ + { + "type": "reference", + "target": 1317, + "name": "EnqueueLinksOptions", + "package": "@crawlee/core" + }, + { + "type": "literal", + "value": "requestQueue" + } + ], + "name": "Pick", + "package": "typescript" + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 20470, + "name": "BatchAddRequestsResult", + "package": "@crawlee/types" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9237, + "name": "BrowserCrawlingContext.enqueueLinks" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9236, + "name": "BrowserCrawlingContext.enqueueLinks" + } + }, + { + "id": 19129, + "name": "pushData", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 55, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L55", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19130, + "name": "pushData", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This function allows you to push data to a " + }, + { + "kind": "inline-tag", + "tag": "@apilink", + "text": "Dataset" + }, + { + "kind": "text", + "text": " specified by name, or the one currently used by the crawler.\n\nShortcut for " + }, + { + "kind": "code", + "text": "`crawler.pushData()`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 55, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L55", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19131, + "name": "data", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Data to be pushed to the default dataset." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/type-fest/source/readonly-deep.d.ts", + "qualifiedName": "ReadonlyDeep" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + }, + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + } + ] + } + ], + "name": "ReadonlyDeep", + "package": "type-fest" + } + }, + { + "id": 19132, + "name": "datasetIdOrName", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9252, + "name": "BrowserCrawlingContext.pushData" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9251, + "name": "BrowserCrawlingContext.pushData" + } + }, + { + "id": 19121, + "name": "sendRequest", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 167, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L167", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19122, + "name": "sendRequest", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Fires HTTP request via [" + }, + { + "kind": "code", + "text": "`got-scraping`" + }, + { + "kind": "text", + "text": "](https://crawlee.dev/js/docs/guides/got-scraping), allowing to override the request\noptions on the fly.\n\nThis is handy when you work with a browser crawler but want to execute some requests outside it (e.g. API requests).\nCheck the [Skipping navigations for certain requests](https://crawlee.dev/js/docs/examples/skip-navigation) example for\nmore detailed explanation of how to do that.\n\n" + }, + { + "kind": "code", + "text": "```ts\nasync requestHandler({ sendRequest }) {\n const { body } = await sendRequest({\n // override headers only\n headers: { ... },\n });\n},\n```" + } + ] + }, + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 167, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/core/src/crawlers/crawler_commons.ts#L167", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 19123, + "name": "Response", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 19124, + "name": "overrideOptions", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/got-scraping/dist/index.d.ts", + "qualifiedName": "OptionsInit" + }, + "name": "OptionsInit", + "package": "got-scraping" + } + ], + "name": "Partial", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/got-scraping/node_modules/got/dist/source/core/response.d.ts", + "qualifiedName": "Response" + }, + "typeArguments": [ + { + "type": "reference", + "target": 962, + "name": "Response", + "package": "@crawlee/core", + "refersToTypeParameter": true + } + ], + "name": "Response", + "package": "got" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9244, + "name": "BrowserCrawlingContext.sendRequest" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9243, + "name": "BrowserCrawlingContext.sendRequest" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19133, + 19111, + 19113, + 19117, + 19125, + 19146, + 19109, + 19127, + 19128, + 19112, + 19126, + 19110, + 19141 + ] + }, + { + "title": "Methods", + "children": [ + 19114, + 19129, + 19121 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 210, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L210", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 19147, + "name": "UserData", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + }, + "default": { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 9231, + "typeArguments": [ + { + "type": "reference", + "target": 16944, + "name": "StagehandCrawler", + "package": "@crawlee/stagehand" + }, + { + "type": "reference", + "target": 17295, + "name": "StagehandPage", + "package": "@crawlee/stagehand" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "playwright-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../packages/stagehand-crawler/src/internals/stagehand-controller.ts", + "qualifiedName": "StagehandController" + }, + "name": "StagehandController", + "package": "@crawlee/stagehand" + }, + { + "type": "reference", + "target": 19147, + "name": "UserData", + "package": "@crawlee/stagehand", + "qualifiedName": "StagehandCrawlingContext.UserData", + "refersToTypeParameter": true + } + ], + "name": "BrowserCrawlingContext", + "package": "@crawlee/browser" + } + ] + }, + { + "id": 19148, + "name": "StagehandHook", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Hook function for StagehandCrawler." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 228, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L228", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19149, + "name": "StagehandHook", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 228, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L228", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19150, + "name": "crawlingContext", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 19108, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + } + }, + { + "id": 19151, + "name": "gotoOptions", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + }, + { + "type": "reflection", + "declaration": { + "id": 19152, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 19153, + "name": "referer", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Referer header value. If provided it will take preference over the referer header value set by\n[page.setExtraHTTPHeaders(headers)](https://playwright.dev/docs/api/class-page#page-set-extra-http-headers)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 3419, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19154, + "name": "signal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Allows to cancel the operation using an\n[" + }, + { + "kind": "code", + "text": "`AbortSignal`" + }, + { + "kind": "text", + "text": "](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal). If the signal is aborted, the\noperation will be aborted and throw an error. Note that providing a signal does not disable the default timeout,\nwhich can be changed using\n[browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout)\nor [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout); pass\n" + }, + { + "kind": "code", + "text": "`timeout: 0`" + }, + { + "kind": "text", + "text": " to disable the timeout entirely." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 3430, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "AbortSignal" + }, + "name": "AbortSignal", + "package": "typescript" + } + }, + { + "id": 19155, + "name": "timeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Maximum operation time in milliseconds. Defaults to " + }, + { + "kind": "code", + "text": "`0`" + }, + { + "kind": "text", + "text": " - no timeout. The default value can be changed via\n" + }, + { + "kind": "code", + "text": "`navigationTimeout`" + }, + { + "kind": "text", + "text": " option in the config, or by using the\n[browserContext.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-navigation-timeout),\n[browserContext.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-browsercontext#browser-context-set-default-timeout),\n[page.setDefaultNavigationTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-navigation-timeout)\nor [page.setDefaultTimeout(timeout)](https://playwright.dev/docs/api/class-page#page-set-default-timeout) methods." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 3440, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19156, + "name": "waitUntil", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When to consider operation succeeded, defaults to " + }, + { + "kind": "code", + "text": "`load`" + }, + { + "kind": "text", + "text": ". Events can be either:\n- " + }, + { + "kind": "code", + "text": "`'domcontentloaded'`" + }, + { + "kind": "text", + "text": " - consider operation to be finished when the " + }, + { + "kind": "code", + "text": "`DOMContentLoaded`" + }, + { + "kind": "text", + "text": " event is fired.\n- " + }, + { + "kind": "code", + "text": "`'load'`" + }, + { + "kind": "text", + "text": " - consider operation to be finished when the " + }, + { + "kind": "code", + "text": "`load`" + }, + { + "kind": "text", + "text": " event is fired.\n- " + }, + { + "kind": "code", + "text": "`'networkidle'`" + }, + { + "kind": "text", + "text": " - **DISCOURAGED** consider operation to be finished when there are no network connections for\n at least " + }, + { + "kind": "code", + "text": "`500`" + }, + { + "kind": "text", + "text": " ms. Don't use this method for testing, rely on web assertions to assess readiness instead.\n- " + }, + { + "kind": "code", + "text": "`'commit'`" + }, + { + "kind": "text", + "text": " - consider operation to be finished when network response is received and the document started\n loading." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 3451, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "domcontentloaded" + }, + { + "type": "literal", + "value": "load" + }, + { + "type": "literal", + "value": "networkidle" + }, + { + "type": "literal", + "value": "commit" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19153, + 19154, + 19155, + 19156 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 3414, + "character": 30, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Awaitable" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Awaitable", + "package": "@crawlee/types" + } + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 9278, + "typeArguments": [ + { + "type": "reference", + "target": 19108, + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + }, + { + "type": "reference", + "target": 19164, + "name": "StagehandGotoOptions", + "package": "@crawlee/stagehand" + } + ], + "name": "BrowserHook", + "package": "@crawlee/browser" + } + ] + }, + { + "id": 19214, + "name": "StagehandLaunchContext", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Launch context for Stagehand crawler with AI-specific options." + } + ] + }, + "children": [ + { + "id": 19325, + "name": "browserPerProxy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", the crawler respects the proxy url generated for the given request.\nThis aligns the browser-based crawlers with the " + }, + { + "kind": "code", + "text": "`HttpCrawler`" + }, + { + "kind": "text", + "text": ".\n\nMight cause performance issues, as Crawlee might launch too many browser instances." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-launcher.ts", + "line": 40, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-launcher.ts#L40", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9660, + "name": "BrowserLaunchContext.browserPerProxy" + } + }, + { + "id": 19326, + "name": "experimentalContainers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Like " + }, + { + "kind": "code", + "text": "`useIncognitoPages`" + }, + { + "kind": "text", + "text": ", but for persistent contexts, so cache is used for faster loading.\nWorks best with Firefox. Unstable on Chromium." + } + ], + "modifierTags": [ + "@experimental" + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-launcher.ts", + "line": 54, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-launcher.ts#L54", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9662, + "name": "BrowserLaunchContext.experimentalContainers" + } + }, + { + "id": 19328, + "name": "ignoreProxyCertificate", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", TLS certificate errors from the upstream proxy will be ignored.\nThis is useful when using HTTPS proxies with self-signed certificates." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-launcher.ts", + "line": 74, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-launcher.ts#L74", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9665, + "name": "BrowserLaunchContext.ignoreProxyCertificate" + } + }, + { + "id": 19323, + "name": "launcher", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "By default this function uses " + }, + { + "kind": "code", + "text": "`require(\"playwright\").chromium`" + }, + { + "kind": "text", + "text": ".\nIf you want to use a different browser you can pass it by this property." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-launcher.ts", + "line": 56, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L56", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "BrowserType" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 19324, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ], + "name": "BrowserType", + "package": "playwright-core" + }, + "overwrites": { + "type": "reference", + "target": 9666, + "name": "BrowserLaunchContext.launcher" + } + }, + { + "id": 19215, + "name": "launchOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Playwright launch options.\nThese will be passed to Stagehand's localBrowserLaunchOptions after fingerprinting is applied." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-launcher.ts", + "line": 17, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L17", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "LaunchOptions" + }, + "name": "LaunchOptions", + "package": "playwright-core" + }, + { + "type": "reflection", + "declaration": { + "id": 19216, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 19217, + "name": "acceptDownloads", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to automatically download all the attachments. Defaults to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " where all the downloads are accepted." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17011, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19218, + "name": "args", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** Use custom browser args at your own risk, as some of them may break Playwright functionality.\n\nAdditional arguments to pass to the browser instance. The list of Chromium flags can be found\n[here](https://peter.sh/experiments/chromium-command-line-switches/)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17019, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 19219, + "name": "artifactsDir", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If specified, artifacts (traces, videos, downloads, HAR files, etc.) are saved into this directory. The directory\nis not cleaned up when the browser closes. If not specified, a temporary directory is used and cleaned up when the\nbrowser closes." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17026, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19220, + "name": "baseURL", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When using [page.goto(url[, options])](https://playwright.dev/docs/api/class-page#page-goto),\n[page.route(url, handler[, options])](https://playwright.dev/docs/api/class-page#page-route),\n[page.waitForURL(url[, options])](https://playwright.dev/docs/api/class-page#page-wait-for-url),\n[page.waitForRequest(urlOrPredicate[, options])](https://playwright.dev/docs/api/class-page#page-wait-for-request),\nor\n[page.waitForResponse(urlOrPredicate[, options])](https://playwright.dev/docs/api/class-page#page-wait-for-response)\nit takes the base URL in consideration by using the\n[" + }, + { + "kind": "code", + "text": "`URL()`" + }, + { + "kind": "text", + "text": "](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor for building the corresponding URL.\nUnset by default. Examples:\n- baseURL: " + }, + { + "kind": "code", + "text": "`http://localhost:3000`" + }, + { + "kind": "text", + "text": " and navigating to " + }, + { + "kind": "code", + "text": "`/bar.html`" + }, + { + "kind": "text", + "text": " results in " + }, + { + "kind": "code", + "text": "`http://localhost:3000/bar.html`" + }, + { + "kind": "text", + "text": "\n- baseURL: " + }, + { + "kind": "code", + "text": "`http://localhost:3000/foo/`" + }, + { + "kind": "text", + "text": " and navigating to " + }, + { + "kind": "code", + "text": "`./bar.html`" + }, + { + "kind": "text", + "text": " results in\n " + }, + { + "kind": "code", + "text": "`http://localhost:3000/foo/bar.html`" + }, + { + "kind": "text", + "text": "\n- baseURL: " + }, + { + "kind": "code", + "text": "`http://localhost:3000/foo`" + }, + { + "kind": "text", + "text": " (without trailing slash) and navigating to " + }, + { + "kind": "code", + "text": "`./bar.html`" + }, + { + "kind": "text", + "text": " results in\n " + }, + { + "kind": "code", + "text": "`http://localhost:3000/bar.html`" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17044, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19221, + "name": "bypassCSP", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Toggles bypassing page's Content-Security-Policy. Defaults to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17049, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19222, + "name": "channel", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Browser distribution channel.\n\nUse \"chromium\" to [opt in to new headless mode](https://playwright.dev/docs/browsers#chromium-new-headless-mode).\n\nUse \"chrome\", \"chrome-beta\", \"chrome-dev\", \"chrome-canary\", \"msedge\", \"msedge-beta\", \"msedge-dev\", or\n\"msedge-canary\" to use branded [Google Chrome and Microsoft Edge](https://playwright.dev/docs/browsers#google-chrome--microsoft-edge)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17059, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19223, + "name": "chromiumSandbox", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable Chromium sandboxing. Defaults to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17064, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19224, + "name": "clientCertificates", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "TLS Client Authentication allows the server to request a client certificate and verify it.\n\n**Details**\n\nAn array of client certificates to be used. Each certificate object must have either both " + }, + { + "kind": "code", + "text": "`certPath`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`keyPath`" + }, + { + "kind": "text", + "text": ",\na single " + }, + { + "kind": "code", + "text": "`pfxPath`" + }, + { + "kind": "text", + "text": ", or their corresponding direct value equivalents (" + }, + { + "kind": "code", + "text": "`cert`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`key`" + }, + { + "kind": "text", + "text": ", or " + }, + { + "kind": "code", + "text": "`pfx`" + }, + { + "kind": "text", + "text": "). Optionally,\n" + }, + { + "kind": "code", + "text": "`passphrase`" + }, + { + "kind": "text", + "text": " property should be provided if the certificate is encrypted. The " + }, + { + "kind": "code", + "text": "`origin`" + }, + { + "kind": "text", + "text": " property should be provided\nwith an exact match to the request origin that the certificate is valid for.\n\nClient certificate authentication is only active when at least one client certificate is provided. If you want to\nreject all client certificates sent by the server, you need to provide a client certificate with an " + }, + { + "kind": "code", + "text": "`origin`" + }, + { + "kind": "text", + "text": " that\ndoes not match any of the domains you plan to visit.\n\n**NOTE** When using WebKit on macOS, accessing " + }, + { + "kind": "code", + "text": "`localhost`" + }, + { + "kind": "text", + "text": " will not pick up client certificates. You can make it\nwork by replacing " + }, + { + "kind": "code", + "text": "`localhost`" + }, + { + "kind": "text", + "text": " with " + }, + { + "kind": "code", + "text": "`local.playwright`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17084, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 19225, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19228, + "name": "cert", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Direct value of the certificate in PEM format." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17098, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@types/node/buffer.buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBufferLike" + }, + "name": "ArrayBufferLike", + "package": "typescript" + } + ], + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" + } + }, + { + "id": 19227, + "name": "certPath", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Path to the file with the certificate in PEM format." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17093, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19230, + "name": "key", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Direct value of the private key in PEM format." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17108, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@types/node/buffer.buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBufferLike" + }, + "name": "ArrayBufferLike", + "package": "typescript" + } + ], + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" + } + }, + { + "id": 19229, + "name": "keyPath", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Path to the file with the private key in PEM format." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17103, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19226, + "name": "origin", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Exact origin that the certificate is valid for. Origin includes " + }, + { + "kind": "code", + "text": "`https`" + }, + { + "kind": "text", + "text": " protocol, a hostname and optionally a port." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17088, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19233, + "name": "passphrase", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Passphrase for the private key (PEM or PFX)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17123, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19232, + "name": "pfx", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Direct value of the PFX or PKCS12 encoded private key and certificate chain." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17118, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@types/node/buffer.buffer.d.ts", + "qualifiedName": "__global.Buffer" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "ArrayBufferLike" + }, + "name": "ArrayBufferLike", + "package": "typescript" + } + ], + "name": "Buffer", + "package": "@types/node", + "qualifiedName": "__global.Buffer" + } + }, + { + "id": 19231, + "name": "pfxPath", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Path to the PFX or PKCS12 encoded private key and certificate chain." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17113, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19228, + 19227, + 19230, + 19229, + 19226, + 19233, + 19232, + 19231 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17084, + "character": 31, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + } + }, + { + "id": 19234, + "name": "colorScheme", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emulates [prefers-colors-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme)\nmedia feature, supported values are " + }, + { + "kind": "code", + "text": "`'light'`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`'dark'`" + }, + { + "kind": "text", + "text": ". See\n[page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details.\nPassing " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " resets emulation to system defaults. Defaults to " + }, + { + "kind": "code", + "text": "`'light'`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17132, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "light" + }, + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "no-preference" + } + ] + } + }, + { + "id": 19235, + "name": "contrast", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emulates " + }, + { + "kind": "code", + "text": "`'prefers-contrast'`" + }, + { + "kind": "text", + "text": " media feature, supported values are " + }, + { + "kind": "code", + "text": "`'no-preference'`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`'more'`" + }, + { + "kind": "text", + "text": ". See\n[page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details.\nPassing " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " resets emulation to system defaults. Defaults to " + }, + { + "kind": "code", + "text": "`'no-preference'`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17139, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "no-preference" + }, + { + "type": "literal", + "value": "more" + } + ] + } + }, + { + "id": 19236, + "name": "deviceScaleFactor", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specify device scale factor (can be thought of as dpr). Defaults to " + }, + { + "kind": "code", + "text": "`1`" + }, + { + "kind": "text", + "text": ". Learn more about\n[emulating devices with device scale factor](https://playwright.dev/docs/emulation#devices)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17145, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19237, + "name": "downloadsPath", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If specified, accepted downloads are downloaded into this directory. Otherwise, temporary directory is created and\nis deleted when browser is closed. In either case, the downloads are deleted when the browser context they were\ncreated in is closed." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17152, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19238, + "name": "env", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17154, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19239, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17154, + "character": 10, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "indexSignatures": [ + { + "id": 19240, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17154, + "character": 12, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19241, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "undefined" + } + ] + } + } + ] + } + } + }, + { + "id": 19242, + "name": "executablePath", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Path to a browser executable to run instead of the bundled one. If\n[" + }, + { + "kind": "code", + "text": "`executablePath`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-browsertype#browser-type-launch-persistent-context-option-executable-path)\nis a relative path, then it is resolved relative to the current working directory. Note that Playwright only works\nwith the bundled Chromium, Firefox or WebKit, use at your own risk." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17162, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19243, + "name": "extraHTTPHeaders", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "An object containing additional HTTP headers to be sent with every request. Defaults to none." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17167, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19244, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17167, + "character": 23, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "indexSignatures": [ + { + "id": 19245, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17167, + "character": 25, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19246, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 19247, + "name": "firefoxUserPrefs", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Firefox user preferences. Learn more about the Firefox user preferences at\n[" + }, + { + "kind": "code", + "text": "`about:config`" + }, + { + "kind": "text", + "text": "](https://support.mozilla.org/en-US/kb/about-config-editor-firefox).\n\nYou can also provide a path to a custom [" + }, + { + "kind": "code", + "text": "`policies.json`" + }, + { + "kind": "text", + "text": " file](https://mozilla.github.io/policy-templates/) via\n" + }, + { + "kind": "code", + "text": "`PLAYWRIGHT_FIREFOX_POLICIES_JSON`" + }, + { + "kind": "text", + "text": " environment variable." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17176, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19248, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17176, + "character": 23, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "indexSignatures": [ + { + "id": 19249, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17176, + "character": 25, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 19250, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "intrinsic", + "name": "number" + }, + { + "type": "intrinsic", + "name": "boolean" + } + ] + } + } + ] + } + } + }, + { + "id": 19251, + "name": "forcedColors", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emulates " + }, + { + "kind": "code", + "text": "`'forced-colors'`" + }, + { + "kind": "text", + "text": " media feature, supported values are " + }, + { + "kind": "code", + "text": "`'active'`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`'none'`" + }, + { + "kind": "text", + "text": ". See\n[page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details.\nPassing " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " resets emulation to system defaults. Defaults to " + }, + { + "kind": "code", + "text": "`'none'`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17183, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "active" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 19252, + "name": "geolocation", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17185, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19253, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19256, + "name": "accuracy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Non-negative accuracy value. Defaults to " + }, + { + "kind": "code", + "text": "`0`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17199, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19254, + "name": "latitude", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Latitude between -90 and 90." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17189, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19255, + "name": "longitude", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Longitude between -180 and 180." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17194, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19256, + 19254, + 19255 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17185, + "character": 18, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + }, + { + "id": 19257, + "name": "handleSIGHUP", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Close the browser process on SIGHUP. Defaults to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17205, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19258, + "name": "handleSIGINT", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Close the browser process on Ctrl-C. Defaults to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17210, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19259, + "name": "handleSIGTERM", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Close the browser process on SIGTERM. Defaults to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17215, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19260, + "name": "hasTouch", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specifies if viewport supports touch events. Defaults to false. Learn more about\n[mobile emulation](https://playwright.dev/docs/emulation#devices)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17221, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19261, + "name": "headless", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to run browser in headless mode. More details for\n[Chromium](https://developers.google.com/web/updates/2017/04/headless-chrome) and\n[Firefox](https://hacks.mozilla.org/2017/12/using-headless-mode-in-firefox/). Defaults to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17228, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19262, + "name": "httpCredentials", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Credentials for [HTTP authentication](https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication). If no\norigin is specified, the username and password are sent to any servers upon unauthorized responses." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17234, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19263, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19266, + "name": "origin", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Restrain sending http credentials on specific origin (scheme://host:port)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17242, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19265, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17237, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19267, + "name": "send", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "This option only applies to the requests sent from corresponding\n[APIRequestContext](https://playwright.dev/docs/api/class-apirequestcontext) and does not affect requests sent from\nthe browser. " + }, + { + "kind": "code", + "text": "`'always'`" + }, + { + "kind": "text", + "text": " - " + }, + { + "kind": "code", + "text": "`Authorization`" + }, + { + "kind": "text", + "text": " header with basic authentication credentials will be sent with the each\nAPI request. " + }, + { + "kind": "code", + "text": "`'unauthorized`" + }, + { + "kind": "text", + "text": " - the credentials are only sent when 401 (Unauthorized) response with\n" + }, + { + "kind": "code", + "text": "`WWW-Authenticate`" + }, + { + "kind": "text", + "text": " header is received. Defaults to " + }, + { + "kind": "code", + "text": "`'unauthorized'`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17251, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "unauthorized" + }, + { + "type": "literal", + "value": "always" + } + ] + } + }, + { + "id": 19264, + "name": "username", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17235, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19266, + 19265, + 19267, + 19264 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17234, + "character": 22, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + }, + { + "id": 19268, + "name": "ignoreDefaultArgs", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ", Playwright does not pass its own configurations args and only uses the ones from\n[" + }, + { + "kind": "code", + "text": "`args`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-browsertype#browser-type-launch-persistent-context-option-args). If\nan array is given, then filters out the given default arguments. Dangerous option; use with care. Defaults to\n" + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17260, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 19269, + "name": "ignoreHTTPSErrors", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to ignore HTTPS errors when sending network requests. Defaults to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17265, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19270, + "name": "isMobile", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether the " + }, + { + "kind": "code", + "text": "`meta viewport`" + }, + { + "kind": "text", + "text": " tag is taken into account and touch events are enabled. isMobile is a part of device,\nso you don't actually need to set it manually. Defaults to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": " and is not supported in Firefox. Learn more\nabout [mobile emulation](https://playwright.dev/docs/emulation#ismobile)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17272, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19271, + "name": "javaScriptEnabled", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether or not to enable JavaScript in the context. Defaults to " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": ". Learn more about\n[disabling JavaScript](https://playwright.dev/docs/emulation#javascript-enabled)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17278, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19272, + "name": "locale", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specify user locale, for example " + }, + { + "kind": "code", + "text": "`en-GB`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`de-DE`" + }, + { + "kind": "text", + "text": ", etc. Locale will affect " + }, + { + "kind": "code", + "text": "`navigator.language`" + }, + { + "kind": "text", + "text": " value,\n" + }, + { + "kind": "code", + "text": "`Accept-Language`" + }, + { + "kind": "text", + "text": " request header value as well as number and date formatting rules. Defaults to the system default\nlocale. Learn more about emulation in our [emulation guide](https://playwright.dev/docs/emulation#locale--timezone)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17285, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19273, + "name": "logger", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Logger sink for Playwright logging." + } + ], + "blockTags": [ + { + "tag": "@deprecated", + "content": [ + { + "kind": "text", + "text": "The logs received by the logger are incomplete. Please use tracing instead." + } + ] + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17291, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Logger" + }, + "name": "Logger", + "package": "playwright-core" + } + }, + { + "id": 19274, + "name": "offline", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to emulate network being offline. Defaults to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ". Learn more about\n[network emulation](https://playwright.dev/docs/emulation#offline)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17297, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19275, + "name": "permissions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A list of permissions to grant to all pages in this context. See\n[browserContext.grantPermissions(permissions[, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-grant-permissions)\nfor more details. Defaults to none." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17304, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 19276, + "name": "proxy", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Network proxy settings." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17309, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19277, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19279, + "name": "bypass", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional comma-separated domains to bypass proxy, for example " + }, + { + "kind": "code", + "text": "`\".com, chromium.org, .domain.com\"`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17319, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19281, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional password to use if HTTP proxy requires authentication." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17329, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19278, + "name": "server", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Proxy to be used for all requests. HTTP and SOCKS proxies are supported, for example " + }, + { + "kind": "code", + "text": "`http://myproxy.com:3128`" + }, + { + "kind": "text", + "text": " or\n" + }, + { + "kind": "code", + "text": "`socks5://myproxy.com:3128`" + }, + { + "kind": "text", + "text": ". Short form " + }, + { + "kind": "code", + "text": "`myproxy.com:3128`" + }, + { + "kind": "text", + "text": " is considered an HTTP proxy." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17314, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19280, + "name": "username", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional username to use if HTTP proxy requires authentication." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17324, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19279, + 19281, + 19278, + 19280 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17309, + "character": 12, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + }, + { + "id": 19282, + "name": "recordHar", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enables [HAR](http://www.softwareishard.com/blog/har-12-spec) recording for all pages into " + }, + { + "kind": "code", + "text": "`recordHar.path`" + }, + { + "kind": "text", + "text": " file.\nIf not specified, the HAR is not recorded. Make sure to await\n[browserContext.close([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for\nthe HAR to be saved." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17338, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19283, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19285, + "name": "content", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional setting to control resource content management. If " + }, + { + "kind": "code", + "text": "`omit`" + }, + { + "kind": "text", + "text": " is specified, content is not persisted. If\n" + }, + { + "kind": "code", + "text": "`attach`" + }, + { + "kind": "text", + "text": " is specified, resources are persisted as separate files or entries in the ZIP archive. If " + }, + { + "kind": "code", + "text": "`embed`" + }, + { + "kind": "text", + "text": " is\nspecified, content is stored inline the HAR file as per HAR specification. Defaults to " + }, + { + "kind": "code", + "text": "`attach`" + }, + { + "kind": "text", + "text": " for " + }, + { + "kind": "code", + "text": "`.zip`" + }, + { + "kind": "text", + "text": " output\nfiles and to " + }, + { + "kind": "code", + "text": "`embed`" + }, + { + "kind": "text", + "text": " for all other file extensions." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17351, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "omit" + }, + { + "type": "literal", + "value": "embed" + }, + { + "type": "literal", + "value": "attach" + } + ] + } + }, + { + "id": 19287, + "name": "mode", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When set to " + }, + { + "kind": "code", + "text": "`minimal`" + }, + { + "kind": "text", + "text": ", only record information necessary for routing from HAR. This omits sizes, timing, page,\ncookies, security and other types of HAR information that are not used when replaying from HAR. Defaults to " + }, + { + "kind": "code", + "text": "`full`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17363, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "full" + }, + { + "type": "literal", + "value": "minimal" + } + ] + } + }, + { + "id": 19284, + "name": "omitContent", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional setting to control whether to omit request content from the HAR. Defaults to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ". Deprecated, use\n" + }, + { + "kind": "code", + "text": "`content`" + }, + { + "kind": "text", + "text": " policy instead." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17343, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19286, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Path on the filesystem to write the HAR file to. If the file name ends with " + }, + { + "kind": "code", + "text": "`.zip`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`content: 'attach'`" + }, + { + "kind": "text", + "text": " is used by\ndefault." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17357, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19288, + "name": "urlFilter", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A glob or regex pattern to filter requests that are stored in the HAR. When a\n[" + }, + { + "kind": "code", + "text": "`baseURL`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-browser#browser-new-context-option-base-url) via the context\noptions was provided and the passed URL is a path, it gets merged via the\n[" + }, + { + "kind": "code", + "text": "`new URL()`" + }, + { + "kind": "text", + "text": "](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL) constructor. Defaults to none." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17371, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "string" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "RegExp" + }, + "name": "RegExp", + "package": "typescript" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19285, + 19287, + 19284, + 19286, + 19288 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17338, + "character": 16, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + }, + { + "id": 19289, + "name": "recordVideo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enables video recording for all pages into " + }, + { + "kind": "code", + "text": "`recordVideo.dir`" + }, + { + "kind": "text", + "text": " directory. If not specified videos are not recorded.\nMake sure to await\n[browserContext.close([options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-close) for\nvideos to be saved." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17380, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19290, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19291, + "name": "dir", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Path to the directory to put videos into. If not specified, the videos will be stored in " + }, + { + "kind": "code", + "text": "`artifactsDir`" + }, + { + "kind": "text", + "text": " (see\n[browserType.launch([options])](https://playwright.dev/docs/api/class-browsertype#browser-type-launch) options)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17385, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19296, + "name": "showActions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If specified, enables visual annotations on interacted elements during video recording." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17407, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19297, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19301, + "name": "cursor", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Cursor decoration shown for pointer actions. " + }, + { + "kind": "code", + "text": "`\"pointer\"`" + }, + { + "kind": "text", + "text": " (the default) renders a mouse pointer that animates from\nthe previous action point to the next one. " + }, + { + "kind": "code", + "text": "`\"none\"`" + }, + { + "kind": "text", + "text": " disables the cursor decoration." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17427, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "none" + }, + { + "type": "literal", + "value": "pointer" + } + ] + } + }, + { + "id": 19298, + "name": "duration", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "How long each annotation is displayed in milliseconds. Defaults to " + }, + { + "kind": "code", + "text": "`500`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17411, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19300, + "name": "fontSize", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Font size of the action title in pixels. Defaults to " + }, + { + "kind": "code", + "text": "`24`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17421, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19299, + "name": "position", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Position of the action title overlay. Defaults to " + }, + { + "kind": "code", + "text": "`\"top-right\"`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17416, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "top-left" + }, + { + "type": "literal", + "value": "top" + }, + { + "type": "literal", + "value": "top-right" + }, + { + "type": "literal", + "value": "bottom-left" + }, + { + "type": "literal", + "value": "bottom" + }, + { + "type": "literal", + "value": "bottom-right" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19301, + 19298, + 19300, + 19299 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17407, + "character": 20, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + }, + { + "id": 19292, + "name": "size", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional dimensions of the recorded videos. If not specified the size will be equal to " + }, + { + "kind": "code", + "text": "`viewport`" + }, + { + "kind": "text", + "text": " scaled down to\nfit into 800x800. If " + }, + { + "kind": "code", + "text": "`viewport`" + }, + { + "kind": "text", + "text": " is not configured explicitly the video size defaults to 800x450. Actual picture of\neach page will be scaled down if necessary to fit the specified size." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17392, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19293, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19295, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Video frame height." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17401, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19294, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Video frame width." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17396, + "character": 8, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19295, + 19294 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17392, + "character": 13, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19291, + 19296, + 19292 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17380, + "character": 18, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + }, + { + "id": 19302, + "name": "reducedMotion", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emulates " + }, + { + "kind": "code", + "text": "`'prefers-reduced-motion'`" + }, + { + "kind": "text", + "text": " media feature, supported values are " + }, + { + "kind": "code", + "text": "`'reduce'`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`'no-preference'`" + }, + { + "kind": "text", + "text": ". See\n[page.emulateMedia([options])](https://playwright.dev/docs/api/class-page#page-emulate-media) for more details.\nPassing " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " resets emulation to system defaults. Defaults to " + }, + { + "kind": "code", + "text": "`'no-preference'`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17436, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "reduce" + }, + { + "type": "literal", + "value": "no-preference" + } + ] + } + }, + { + "id": 19303, + "name": "screen", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emulates consistent window screen size available inside web page via " + }, + { + "kind": "code", + "text": "`window.screen`" + }, + { + "kind": "text", + "text": ". Is only used when the\n[" + }, + { + "kind": "code", + "text": "`viewport`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-browsertype#browser-type-launch-persistent-context-option-viewport)\nis set." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17443, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19304, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19306, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "page height in pixels." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17452, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19305, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "page width in pixels." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17447, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19306, + 19305 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17443, + "character": 13, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + }, + { + "id": 19307, + "name": "serviceWorkers", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Whether to allow sites to register Service workers. Defaults to " + }, + { + "kind": "code", + "text": "`'allow'`" + }, + { + "kind": "text", + "text": ".\n- " + }, + { + "kind": "code", + "text": "`'allow'`" + }, + { + "kind": "text", + "text": ": [Service Workers](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API) can be\n registered.\n- " + }, + { + "kind": "code", + "text": "`'block'`" + }, + { + "kind": "text", + "text": ": Playwright will block all registration of Service Workers." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17461, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "allow" + }, + { + "type": "literal", + "value": "block" + } + ] + } + }, + { + "id": 19308, + "name": "slowMo", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Slows down Playwright operations by the specified amount of milliseconds. Useful so that you can see what is going\non." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17467, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19309, + "name": "strictSelectors", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If set to true, enables strict selectors mode for this context. In the strict selectors mode all operations on\nselectors that imply single target DOM element will throw when more than one element matches the selector. This\noption does not affect any Locator APIs (Locators are always strict). Defaults to " + }, + { + "kind": "code", + "text": "`false`" + }, + { + "kind": "text", + "text": ". See\n[Locator](https://playwright.dev/docs/api/class-locator) to learn more about the strict mode." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17475, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19310, + "name": "timeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Maximum time in milliseconds to wait for the browser instance to start. Defaults to " + }, + { + "kind": "code", + "text": "`30000`" + }, + { + "kind": "text", + "text": " (30 seconds). Pass " + }, + { + "kind": "code", + "text": "`0`" + }, + { + "kind": "text", + "text": "\nto disable timeout." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17481, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19311, + "name": "timezoneId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Changes the timezone of the context. See\n[ICU's metaZones.txt](https://cs.chromium.org/chromium/src/third_party/icu/source/data/misc/metaZones.txt?rcl=faee8bc70570192d82d2978a71e2a615788597d1)\nfor a list of supported timezone IDs. Defaults to the system timezone." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17488, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19312, + "name": "tracesDir", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If specified, traces are saved into this directory." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17493, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19313, + "name": "userAgent", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specific user agent to use in this context." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17498, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19314, + "name": "viewport", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emulates consistent viewport for each page. Defaults to an 1280x720 viewport. Use " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " to disable the consistent\nviewport emulation. Learn more about [viewport emulation](https://playwright.dev/docs/emulation#viewport).\n\n**NOTE** The " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": " value opts out from the default presets, makes viewport depend on the host window size defined\nby the operating system. It makes the execution of the tests non-deterministic." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17508, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 19315, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19317, + "name": "height", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "page height in pixels." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17517, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19316, + "name": "width", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "page width in pixels." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17512, + "character": 6, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19317, + 19316 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17508, + "character": 20, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19217, + 19218, + 19219, + 19220, + 19221, + 19222, + 19223, + 19224, + 19234, + 19235, + 19236, + 19237, + 19238, + 19242, + 19243, + 19247, + 19251, + 19252, + 19257, + 19258, + 19259, + 19260, + 19261, + 19262, + 19268, + 19269, + 19270, + 19271, + 19272, + 19273, + 19274, + 19275, + 19276, + 19282, + 19289, + 19302, + 19303, + 19307, + 19308, + 19309, + 19310, + 19311, + 19312, + 19313, + 19314 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 17007, + "character": 57, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ] + }, + "overwrites": { + "type": "reference", + "target": 9667, + "name": "BrowserLaunchContext.launchOptions" + } + }, + { + "id": 19319, + "name": "proxyUrl", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "URL to a HTTP proxy server. It must define the port number,\nand it may also contain proxy username and password.\n\nExample: " + }, + { + "kind": "code", + "text": "`http://bob:pass123@proxy.example.com:1234`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-launcher.ts", + "line": 30, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L30", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 9658, + "name": "BrowserLaunchContext.proxyUrl" + } + }, + { + "id": 19318, + "name": "stagehandOptions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Stagehand-specific configuration for AI operations." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-launcher.ts", + "line": 22, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L22", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 17283, + "name": "StagehandOptions", + "package": "@crawlee/stagehand" + } + }, + { + "id": 19320, + "name": "useChrome", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "If " + }, + { + "kind": "code", + "text": "`true`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`executablePath`" + }, + { + "kind": "text", + "text": " is not set,\nPlaywright will launch full Google Chrome browser available on the machine\nrather than the bundled Chromium." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\nfalse\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-launcher.ts", + "line": 38, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L38", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "target": 9659, + "name": "BrowserLaunchContext.useChrome" + } + }, + { + "id": 19321, + "name": "useIncognitoPages", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "With this option selected, all pages will be opened in a new incognito browser context." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\nfalse\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-launcher.ts", + "line": 44, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L44", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "target": 9661, + "name": "BrowserLaunchContext.useIncognitoPages" + } + }, + { + "id": 19327, + "name": "userAgent", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The " + }, + { + "kind": "code", + "text": "`User-Agent`" + }, + { + "kind": "text", + "text": " HTTP header used by the browser.\nIf not provided, the function sets " + }, + { + "kind": "code", + "text": "`User-Agent`" + }, + { + "kind": "text", + "text": " to a reasonable default\nto reduce the chance of detection of the crawler." + } + ] + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-launcher.ts", + "line": 68, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/browser-crawler/src/internals/browser-launcher.ts#L68", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 9664, + "name": "BrowserLaunchContext.userAgent" + } + }, + { + "id": 19322, + "name": "userDataDir", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Sets the User Data Directory path.\nThe user data directory contains profile data such as history, bookmarks, and cookies." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-launcher.ts", + "line": 50, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L50", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 9663, + "name": "BrowserLaunchContext.userDataDir" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19325, + 19326, + 19328, + 19323, + 19215, + 19319, + 19318, + 19320, + 19321, + 19327, + 19322 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-launcher.ts", + "line": 12, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L12", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 9657, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "LaunchOptions" + }, + "name": "LaunchOptions", + "package": "playwright-core" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "BrowserType" + }, + "name": "BrowserType", + "package": "playwright-core" + } + ], + "name": "BrowserLaunchContext", + "package": "@crawlee/browser" + } + ] + }, + { + "id": 17283, + "name": "StagehandOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Stagehand-specific configuration options." + } + ] + }, + "children": [ + { + "id": 17285, + "name": "apiKey", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "API key - interpreted based on the " + }, + { + "kind": "code", + "text": "`env`" + }, + { + "kind": "text", + "text": " setting:\n- When " + }, + { + "kind": "code", + "text": "`env: 'LOCAL'`" + }, + { + "kind": "text", + "text": ": LLM provider API key (OpenAI, Anthropic, or Google)\n- When " + }, + { + "kind": "code", + "text": "`env: 'BROWSERBASE'`" + }, + { + "kind": "text", + "text": ": Browserbase API key\n\nFor LOCAL env, can also be set via environment variables:\n- OpenAI: " + }, + { + "kind": "code", + "text": "`OPENAI_API_KEY`" + }, + { + "kind": "text", + "text": "\n- Anthropic: " + }, + { + "kind": "code", + "text": "`ANTHROPIC_API_KEY`" + }, + { + "kind": "text", + "text": "\n- Google: " + }, + { + "kind": "code", + "text": "`GOOGLE_API_KEY`" + } + ], + "blockTags": [ + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\n// Local with OpenAI\nstagehandOptions: {\n env: 'LOCAL',\n model: 'openai/gpt-4.1-mini',\n apiKey: 'your-api-key',\n}\n\n// Browserbase cloud\nstagehandOptions: {\n env: 'BROWSERBASE',\n apiKey: 'your-browserbase-api-key',\n projectId: 'proj-...',\n}\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 77, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L77", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17294, + "name": "cacheDir", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Cache directory for observation caching to improve performance." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 133, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L133", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17290, + "name": "domSettleTimeout", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Time to wait for DOM to stabilize before performing AI operations (ms)." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n30000\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 112, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L112", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 17284, + "name": "env", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Environment to run Stagehand in.\n- " + }, + { + "kind": "code", + "text": "`'LOCAL'`" + }, + { + "kind": "text", + "text": ": Use local browser (default)\n- " + }, + { + "kind": "code", + "text": "`'BROWSERBASE'`" + }, + { + "kind": "text", + "text": ": Use Browserbase cloud browsers" + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n'LOCAL'\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 48, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L48", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "LOCAL" + }, + { + "type": "literal", + "value": "BROWSERBASE" + } + ] + } + }, + { + "id": 17291, + "name": "llmClient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom LLM client for AI operations." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 117, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L117", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "LLMClient" + }, + "name": "LLMClient", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 17293, + "name": "logInferenceToFile", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable logging of AI inference details to file for debugging." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\nfalse\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 128, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L128", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 17287, + "name": "model", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "AI model to use for act(), extract(), observe() operations.\nCan be a string like \"openai/gpt-4.1-mini\" or a detailed ModelConfiguration object." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n'openai/gpt-4.1-mini'\n```" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n\"openai/gpt-4.1-mini\"\n```" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```ts\n\"anthropic/claude-sonnet-4-20250514\"\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 91, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L91", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": 19378, + "name": "ModelConfiguration", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 17286, + "name": "projectId", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Browserbase project ID (required when env is 'BROWSERBASE')." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 82, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L82", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17289, + "name": "selfHeal", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enable automatic error recovery for failed AI operations." + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\ntrue\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 106, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L106", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 17292, + "name": "systemPrompt", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Custom system prompt for AI operations." + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 122, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L122", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17288, + "name": "verbose", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Logging verbosity level.\n- 0: Minimal logging\n- 1: Standard logging\n- 2: Debug logging" + } + ], + "blockTags": [ + { + "tag": "@default", + "content": [ + { + "kind": "code", + "text": "```ts\n0\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 100, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L100", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": 0 + }, + { + "type": "literal", + "value": 1 + }, + { + "type": "literal", + "value": 2 + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17285, + 17294, + 17290, + 17284, + 17291, + 17293, + 17287, + 17286, + 17289, + 17292, + 17288 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 41, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L41", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + }, + { + "id": 17295, + "name": "StagehandPage", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enhanced Playwright Page with Stagehand AI methods." + } + ] + }, + "children": [ + { + "id": 19097, + "name": "clock", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Playwright has ability to mock clock and passage of time." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5702, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Clock" + }, + "name": "Clock", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.clock" + } + }, + { + "id": 19098, + "name": "coverage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** Only available for Chromium atm.\n\nBrowser-specific Coverage implementation. See [Coverage](https://playwright.dev/docs/api/class-coverage) for more\ndetails." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5710, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Coverage" + }, + "name": "Coverage", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.coverage" + } + }, + { + "id": 19099, + "name": "keyboard", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5712, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Keyboard" + }, + "name": "Keyboard", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.keyboard" + } + }, + { + "id": 19100, + "name": "localStorage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Provides access to the page's " + }, + { + "kind": "code", + "text": "`localStorage`" + }, + { + "kind": "text", + "text": " for the current origin. See\n[WebStorage](https://playwright.dev/docs/api/class-webstorage).\n\n" + }, + { + "kind": "code", + "text": "```js\nawait page.localStorage.setItem('token', 'abc');\nconst token = await page.localStorage.getItem('token');\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5724, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "WebStorage" + }, + "name": "WebStorage", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.localStorage" + } + }, + { + "id": 19101, + "name": "mouse", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5726, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Mouse" + }, + "name": "Mouse", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.mouse" + } + }, + { + "id": 19102, + "name": "request", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "API testing helper associated with this page. This method returns the same instance as\n[browserContext.request](https://playwright.dev/docs/api/class-browsercontext#browser-context-request) on the\npage's context. See\n[browserContext.request](https://playwright.dev/docs/api/class-browsercontext#browser-context-request) for more\ndetails." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5735, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "APIRequestContext" + }, + "name": "APIRequestContext", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.request" + } + }, + { + "id": 19103, + "name": "screencast", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "[Screencast](https://playwright.dev/docs/api/class-screencast) object associated with this page.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\npage.screencast.on('screencastFrame', data => {\n console.log('received frame, jpeg size:', data.length);\n});\nawait page.screencast.start();\n// ... perform actions ...\nawait page.screencast.stop();\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5752, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Screencast" + }, + "name": "Screencast", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.screencast" + } + }, + { + "id": 19104, + "name": "sessionStorage", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Provides access to the page's " + }, + { + "kind": "code", + "text": "`sessionStorage`" + }, + { + "kind": "text", + "text": " for the current origin. See\n[WebStorage](https://playwright.dev/docs/api/class-webstorage).\n\n" + }, + { + "kind": "code", + "text": "```js\nawait page.sessionStorage.setItem('flag', '1');\nconst flag = await page.sessionStorage.getItem('flag');\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5764, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "WebStorage" + }, + "name": "WebStorage", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.sessionStorage" + } + }, + { + "id": 19105, + "name": "touchscreen", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5766, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Touchscreen" + }, + "name": "Touchscreen", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.touchscreen" + } + }, + { + "id": 19106, + "name": "[asyncDispose]", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5768, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 19107, + "name": "[asyncDispose]", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5768, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.[asyncDispose]" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.[asyncDispose]" + } + }, + { + "id": 17361, + "name": "$", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 339, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 350, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17362, + "name": "$", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** Use locator-based [page.locator(selector[, options])](https://playwright.dev/docs/api/class-page#page-locator)\ninstead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThe method finds an element matching the specified selector within the page. If no elements match the selector, the\nreturn value resolves to " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": ". To wait for an element on the page, use\n[locator.waitFor([options])](https://playwright.dev/docs/api/class-locator#locator-wait-for)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 339, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17363, + "name": "K", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + } + } + ], + "parameters": [ + { + "id": 17364, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17363, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17365, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17366, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 17367, + "name": "strict", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 339, + "character": 68, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17367 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 339, + "character": 66, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "ElementHandleForTag" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17363, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "ElementHandleForTag", + "package": "playwright-core" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$" + } + }, + { + "id": 17368, + "name": "$", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** Use locator-based [page.locator(selector[, options])](https://playwright.dev/docs/api/class-page#page-locator)\ninstead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThe method finds an element matching the specified selector within the page. If no elements match the selector, the\nreturn value resolves to " + }, + { + "kind": "code", + "text": "`null`" + }, + { + "kind": "text", + "text": ". To wait for an element on the page, use\n[locator.waitFor([options])](https://playwright.dev/docs/api/class-locator#locator-wait-for)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 350, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17369, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17370, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17371, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 17372, + "name": "strict", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 350, + "character": 34, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17372 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 350, + "character": 32, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "ElementHandle" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + } + ], + "name": "ElementHandle", + "package": "playwright-core" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$" + } + }, + { + "id": 17373, + "name": "$$", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 360, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 369, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17374, + "name": "$$", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** Use locator-based [page.locator(selector[, options])](https://playwright.dev/docs/api/class-page#page-locator)\ninstead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThe method finds all elements matching the specified selector within the page. If no elements match the selector,\nthe return value resolves to " + }, + { + "kind": "code", + "text": "`[]`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 360, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17375, + "name": "K", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + } + } + ], + "parameters": [ + { + "id": 17376, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17375, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "ElementHandleForTag" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17375, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "ElementHandleForTag", + "package": "playwright-core" + } + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$" + } + }, + { + "id": 17377, + "name": "$$", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** Use locator-based [page.locator(selector[, options])](https://playwright.dev/docs/api/class-page#page-locator)\ninstead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThe method finds all elements matching the specified selector within the page. If no elements match the selector,\nthe return value resolves to " + }, + { + "kind": "code", + "text": "`[]`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 369, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17378, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "ElementHandle" + }, + "typeArguments": [ + { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + } + ], + "name": "ElementHandle", + "package": "playwright-core" + } + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$" + } + }, + { + "id": 17406, + "name": "$$eval", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 533, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 563, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 593, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 623, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17407, + "name": "$$eval", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** In most cases,\n[locator.evaluateAll(pageFunction[, arg])](https://playwright.dev/docs/api/class-locator#locator-evaluate-all),\nother [Locator](https://playwright.dev/docs/api/class-locator) helper methods and web-first assertions do a better\njob.\n\nThe method finds all elements matching the specified selector within the page and passes an array of matched\nelements as a first argument to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression). Returns\nthe result of\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression)\ninvocation.\n\nIf [" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression) returns\na [Promise], then\n[page.$$eval(selector, pageFunction[, arg])](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all)\nwould wait for the promise to resolve and return its value.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\nconst divCounts = await page.$$eval('div', (divs, min) => divs.length >= min, 10);\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 533, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17408, + "name": "K", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + } + }, + { + "id": 17409, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17410, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 17411, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17408, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17412, + "name": "pageFunction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function to be evaluated in the page context." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "PageFunctionOn" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 17408, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + } + }, + { + "type": "reference", + "target": 17410, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17409, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17413, + "name": "arg", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional argument to pass to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression)." + } + ] + }, + "type": { + "type": "reference", + "target": 17410, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17409, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$eval" + } + }, + { + "id": 17414, + "name": "$$eval", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** In most cases,\n[locator.evaluateAll(pageFunction[, arg])](https://playwright.dev/docs/api/class-locator#locator-evaluate-all),\nother [Locator](https://playwright.dev/docs/api/class-locator) helper methods and web-first assertions do a better\njob.\n\nThe method finds all elements matching the specified selector within the page and passes an array of matched\nelements as a first argument to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression). Returns\nthe result of\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression)\ninvocation.\n\nIf [" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression) returns\na [Promise], then\n[page.$$eval(selector, pageFunction[, arg])](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all)\nwould wait for the promise to resolve and return its value.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\nconst divCounts = await page.$$eval('div', (divs, min) => divs.length >= min, 10);\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 563, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17415, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17416, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17417, + "name": "E", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + }, + "default": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + } + } + ], + "parameters": [ + { + "id": 17418, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17419, + "name": "pageFunction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function to be evaluated in the page context." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "PageFunctionOn" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 17417, + "name": "E", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": 17416, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17415, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17420, + "name": "arg", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional argument to pass to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression)." + } + ] + }, + "type": { + "type": "reference", + "target": 17416, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17415, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$eval" + } + }, + { + "id": 17421, + "name": "$$eval", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** In most cases,\n[locator.evaluateAll(pageFunction[, arg])](https://playwright.dev/docs/api/class-locator#locator-evaluate-all),\nother [Locator](https://playwright.dev/docs/api/class-locator) helper methods and web-first assertions do a better\njob.\n\nThe method finds all elements matching the specified selector within the page and passes an array of matched\nelements as a first argument to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression). Returns\nthe result of\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression)\ninvocation.\n\nIf [" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression) returns\na [Promise], then\n[page.$$eval(selector, pageFunction[, arg])](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all)\nwould wait for the promise to resolve and return its value.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\nconst divCounts = await page.$$eval('div', (divs, min) => divs.length >= min, 10);\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 593, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17422, + "name": "K", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + } + }, + { + "id": 17423, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 17424, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17422, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17425, + "name": "pageFunction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function to be evaluated in the page context." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "PageFunctionOn" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 17422, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + } + }, + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": 17423, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17426, + "name": "arg", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional argument to pass to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17423, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$eval" + } + }, + { + "id": 17427, + "name": "$$eval", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** In most cases,\n[locator.evaluateAll(pageFunction[, arg])](https://playwright.dev/docs/api/class-locator#locator-evaluate-all),\nother [Locator](https://playwright.dev/docs/api/class-locator) helper methods and web-first assertions do a better\njob.\n\nThe method finds all elements matching the specified selector within the page and passes an array of matched\nelements as a first argument to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression). Returns\nthe result of\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression)\ninvocation.\n\nIf [" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression) returns\na [Promise], then\n[page.$$eval(selector, pageFunction[, arg])](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all)\nwould wait for the promise to resolve and return its value.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\nconst divCounts = await page.$$eval('div', (divs, min) => divs.length >= min, 10);\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 623, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17428, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17429, + "name": "E", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + }, + "default": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + } + } + ], + "parameters": [ + { + "id": 17430, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17431, + "name": "pageFunction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function to be evaluated in the page context." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "PageFunctionOn" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 17429, + "name": "E", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": 17428, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17432, + "name": "arg", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional argument to pass to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-all-option-expression)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17428, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$eval" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$eval" + } + }, + { + "id": 17379, + "name": "$eval", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 403, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 436, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 469, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 502, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17380, + "name": "$eval", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** This method does not wait for the element to pass actionability checks and therefore can lead to the flaky tests.\nUse\n[locator.evaluate(pageFunction[, arg, options])](https://playwright.dev/docs/api/class-locator#locator-evaluate),\nother [Locator](https://playwright.dev/docs/api/class-locator) helper methods or web-first assertions instead.\n\nThe method finds an element matching the specified selector within the page and passes it as a first argument to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression). If no\nelements match the selector, the method throws an error. Returns the value of\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression).\n\nIf [" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression) returns a\n[Promise], then\n[page.$eval(selector, pageFunction[, arg, options])](https://playwright.dev/docs/api/class-page#page-eval-on-selector)\nwould wait for the promise to resolve and return its value.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\nconst searchValue = await page.$eval('#search', el => el.value);\nconst preloadHref = await page.$eval('link[rel=preload]', el => el.href);\nconst html = await page.$eval('.main-container', (e, suffix) => e.outerHTML + suffix, 'hello');\n// In TypeScript, this example requires an explicit type annotation (HTMLLinkElement) on el:\nconst preloadHrefTS = await page.$eval('link[rel=preload]', (el: HTMLLinkElement) => el.href);\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 403, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17381, + "name": "K", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + } + }, + { + "id": 17382, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17383, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 17384, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17381, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17385, + "name": "pageFunction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function to be evaluated in the page context." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "PageFunctionOn" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 17381, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + }, + { + "type": "reference", + "target": 17383, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17382, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17386, + "name": "arg", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional argument to pass to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression)." + } + ] + }, + "type": { + "type": "reference", + "target": 17383, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17382, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$eval" + } + }, + { + "id": 17387, + "name": "$eval", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** This method does not wait for the element to pass actionability checks and therefore can lead to the flaky tests.\nUse\n[locator.evaluate(pageFunction[, arg, options])](https://playwright.dev/docs/api/class-locator#locator-evaluate),\nother [Locator](https://playwright.dev/docs/api/class-locator) helper methods or web-first assertions instead.\n\nThe method finds an element matching the specified selector within the page and passes it as a first argument to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression). If no\nelements match the selector, the method throws an error. Returns the value of\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression).\n\nIf [" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression) returns a\n[Promise], then\n[page.$eval(selector, pageFunction[, arg, options])](https://playwright.dev/docs/api/class-page#page-eval-on-selector)\nwould wait for the promise to resolve and return its value.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\nconst searchValue = await page.$eval('#search', el => el.value);\nconst preloadHref = await page.$eval('link[rel=preload]', el => el.href);\nconst html = await page.$eval('.main-container', (e, suffix) => e.outerHTML + suffix, 'hello');\n// In TypeScript, this example requires an explicit type annotation (HTMLLinkElement) on el:\nconst preloadHrefTS = await page.$eval('link[rel=preload]', (el: HTMLLinkElement) => el.href);\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 436, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17388, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17389, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17390, + "name": "E", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + }, + "default": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + } + } + ], + "parameters": [ + { + "id": 17391, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17392, + "name": "pageFunction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function to be evaluated in the page context." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "PageFunctionOn" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17390, + "name": "E", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17389, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17388, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17393, + "name": "arg", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional argument to pass to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression)." + } + ] + }, + "type": { + "type": "reference", + "target": 17389, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17388, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$eval" + } + }, + { + "id": 17394, + "name": "$eval", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** This method does not wait for the element to pass actionability checks and therefore can lead to the flaky tests.\nUse\n[locator.evaluate(pageFunction[, arg, options])](https://playwright.dev/docs/api/class-locator#locator-evaluate),\nother [Locator](https://playwright.dev/docs/api/class-locator) helper methods or web-first assertions instead.\n\nThe method finds an element matching the specified selector within the page and passes it as a first argument to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression). If no\nelements match the selector, the method throws an error. Returns the value of\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression).\n\nIf [" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression) returns a\n[Promise], then\n[page.$eval(selector, pageFunction[, arg, options])](https://playwright.dev/docs/api/class-page#page-eval-on-selector)\nwould wait for the promise to resolve and return its value.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\nconst searchValue = await page.$eval('#search', el => el.value);\nconst preloadHref = await page.$eval('link[rel=preload]', el => el.href);\nconst html = await page.$eval('.main-container', (e, suffix) => e.outerHTML + suffix, 'hello');\n// In TypeScript, this example requires an explicit type annotation (HTMLLinkElement) on el:\nconst preloadHrefTS = await page.$eval('link[rel=preload]', (el: HTMLLinkElement) => el.href);\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 469, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17395, + "name": "K", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "typeOperator", + "operator": "keyof", + "target": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + } + }, + { + "id": 17396, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 17397, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17395, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17398, + "name": "pageFunction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function to be evaluated in the page context." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "PageFunctionOn" + }, + "typeArguments": [ + { + "type": "indexedAccess", + "indexType": { + "type": "reference", + "target": 17395, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + }, + "objectType": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElementTagNameMap" + }, + "name": "HTMLElementTagNameMap", + "package": "typescript" + } + }, + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": 17396, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17399, + "name": "arg", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional argument to pass to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17396, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$eval" + } + }, + { + "id": 17400, + "name": "$eval", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** This method does not wait for the element to pass actionability checks and therefore can lead to the flaky tests.\nUse\n[locator.evaluate(pageFunction[, arg, options])](https://playwright.dev/docs/api/class-locator#locator-evaluate),\nother [Locator](https://playwright.dev/docs/api/class-locator) helper methods or web-first assertions instead.\n\nThe method finds an element matching the specified selector within the page and passes it as a first argument to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression). If no\nelements match the selector, the method throws an error. Returns the value of\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression).\n\nIf [" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression) returns a\n[Promise], then\n[page.$eval(selector, pageFunction[, arg, options])](https://playwright.dev/docs/api/class-page#page-eval-on-selector)\nwould wait for the promise to resolve and return its value.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\nconst searchValue = await page.$eval('#search', el => el.value);\nconst preloadHref = await page.$eval('link[rel=preload]', el => el.href);\nconst html = await page.$eval('.main-container', (e, suffix) => e.outerHTML + suffix, 'hello');\n// In TypeScript, this example requires an explicit type annotation (HTMLLinkElement) on el:\nconst preloadHrefTS = await page.$eval('link[rel=preload]', (el: HTMLLinkElement) => el.href);\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 502, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17401, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17402, + "name": "E", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + }, + "default": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "HTMLElement" + }, + "name": "HTMLElement", + "package": "typescript" + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.dom.d.ts", + "qualifiedName": "SVGElement" + }, + "name": "SVGElement", + "package": "typescript" + } + ] + } + } + ], + "parameters": [ + { + "id": 17403, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17404, + "name": "pageFunction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function to be evaluated in the page context." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "PageFunctionOn" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17402, + "name": "E", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": 17401, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17405, + "name": "arg", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional argument to pass to\n[" + }, + { + "kind": "code", + "text": "`pageFunction`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-eval-on-selector-option-expression)." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "any" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17401, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$eval" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$eval" + } + }, + { + "id": 17296, + "name": "act", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 154, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L154", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17297, + "name": "act", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Perform an action on the page using natural language." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise that resolves with the action result" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nawait page.act('Click the login button');\nawait page.act('Fill in email with test@example.com');\nawait page.act('Scroll down to load more items');\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 154, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L154", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17298, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Natural language instruction for the action" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17299, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional configuration for the action" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19334, + "name": "ActOptions", + "package": "@browserbasehq/stagehand" + }, + { + "type": "literal", + "value": "page" + } + ], + "name": "Omit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19339, + "name": "ActResult", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 17350, + "name": "addInitScript", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 327, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17351, + "name": "addInitScript", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Adds a script which would be evaluated in one of the following scenarios:\n- Whenever the page is navigated.\n- Whenever the child frame is attached or navigated. In this case, the script is evaluated in the context of the\n newly attached frame.\n\nThe script is evaluated after the document was created but before any of its scripts were run. This is useful to\namend the JavaScript environment, e.g. to seed " + }, + { + "kind": "code", + "text": "`Math.random`" + }, + { + "kind": "text", + "text": ".\n\n**Usage**\n\nAn example of overriding " + }, + { + "kind": "code", + "text": "`Math.random`" + }, + { + "kind": "text", + "text": " before the page loads:\n\n" + }, + { + "kind": "code", + "text": "```js\n// preload.js\nMath.random = () => 42;\n```" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```js\n// In your playwright script, assuming the preload.js file is in same directory\nawait page.addInitScript({ path: './preload.js' });\n```" + }, + { + "kind": "text", + "text": "\n\n" + }, + { + "kind": "code", + "text": "```js\nawait page.addInitScript(mock => {\n window.mock = mock;\n}, mock);\n```" + }, + { + "kind": "text", + "text": "\n\n**NOTE** The order of evaluation of multiple scripts installed via\n[browserContext.addInitScript(script[, arg, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-add-init-script)\nand [page.addInitScript(script[, arg, options])](https://playwright.dev/docs/api/class-page#page-add-init-script)\nis not defined." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 327, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17352, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 17353, + "name": "script", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Script to be evaluated in the page." + } + ] + }, + "type": { + "type": "union", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "PageFunction" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17352, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "PageFunction", + "package": "playwright-core" + }, + { + "type": "reflection", + "declaration": { + "id": 17354, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 17356, + "name": "content", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 327, + "character": 71, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17355, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 327, + "character": 56, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17356, + 17355 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 327, + "character": 54, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + ] + } + }, + { + "id": 17357, + "name": "arg", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional argument to pass to\n[" + }, + { + "kind": "code", + "text": "`script`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-add-init-script-option-script) (only supported when\npassing a function)." + } + ] + }, + "type": { + "type": "reference", + "target": 17352, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17358, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17359, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 17360, + "name": "exposeFunctions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 327, + "character": 114, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17360 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 327, + "character": 112, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Disposable" + }, + "name": "Disposable", + "package": "playwright-core" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addInitScript" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addInitScript" + } + }, + { + "id": 17706, + "name": "addListener", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1288, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1309, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1329, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1349, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1355, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1361, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1376, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1381, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1386, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1391, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1396, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1412, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1441, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1448, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1467, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1473, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1479, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1484, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1490, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17707, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when the page closes." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1288, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17708, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "close" + } + }, + { + "id": 17709, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17710, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1288, + "character": 40, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17711, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1288, + "character": 40, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17712, + "name": "page", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17713, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when JavaScript within the page calls one of console API methods, e.g. " + }, + { + "kind": "code", + "text": "`console.log`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`console.dir`" + }, + { + "kind": "text", + "text": ".\n\nThe arguments passed into " + }, + { + "kind": "code", + "text": "`console.log`" + }, + { + "kind": "text", + "text": " are available on the\n[ConsoleMessage](https://playwright.dev/docs/api/class-consolemessage) event handler argument.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\npage.on('console', async msg => {\n const values = [];\n for (const arg of msg.args())\n values.push(await arg.jsonValue());\n console.log(...values);\n});\nawait page.evaluate(() => console.log('hello', 5, { foo: 'bar' }));\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1309, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17714, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "console" + } + }, + { + "id": 17715, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17716, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1309, + "character": 42, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17717, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1309, + "character": 42, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17718, + "name": "consoleMessage", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "ConsoleMessage" + }, + "name": "ConsoleMessage", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17719, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when the page crashes. Browser pages might crash if they try to allocate too much memory. When the page\ncrashes, ongoing and subsequent operations will throw.\n\nThe most common way to deal with crashes is to catch an exception:\n\n" + }, + { + "kind": "code", + "text": "```js\ntry {\n // Crash might happen during a click.\n await page.click('button');\n // Or while waiting for an event.\n await page.waitForEvent('popup');\n} catch (e) {\n // When the page crashes, exception message contains 'crash'.\n}\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1329, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17720, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "crash" + } + }, + { + "id": 17721, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17722, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1329, + "character": 40, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17723, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1329, + "character": 40, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17724, + "name": "page", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17725, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when a JavaScript dialog appears, such as " + }, + { + "kind": "code", + "text": "`alert`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`prompt`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`confirm`" + }, + { + "kind": "text", + "text": " or " + }, + { + "kind": "code", + "text": "`beforeunload`" + }, + { + "kind": "text", + "text": ". Listener **must**\neither [dialog.accept([promptText])](https://playwright.dev/docs/api/class-dialog#dialog-accept) or\n[dialog.dismiss()](https://playwright.dev/docs/api/class-dialog#dialog-dismiss) the dialog - otherwise the page\nwill [freeze](https://developer.mozilla.org/en-US/docs/Web/JavaScript/EventLoop#never_blocking) waiting for the\ndialog, and actions like click will never finish.\n\n**Usage**\n\n" + }, + { + "kind": "code", + "text": "```js\npage.on('dialog', dialog => dialog.accept());\n```" + }, + { + "kind": "text", + "text": "\n\n**NOTE** When no [page.on('dialog')](https://playwright.dev/docs/api/class-page#page-event-dialog) or\n[browserContext.on('dialog')](https://playwright.dev/docs/api/class-browsercontext#browser-context-event-dialog)\nlisteners are present, all dialogs are automatically dismissed." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1349, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17726, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "dialog" + } + }, + { + "id": 17727, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17728, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1349, + "character": 41, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17729, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1349, + "character": 41, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17730, + "name": "dialog", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Dialog" + }, + "name": "Dialog", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17731, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when the JavaScript\n[" + }, + { + "kind": "code", + "text": "`DOMContentLoaded`" + }, + { + "kind": "text", + "text": "](https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded) event is dispatched." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1355, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17732, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "domcontentloaded" + } + }, + { + "id": 17733, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17734, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1355, + "character": 51, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17735, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1355, + "character": 51, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17736, + "name": "page", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17737, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when attachment download started. User can access basic file operations on downloaded content via the\npassed [Download](https://playwright.dev/docs/api/class-download) instance." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1361, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17738, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "download" + } + }, + { + "id": 17739, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17740, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1361, + "character": 43, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17741, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1361, + "character": 43, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17742, + "name": "download", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Download" + }, + "name": "Download", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17743, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when a file chooser is supposed to appear, such as after clicking the " + }, + { + "kind": "code", + "text": "``" + }, + { + "kind": "text", + "text": ". Playwright can\nrespond to it via setting the input files using\n[fileChooser.setFiles(files[, options])](https://playwright.dev/docs/api/class-filechooser#file-chooser-set-files)\nthat can be uploaded after that.\n\n" + }, + { + "kind": "code", + "text": "```js\npage.on('filechooser', async fileChooser => {\n await fileChooser.setFiles(path.join(__dirname, '/tmp/myfile.pdf'));\n});\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1376, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17744, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "filechooser" + } + }, + { + "id": 17745, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17746, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1376, + "character": 46, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17747, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1376, + "character": 46, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17748, + "name": "fileChooser", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "FileChooser" + }, + "name": "FileChooser", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17749, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when a frame is attached." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1381, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17750, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "frameattached" + } + }, + { + "id": 17751, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17752, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1381, + "character": 48, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17753, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1381, + "character": 48, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17754, + "name": "frame", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Frame" + }, + "name": "Frame", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17755, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when a frame is detached." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1386, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17756, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "framedetached" + } + }, + { + "id": 17757, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17758, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1386, + "character": 48, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17759, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1386, + "character": 48, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17760, + "name": "frame", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Frame" + }, + "name": "Frame", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17761, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when a frame is navigated to a new url." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1391, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17762, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "framenavigated" + } + }, + { + "id": 17763, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17764, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1391, + "character": 49, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17765, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1391, + "character": 49, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17766, + "name": "frame", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Frame" + }, + "name": "Frame", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17767, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when the JavaScript [" + }, + { + "kind": "code", + "text": "`load`" + }, + { + "kind": "text", + "text": "](https://developer.mozilla.org/en-US/docs/Web/Events/load) event is dispatched." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1396, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17768, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "load" + } + }, + { + "id": 17769, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17770, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1396, + "character": 39, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17771, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1396, + "character": 39, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17772, + "name": "page", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17773, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when an uncaught exception happens within the page.\n\n" + }, + { + "kind": "code", + "text": "```js\n// Log all uncaught errors to the terminal\npage.on('pageerror', exception => {\n console.log(`Uncaught exception: \"${exception}\"`);\n});\n\n// Navigate to a page with an exception.\nawait page.goto('data:text/html,');\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1412, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17774, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "pageerror" + } + }, + { + "id": 17775, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17776, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1412, + "character": 44, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17777, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1412, + "character": 44, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17778, + "name": "error", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Error" + }, + "name": "Error", + "package": "typescript" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17779, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when the page opens a new tab or window. This event is emitted in addition to the\n[browserContext.on('page')](https://playwright.dev/docs/api/class-browsercontext#browser-context-event-page), but\nonly for popups relevant to this page.\n\nThe earliest moment that page is available is when it has navigated to the initial url. For example, when opening a\npopup with " + }, + { + "kind": "code", + "text": "`window.open('http://example.com')`" + }, + { + "kind": "text", + "text": ", this event will fire when the network request to\n\"http://example.com\" is done and its response has started loading in the popup. If you would like to route/listen\nto this network request, use\n[browserContext.route(url, handler[, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-route)\nand\n[browserContext.on('request')](https://playwright.dev/docs/api/class-browsercontext#browser-context-event-request)\nrespectively instead of similar methods on the [Page](https://playwright.dev/docs/api/class-page).\n\n" + }, + { + "kind": "code", + "text": "```js\n// Start waiting for popup before clicking. Note no await.\nconst popupPromise = page.waitForEvent('popup');\nawait page.getByText('open the popup').click();\nconst popup = await popupPromise;\nconsole.log(await popup.evaluate('location.href'));\n```" + }, + { + "kind": "text", + "text": "\n\n**NOTE** Use\n[page.waitForLoadState([state, options])](https://playwright.dev/docs/api/class-page#page-wait-for-load-state) to\nwait until the page gets to a particular state (you should not need it in most cases)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1441, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17780, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "popup" + } + }, + { + "id": 17781, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17782, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1441, + "character": 40, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17783, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1441, + "character": 40, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17784, + "name": "page", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Page" + }, + "name": "Page", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17785, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when a page issues a request. The [request] object is read-only. In order to intercept and mutate requests,\nsee [page.route(url, handler[, options])](https://playwright.dev/docs/api/class-page#page-route) or\n[browserContext.route(url, handler[, options])](https://playwright.dev/docs/api/class-browsercontext#browser-context-route)." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1448, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17786, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "request" + } + }, + { + "id": 17787, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17788, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1448, + "character": 42, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17789, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1448, + "character": 42, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17790, + "name": "request", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17791, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when a request fails, for example by timing out.\n\n" + }, + { + "kind": "code", + "text": "```js\npage.on('requestfailed', request => {\n console.log(request.url() + ' ' + request.failure().errorText);\n});\n```" + }, + { + "kind": "text", + "text": "\n\n**NOTE** HTTP Error responses, such as 404 or 503, are still successful responses from HTTP standpoint, so request\nwill complete with\n[page.on('requestfinished')](https://playwright.dev/docs/api/class-page#page-event-request-finished) event and not\nwith [page.on('requestfailed')](https://playwright.dev/docs/api/class-page#page-event-request-failed). A request\nwill only be considered failed when the client cannot get an HTTP response from the server, e.g. due to network\nerror net::ERR_FAILED." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1467, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17792, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "requestfailed" + } + }, + { + "id": 17793, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17794, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1467, + "character": 48, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17795, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1467, + "character": 48, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17796, + "name": "request", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17797, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when a request finishes successfully after downloading the response body. For a successful response, the\nsequence of events is " + }, + { + "kind": "code", + "text": "`request`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`response`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`requestfinished`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1473, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17798, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "requestfinished" + } + }, + { + "id": 17799, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17800, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1473, + "character": 50, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17801, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1473, + "character": 50, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17802, + "name": "request", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Request" + }, + "name": "Request", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17803, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when [response] status and headers are received for a request. For a successful response, the sequence of\nevents is " + }, + { + "kind": "code", + "text": "`request`" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`response`" + }, + { + "kind": "text", + "text": " and " + }, + { + "kind": "code", + "text": "`requestfinished`" + }, + { + "kind": "text", + "text": "." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1479, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17804, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "response" + } + }, + { + "id": 17805, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17806, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1479, + "character": 43, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17807, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1479, + "character": 43, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17808, + "name": "response", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17809, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when [WebSocket](https://playwright.dev/docs/api/class-websocket) request is sent." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1484, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17810, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "websocket" + } + }, + { + "id": 17811, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17812, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1484, + "character": 44, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17813, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1484, + "character": 44, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17814, + "name": "webSocket", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "WebSocket" + }, + "name": "WebSocket", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 17815, + "name": "addListener", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Emitted when a dedicated [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) is spawned\nby the page." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1490, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17816, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "worker" + } + }, + { + "id": 17817, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17818, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1490, + "character": 41, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17819, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1490, + "character": 41, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17820, + "name": "worker", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Worker" + }, + "name": "Worker", + "package": "playwright-core" + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "this" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addListener" + } + }, + { + "id": 18166, + "name": "addLocatorHandler", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1992, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 18167, + "name": "addLocatorHandler", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "When testing a web page, sometimes unexpected overlays like a \"Sign up\" dialog appear and block actions you want to\nautomate, e.g. clicking a button. These overlays don't always show up in the same way or at the same time, making\nthem tricky to handle in automated tests.\n\nThis method lets you set up a special function, called a handler, that activates when it detects that overlay is\nvisible. The handler's job is to remove the overlay, allowing your test to continue as if the overlay wasn't there.\n\nThings to keep in mind:\n- When an overlay is shown predictably, we recommend explicitly waiting for it in your test and dismissing it as\n a part of your normal test flow, instead of using\n [page.addLocatorHandler(locator, handler[, options])](https://playwright.dev/docs/api/class-page#page-add-locator-handler).\n- Playwright checks for the overlay every time before executing or retrying an action that requires an\n [actionability check](https://playwright.dev/docs/actionability), or before performing an auto-waiting assertion check. When overlay\n is visible, Playwright calls the handler first, and then proceeds with the action/assertion. Note that the\n handler is only called when you perform an action/assertion - if the overlay becomes visible but you don't\n perform any actions, the handler will not be triggered.\n- After executing the handler, Playwright will ensure that overlay that triggered the handler is not visible\n anymore. You can opt-out of this behavior with\n [" + }, + { + "kind": "code", + "text": "`noWaitAfter`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-add-locator-handler-option-no-wait-after).\n- The execution time of the handler counts towards the timeout of the action/assertion that executed the handler.\n If your handler takes too long, it might cause timeouts.\n- You can register multiple handlers. However, only a single handler will be running at a time. Make sure the\n actions within a handler don't depend on another handler.\n\n**NOTE** Running the handler will alter your page state mid-test. For example it will change the currently focused\nelement and move the mouse. Make sure that actions that run after the handler are self-contained and do not rely on\nthe focus and mouse state being unchanged.\n\nFor example, consider a test that calls\n[locator.focus([options])](https://playwright.dev/docs/api/class-locator#locator-focus) followed by\n[keyboard.press(key[, options])](https://playwright.dev/docs/api/class-keyboard#keyboard-press). If your handler\nclicks a button between these two actions, the focused element most likely will be wrong, and key press will happen\non the unexpected element. Use\n[locator.press(key[, options])](https://playwright.dev/docs/api/class-locator#locator-press) instead to avoid this\nproblem.\n\nAnother example is a series of mouse actions, where\n[mouse.move(x, y[, options])](https://playwright.dev/docs/api/class-mouse#mouse-move) is followed by\n[mouse.down([options])](https://playwright.dev/docs/api/class-mouse#mouse-down). Again, when the handler runs\nbetween these two actions, the mouse position will be wrong during the mouse down. Prefer self-contained actions\nlike [locator.click([options])](https://playwright.dev/docs/api/class-locator#locator-click) that do not rely on\nthe state being unchanged by a handler.\n\n**Usage**\n\nAn example that closes a \"Sign up to the newsletter\" dialog when it appears:\n\n" + }, + { + "kind": "code", + "text": "```js\n// Setup the handler.\nawait page.addLocatorHandler(page.getByText('Sign up to the newsletter'), async () => {\n await page.getByRole('button', { name: 'No thanks' }).click();\n});\n\n// Write the test as usual.\nawait page.goto('https://example.com');\nawait page.getByRole('button', { name: 'Start here' }).click();\n```" + }, + { + "kind": "text", + "text": "\n\nAn example that skips the \"Confirm your security details\" page when it is shown:\n\n" + }, + { + "kind": "code", + "text": "```js\n// Setup the handler.\nawait page.addLocatorHandler(page.getByText('Confirm your security details'), async () => {\n await page.getByRole('button', { name: 'Remind me later' }).click();\n});\n\n// Write the test as usual.\nawait page.goto('https://example.com');\nawait page.getByRole('button', { name: 'Start here' }).click();\n```" + }, + { + "kind": "text", + "text": "\n\nAn example with a custom callback on every actionability check. It uses a " + }, + { + "kind": "code", + "text": "``" + }, + { + "kind": "text", + "text": " locator that is always visible,\nso the handler is called before every actionability check. It is important to specify\n[" + }, + { + "kind": "code", + "text": "`noWaitAfter`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-add-locator-handler-option-no-wait-after), because\nthe handler does not hide the " + }, + { + "kind": "code", + "text": "``" + }, + { + "kind": "text", + "text": " element.\n\n" + }, + { + "kind": "code", + "text": "```js\n// Setup the handler.\nawait page.addLocatorHandler(page.locator('body'), async () => {\n await page.evaluate(() => window.removeObstructionsForTestIfNeeded());\n}, { noWaitAfter: true });\n\n// Write the test as usual.\nawait page.goto('https://example.com');\nawait page.getByRole('button', { name: 'Start here' }).click();\n```" + }, + { + "kind": "text", + "text": "\n\nHandler takes the original locator as an argument. You can also automatically remove the handler after a number of\ninvocations by setting [" + }, + { + "kind": "code", + "text": "`times`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-add-locator-handler-option-times):\n\n" + }, + { + "kind": "code", + "text": "```js\nawait page.addLocatorHandler(page.getByLabel('Close'), async locator => {\n await locator.click();\n}, { times: 1 });\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1992, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 18168, + "name": "locator", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Locator that triggers the handler." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Locator" + }, + "name": "Locator", + "package": "playwright-core" + } + }, + { + "id": 18169, + "name": "handler", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Function that should be run once\n[" + }, + { + "kind": "code", + "text": "`locator`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-add-locator-handler-option-locator) appears. This\nfunction should get rid of the element that blocks actions like click." + } + ] + }, + "type": { + "type": "reflection", + "declaration": { + "id": 18170, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1992, + "character": 48, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 18171, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1992, + "character": 48, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 18172, + "name": "locator", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Locator" + }, + "name": "Locator", + "package": "playwright-core" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + }, + { + "id": 18173, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 18174, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18175, + "name": "noWaitAfter", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "By default, after calling the handler Playwright will wait until the overlay becomes hidden, and only then\nPlaywright will continue with the action/assertion that triggered the handler. This option allows to opt-out of\nthis behavior, so that overlay can stay visible after the handler has run." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1998, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18176, + "name": "times", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Specifies the maximum number of times this handler should be called. Unlimited by default." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 2003, + "character": 4, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18175, + 18176 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1992, + "character": 95, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "intrinsic", + "name": "void" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addLocatorHandler" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.addLocatorHandler" + } + }, + { + "id": 18177, + "name": "addScriptTag", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 2011, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 18178, + "name": "addScriptTag", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Adds a " + }, + { + "kind": "code", + "text": "`\n \n
\n `);\n await page.click('button');\n})();\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 931, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17462, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the function on the window object." + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17463, + "name": "playwrightBinding", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17464, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 931, + "character": 49, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17465, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 931, + "character": 49, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 17466, + "name": "source", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/structs.d.ts", + "qualifiedName": "BindingSource" + }, + "name": "BindingSource", + "package": "playwright-core" + } + }, + { + "id": 17467, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isRest": true + }, + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "any" + } + } + } + ], + "type": { + "type": "intrinsic", + "name": "any" + } + } + ] + } + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Disposable" + }, + "name": "Disposable", + "package": "playwright-core" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.exposeBinding" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.exposeBinding" + } + }, + { + "id": 18320, + "name": "exposeFunction", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 2777, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 18321, + "name": "exposeFunction", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The method adds a function called\n[" + }, + { + "kind": "code", + "text": "`name`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-expose-function-option-name) on the " + }, + { + "kind": "code", + "text": "`window`" + }, + { + "kind": "text", + "text": " object of\nevery frame in the page. When called, the function executes\n[" + }, + { + "kind": "code", + "text": "`callback`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-expose-function-option-callback) and returns a\n[Promise] which resolves to the return value of\n[" + }, + { + "kind": "code", + "text": "`callback`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-expose-function-option-callback).\n\nIf the [" + }, + { + "kind": "code", + "text": "`callback`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-expose-function-option-callback) returns a\n[Promise], it will be awaited.\n\nSee\n[browserContext.exposeFunction(name, callback)](https://playwright.dev/docs/api/class-browsercontext#browser-context-expose-function)\nfor context-wide exposed function.\n\n**NOTE** Functions installed via\n[page.exposeFunction(name, callback)](https://playwright.dev/docs/api/class-page#page-expose-function) survive\nnavigations.\n\n**Usage**\n\nAn example of adding a " + }, + { + "kind": "code", + "text": "`sha256`" + }, + { + "kind": "text", + "text": " function to the page:\n\n" + }, + { + "kind": "code", + "text": "```js\nconst { webkit } = require('playwright'); // Or 'chromium' or 'firefox'.\nconst crypto = require('crypto');\n\n(async () => {\n const browser = await webkit.launch({ headless: false });\n const page = await browser.newPage();\n await page.exposeFunction('sha256', text =>\n crypto.createHash('sha256').update(text).digest('hex'),\n );\n await page.setContent(`\n \n \n
\n `);\n await page.click('button');\n})();\n```" + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 2777, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "parameters": [ + { + "id": 18322, + "name": "name", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Name of the function on the window object" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18323, + "name": "callback", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Callback function which will be called in Playwright's context." + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Function" + }, + "name": "Function", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Disposable" + }, + "name": "Disposable", + "package": "playwright-core" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.exposeFunction" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.exposeFunction" + } + }, + { + "id": 17300, + "name": "extract", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 175, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L175", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 17301, + "name": "extract", + "variant": "signature", + "kind": 4096, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Extract structured data from the page using natural language and a Zod schema." + } + ], + "blockTags": [ + { + "tag": "@returns", + "content": [ + { + "kind": "text", + "text": "Promise that resolves with the extracted data matching the schema" + } + ] + }, + { + "tag": "@example", + "content": [ + { + "kind": "code", + "text": "```typescript\nconst data = await page.extract(\n 'Get product title and price',\n z.object({\n title: z.string(),\n price: z.number(),\n })\n);\n```" + } + ] + } + ] + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 175, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L175", + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "typeParameters": [ + { + "id": 17302, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 17303, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Natural language description of what to extract" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 17304, + "name": "schema", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Zod schema defining the structure of the data" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/zod/v4/classic/schemas.d.cts", + "qualifiedName": "ZodType" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17302, + "name": "T", + "package": "@crawlee/stagehand", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "unknown" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/zod/v4/core/schemas.d.cts", + "qualifiedName": "$ZodTypeInternals" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17302, + "name": "T", + "package": "@crawlee/stagehand", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "$ZodTypeInternals", + "package": "zod" + } + ], + "name": "ZodType", + "package": "zod" + } + }, + { + "id": 17305, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Optional configuration for the extraction" + } + ] + }, + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 19373, + "name": "ExtractOptions", + "package": "@browserbasehq/stagehand" + }, + { + "type": "literal", + "value": "page" + } + ], + "name": "Omit", + "package": "typescript" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 17302, + "name": "T", + "package": "@crawlee/stagehand", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 18324, + "name": "fill", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 2800, + "character": 2, + "gitRevision": "49c115e1ce3b3fbf2bef61f16bffeadfdcf5bd19" + } + ], + "signatures": [ + { + "id": 18325, + "name": "fill", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "**NOTE** Use locator-based [locator.fill(value[, options])](https://playwright.dev/docs/api/class-locator#locator-fill)\ninstead. Read more about [locators](https://playwright.dev/docs/locators).\n\nThis method waits for an element matching\n[" + }, + { + "kind": "code", + "text": "`selector`" + }, + { + "kind": "text", + "text": "](https://playwright.dev/docs/api/class-page#page-fill-option-selector), waits for\n[actionability](https://playwright.dev/docs/actionability) checks, focuses the element, fills it and triggers an " + }, + { + "kind": "code", + "text": "`input`" + }, + { + "kind": "text", + "text": " event after\nfilling. Note that you can pass an empty string to clear the input field.\n\nIf the target element is not an " + }, + { + "kind": "code", + "text": "``" + }, + { + "kind": "text", + "text": ", " + }, + { + "kind": "code", + "text": "`