diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 638bb4146595..cc4e44b955a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,7 @@ jobs: matrix: # We don't test on Windows as the tests are flaky os: [ ubuntu-22.04 ] - node-version: [ 18, 20, 22, 24 ] + node-version: [ 20, 22, 24 ] runs-on: ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d1715823c6b..69f0e3a74dc3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,52 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* add network timeouts to discoverValidSitemaps to prevent indefinite hangs ([#3429](https://github.com/apify/crawlee/issues/3429)) ([ee90835](https://github.com/apify/crawlee/commit/ee90835d2cbbea55815f6e417450b8c3d6b140ce)) +* bind `Browser.pages()` correctly in `PuppeteerPlugin` ([#3439](https://github.com/apify/crawlee/issues/3439)) ([c3a4b3b](https://github.com/apify/crawlee/commit/c3a4b3b0d5be63f1f7a779ff43560ab2b426f3bb)) +* **browser-pool:** allow unsetting launch context proxy URL ([#3621](https://github.com/apify/crawlee/issues/3621)) ([d5ab219](https://github.com/apify/crawlee/commit/d5ab219ec65289a6117c9273a93e2a70dbb5793a)) +* **browser-pool:** preserve caller's AbortContext across p-limit queue ([#3673](https://github.com/apify/crawlee/issues/3673)) ([c4d58d9](https://github.com/apify/crawlee/commit/c4d58d96a53800d48c375f2e0357546a9e754417)), closes [#3670](https://github.com/apify/crawlee/issues/3670) +* BrowserCrawler closes ctx.page before errorHandler runs on navig… ([#3655](https://github.com/apify/crawlee/issues/3655)) ([ab34886](https://github.com/apify/crawlee/commit/ab348864b31edebb45e2e11f3ded3489131dcc0f)) +* change sequential approach to parallel for Iterator first page ([#3402](https://github.com/apify/crawlee/issues/3402)) ([adf3dae](https://github.com/apify/crawlee/commit/adf3daeb0b3000124817b1b2011b2196342e8715)), closes [#3395](https://github.com/apify/crawlee/issues/3395) +* **core:** apply object searchParams in HTTP request options ([#3622](https://github.com/apify/crawlee/issues/3622)) ([d32946e](https://github.com/apify/crawlee/commit/d32946efbdc95bf71dfcae67b4509244e1857956)) +* **core:** release storage open queue slot on failure ([#3662](https://github.com/apify/crawlee/issues/3662)) ([18ebc61](https://github.com/apify/crawlee/commit/18ebc61b27263437f6b3814fb774e65c2c4f3b88)), closes [#3661](https://github.com/apify/crawlee/issues/3661) +* correct failed requests delta count in periodic log message ([#3482](https://github.com/apify/crawlee/issues/3482)) ([a098f42](https://github.com/apify/crawlee/commit/a098f420efdcec4b1827327c012c6eb365460838)) +* Correctly track the number of requests handled by a crawler ([#3410](https://github.com/apify/crawlee/issues/3410)) ([b2296ce](https://github.com/apify/crawlee/commit/b2296cea708fa1e83bfdf20d94067bfa51a2e2ed)), closes [#3083](https://github.com/apify/crawlee/issues/3083) [#3330](https://github.com/apify/crawlee/issues/3330) +* **e2e:** resolve flaky Camoufox tests due to GitHub rate limits ([#3527](https://github.com/apify/crawlee/issues/3527)) ([08c98cf](https://github.com/apify/crawlee/commit/08c98cf52de5fc227afa97b2ff71c52bbe832ba3)), closes [#3524](https://github.com/apify/crawlee/issues/3524) +* honor custom respectRobotsTxtFile userAgent in enqueueLinks ([#3578](https://github.com/apify/crawlee/issues/3578)) ([1d2528b](https://github.com/apify/crawlee/commit/1d2528b9a0e13841a0acf918e754d42862e84912)) +* log warning when Sitemap.load returns empty sitemap due to loading error ([#3462](https://github.com/apify/crawlee/issues/3462)) ([2cf9c1c](https://github.com/apify/crawlee/commit/2cf9c1cd9fca21ea5113ee1404dae3a6a652fec0)) +* parse proxy URLs correctly when using `useIncognitoPages` ([#3433](https://github.com/apify/crawlee/issues/3433)) ([db2bb68](https://github.com/apify/crawlee/commit/db2bb6817e0d193471330aeed30d1ead8ecee465)) +* Prevent accidental request dropping with `maxRequestsPerCrawl` ([#3531](https://github.com/apify/crawlee/issues/3531)) ([b23319b](https://github.com/apify/crawlee/commit/b23319bbe8c171541f17f343f718867e25bdb620)) +* prevent iframe expansion failure on pages with Trusted Types CSP ([#3590](https://github.com/apify/crawlee/issues/3590)) ([c0b9b50](https://github.com/apify/crawlee/commit/c0b9b50518bab6e62c62125aeefba6b919046d63)), closes [#3588](https://github.com/apify/crawlee/issues/3588) +* prevent v3 sitemap discovery init hangs in discoverValidSitemaps ([#3434](https://github.com/apify/crawlee/issues/3434)) ([6c04f92](https://github.com/apify/crawlee/commit/6c04f923ceca6963e25ad73ebd41e480b0d7c0e4)), closes [#3412](https://github.com/apify/crawlee/issues/3412) +* unref BrowserController.close() fallback timer to avoid keeping Node alive longer than needed ([#3671](https://github.com/apify/crawlee/issues/3671)) ([eef94d4](https://github.com/apify/crawlee/commit/eef94d441503c3ee879f396d86a96a5ac7d0edc8)) +* using GET for candidate checks - sitemaps ([#3464](https://github.com/apify/crawlee/issues/3464)) ([f82eb04](https://github.com/apify/crawlee/commit/f82eb04673b6a9afd0e56dac374a2fa5c91b42e0)), closes [#3463](https://github.com/apify/crawlee/issues/3463) + + +### Features + +* **adaptive-crawler:** add shouldPropagateError callback to prevent browser fallback ([#3635](https://github.com/apify/crawlee/issues/3635)) ([d3a29d9](https://github.com/apify/crawlee/commit/d3a29d9623bfd3b9b75c496a1c48134532c824e5)) +* add `ignoreProxyCertificate` option for the internal `proxy-chain` instance ([#3418](https://github.com/apify/crawlee/issues/3418)) ([02eec66](https://github.com/apify/crawlee/commit/02eec66ecfaef94dd9903940d7969e72cf4b1fd1)), closes [#3369](https://github.com/apify/crawlee/issues/3369) +* add abortDownload context helper to FileDownload ([#3528](https://github.com/apify/crawlee/issues/3528)) ([3b3d8f6](https://github.com/apify/crawlee/commit/3b3d8f685b079dea6594758a5897ba2a3181c3ac)) +* Dynamic memory snapshots ([#3471](https://github.com/apify/crawlee/issues/3471)) ([87c67dc](https://github.com/apify/crawlee/commit/87c67dc4084b11f04cc62926489d657041e60e2c)), closes [#3408](https://github.com/apify/crawlee/issues/3408) +* expose Download objects on PlaywrightCrawlingContext ([#3596](https://github.com/apify/crawlee/issues/3596)) ([5dc1627](https://github.com/apify/crawlee/commit/5dc1627deccd3d04d12fefec99b0e119fb87cbe4)), closes [#3583](https://github.com/apify/crawlee/issues/3583) +* Modularize SystemStatus to allow custom backpressure mechanisms ([#3529](https://github.com/apify/crawlee/issues/3529)) ([7159a13](https://github.com/apify/crawlee/commit/7159a13e0fb13661b9d6fa8cae1a0713bdbfb4eb)) +* **templates:** use ImpitHttpClient and install optional deps in Docker ([#3603](https://github.com/apify/crawlee/issues/3603)) ([113dca6](https://github.com/apify/crawlee/commit/113dca699960f2018341ee8342b9b6af70252153)), closes [#3601](https://github.com/apify/crawlee/issues/3601) +* **utils:** add sitemapFilter option to parseSitemap ([#3557](https://github.com/apify/crawlee/issues/3557)) ([1d4f6b9](https://github.com/apify/crawlee/commit/1d4f6b9ca44b8224f14584c337bd80209eea3819)) + + +### Performance Improvements + +* add lazyIterablePromise to kvs iterators ([#3413](https://github.com/apify/crawlee/issues/3413)) ([2658610](https://github.com/apify/crawlee/commit/2658610a62ae8dca2702f5af222d64f88d91f4a8)) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/lerna.json b/lerna.json index b7be0a46807e..b3dafc27e74d 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "3.16.0", + "version": "3.17.0", "command": { "version": { "conventionalCommits": true, diff --git a/packages/basic-crawler/CHANGELOG.md b/packages/basic-crawler/CHANGELOG.md index 446580203747..b2defe139aeb 100644 --- a/packages/basic-crawler/CHANGELOG.md +++ b/packages/basic-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.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* correct failed requests delta count in periodic log message ([#3482](https://github.com/apify/crawlee/issues/3482)) ([a098f42](https://github.com/apify/crawlee/commit/a098f420efdcec4b1827327c012c6eb365460838)) +* Correctly track the number of requests handled by a crawler ([#3410](https://github.com/apify/crawlee/issues/3410)) ([b2296ce](https://github.com/apify/crawlee/commit/b2296cea708fa1e83bfdf20d94067bfa51a2e2ed)), closes [#3083](https://github.com/apify/crawlee/issues/3083) [#3330](https://github.com/apify/crawlee/issues/3330) +* honor custom respectRobotsTxtFile userAgent in enqueueLinks ([#3578](https://github.com/apify/crawlee/issues/3578)) ([1d2528b](https://github.com/apify/crawlee/commit/1d2528b9a0e13841a0acf918e754d42862e84912)) +* Prevent accidental request dropping with `maxRequestsPerCrawl` ([#3531](https://github.com/apify/crawlee/issues/3531)) ([b23319b](https://github.com/apify/crawlee/commit/b23319bbe8c171541f17f343f718867e25bdb620)) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/basic-crawler/package.json b/packages/basic-crawler/package.json index ed1c45e03dd1..ce64261cade8 100644 --- a/packages/basic-crawler/package.json +++ b/packages/basic-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/basic", - "version": "3.16.0", + "version": "3.17.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" @@ -48,9 +48,9 @@ "@apify/log": "^2.4.0", "@apify/timeout": "^0.3.0", "@apify/utilities": "^2.7.10", - "@crawlee/core": "3.16.0", - "@crawlee/types": "3.16.0", - "@crawlee/utils": "3.16.0", + "@crawlee/core": "3.17.0", + "@crawlee/types": "3.17.0", + "@crawlee/utils": "3.17.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 cef3a5be41fe..2c8fd8151bea 100644 --- a/packages/browser-crawler/CHANGELOG.md +++ b/packages/browser-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.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* BrowserCrawler closes ctx.page before errorHandler runs on navig… ([#3655](https://github.com/apify/crawlee/issues/3655)) ([ab34886](https://github.com/apify/crawlee/commit/ab348864b31edebb45e2e11f3ded3489131dcc0f)) + + +### Features + +* add `ignoreProxyCertificate` option for the internal `proxy-chain` instance ([#3418](https://github.com/apify/crawlee/issues/3418)) ([02eec66](https://github.com/apify/crawlee/commit/02eec66ecfaef94dd9903940d7969e72cf4b1fd1)), closes [#3369](https://github.com/apify/crawlee/issues/3369) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/browser-crawler/package.json b/packages/browser-crawler/package.json index dc0a71edbdfb..c58c44599258 100644 --- a/packages/browser-crawler/package.json +++ b/packages/browser-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/browser", - "version": "3.16.0", + "version": "3.17.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.3.0", - "@crawlee/basic": "3.16.0", - "@crawlee/browser-pool": "3.16.0", - "@crawlee/types": "3.16.0", - "@crawlee/utils": "3.16.0", + "@crawlee/basic": "3.17.0", + "@crawlee/browser-pool": "3.17.0", + "@crawlee/types": "3.17.0", + "@crawlee/utils": "3.17.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 8fb148e5af6c..3cfd1cbd6228 100644 --- a/packages/browser-pool/CHANGELOG.md +++ b/packages/browser-pool/CHANGELOG.md @@ -3,6 +3,27 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* bind `Browser.pages()` correctly in `PuppeteerPlugin` ([#3439](https://github.com/apify/crawlee/issues/3439)) ([c3a4b3b](https://github.com/apify/crawlee/commit/c3a4b3b0d5be63f1f7a779ff43560ab2b426f3bb)) +* **browser-pool:** allow unsetting launch context proxy URL ([#3621](https://github.com/apify/crawlee/issues/3621)) ([d5ab219](https://github.com/apify/crawlee/commit/d5ab219ec65289a6117c9273a93e2a70dbb5793a)) +* **browser-pool:** preserve caller's AbortContext across p-limit queue ([#3673](https://github.com/apify/crawlee/issues/3673)) ([c4d58d9](https://github.com/apify/crawlee/commit/c4d58d96a53800d48c375f2e0357546a9e754417)), closes [#3670](https://github.com/apify/crawlee/issues/3670) +* BrowserCrawler closes ctx.page before errorHandler runs on navig… ([#3655](https://github.com/apify/crawlee/issues/3655)) ([ab34886](https://github.com/apify/crawlee/commit/ab348864b31edebb45e2e11f3ded3489131dcc0f)) +* parse proxy URLs correctly when using `useIncognitoPages` ([#3433](https://github.com/apify/crawlee/issues/3433)) ([db2bb68](https://github.com/apify/crawlee/commit/db2bb6817e0d193471330aeed30d1ead8ecee465)) +* unref BrowserController.close() fallback timer to avoid keeping Node alive longer than needed ([#3671](https://github.com/apify/crawlee/issues/3671)) ([eef94d4](https://github.com/apify/crawlee/commit/eef94d441503c3ee879f396d86a96a5ac7d0edc8)) + + +### Features + +* add `ignoreProxyCertificate` option for the internal `proxy-chain` instance ([#3418](https://github.com/apify/crawlee/issues/3418)) ([02eec66](https://github.com/apify/crawlee/commit/02eec66ecfaef94dd9903940d7969e72cf4b1fd1)), closes [#3369](https://github.com/apify/crawlee/issues/3369) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/browser-pool/package.json b/packages/browser-pool/package.json index ceb00ea97821..eb1ddb7c7198 100644 --- a/packages/browser-pool/package.json +++ b/packages/browser-pool/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/browser-pool", - "version": "3.16.0", + "version": "3.17.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.3.0", - "@crawlee/core": "3.16.0", - "@crawlee/types": "3.16.0", + "@crawlee/core": "3.17.0", + "@crawlee/types": "3.17.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 5fcd2e1039c2..cd19de0ab6ce 100644 --- a/packages/cheerio-crawler/CHANGELOG.md +++ b/packages/cheerio-crawler/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.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 + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/cheerio-crawler/package.json b/packages/cheerio-crawler/package.json index 5047d56944ff..f9e274cbc619 100644 --- a/packages/cheerio-crawler/package.json +++ b/packages/cheerio-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/cheerio", - "version": "3.16.0", + "version": "3.17.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.16.0", - "@crawlee/types": "3.16.0", - "@crawlee/utils": "3.16.0", + "@crawlee/http": "3.17.0", + "@crawlee/types": "3.17.0", + "@crawlee/utils": "3.17.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 79b4e4c14a89..843c3601d58e 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.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 + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/cli/package.json b/packages/cli/package.json index a92a3f76715b..4dd66c216cb4 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/cli", - "version": "3.16.0", + "version": "3.17.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.16.0", + "@crawlee/templates": "3.17.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 35c5bf9aff2a..e70f308fb8fd 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -3,6 +3,25 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* **core:** release storage open queue slot on failure ([#3662](https://github.com/apify/crawlee/issues/3662)) ([18ebc61](https://github.com/apify/crawlee/commit/18ebc61b27263437f6b3814fb774e65c2c4f3b88)), closes [#3661](https://github.com/apify/crawlee/issues/3661) +* honor custom respectRobotsTxtFile userAgent in enqueueLinks ([#3578](https://github.com/apify/crawlee/issues/3578)) ([1d2528b](https://github.com/apify/crawlee/commit/1d2528b9a0e13841a0acf918e754d42862e84912)) +* Prevent accidental request dropping with `maxRequestsPerCrawl` ([#3531](https://github.com/apify/crawlee/issues/3531)) ([b23319b](https://github.com/apify/crawlee/commit/b23319bbe8c171541f17f343f718867e25bdb620)) + + +### Features + +* Dynamic memory snapshots ([#3471](https://github.com/apify/crawlee/issues/3471)) ([87c67dc](https://github.com/apify/crawlee/commit/87c67dc4084b11f04cc62926489d657041e60e2c)), closes [#3408](https://github.com/apify/crawlee/issues/3408) +* Modularize SystemStatus to allow custom backpressure mechanisms ([#3529](https://github.com/apify/crawlee/issues/3529)) ([7159a13](https://github.com/apify/crawlee/commit/7159a13e0fb13661b9d6fa8cae1a0713bdbfb4eb)) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/core/package.json b/packages/core/package.json index e3290c10841a..e78162f92be9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/core", - "version": "3.16.0", + "version": "3.17.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.3.0", "@apify/utilities": "^2.7.10", - "@crawlee/memory-storage": "3.16.0", - "@crawlee/types": "3.16.0", - "@crawlee/utils": "3.16.0", + "@crawlee/memory-storage": "3.17.0", + "@crawlee/types": "3.17.0", + "@crawlee/utils": "3.17.0", "@sapphire/async-queue": "^1.5.1", "@vladfrangu/async_event_emitter": "^2.2.2", "csv-stringify": "^6.2.0", diff --git a/packages/crawlee/CHANGELOG.md b/packages/crawlee/CHANGELOG.md index 12109d6c56b6..b0b99dbeb164 100644 --- a/packages/crawlee/CHANGELOG.md +++ b/packages/crawlee/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.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + +**Note:** Version bump only for package crawlee + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/crawlee/package.json b/packages/crawlee/package.json index 5b9a78f1192b..61e7c59ed2e6 100644 --- a/packages/crawlee/package.json +++ b/packages/crawlee/package.json @@ -1,6 +1,6 @@ { "name": "crawlee", - "version": "3.16.0", + "version": "3.17.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,18 +54,18 @@ "access": "public" }, "dependencies": { - "@crawlee/basic": "3.16.0", - "@crawlee/browser": "3.16.0", - "@crawlee/browser-pool": "3.16.0", - "@crawlee/cheerio": "3.16.0", - "@crawlee/cli": "3.16.0", - "@crawlee/core": "3.16.0", - "@crawlee/http": "3.16.0", - "@crawlee/jsdom": "3.16.0", - "@crawlee/linkedom": "3.16.0", - "@crawlee/playwright": "3.16.0", - "@crawlee/puppeteer": "3.16.0", - "@crawlee/utils": "3.16.0", + "@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/playwright": "3.17.0", + "@crawlee/puppeteer": "3.17.0", + "@crawlee/utils": "3.17.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 f81a26b71ad9..08e455e09c7b 100644 --- a/packages/http-crawler/CHANGELOG.md +++ b/packages/http-crawler/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.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Features + +* add abortDownload context helper to FileDownload ([#3528](https://github.com/apify/crawlee/issues/3528)) ([3b3d8f6](https://github.com/apify/crawlee/commit/3b3d8f685b079dea6594758a5897ba2a3181c3ac)) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/http-crawler/package.json b/packages/http-crawler/package.json index f7317eded09b..4fba0b2a54de 100644 --- a/packages/http-crawler/package.json +++ b/packages/http-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/http", - "version": "3.16.0", + "version": "3.17.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.3.0", "@apify/utilities": "^2.7.10", - "@crawlee/basic": "3.16.0", - "@crawlee/types": "3.16.0", - "@crawlee/utils": "3.16.0", + "@crawlee/basic": "3.17.0", + "@crawlee/types": "3.17.0", + "@crawlee/utils": "3.17.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 c01fc0040022..25e688f8dbed 100644 --- a/packages/impit-client/CHANGELOG.md +++ b/packages/impit-client/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.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 + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/impit-client/package.json b/packages/impit-client/package.json index 904f9e7df6b4..d23cbd897724 100644 --- a/packages/impit-client/package.json +++ b/packages/impit-client/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/impit-client", - "version": "3.16.0", + "version": "3.17.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.16.0" + "@crawlee/core": "^3.17.0" }, "dependencies": { "@apify/datastructures": "^2.0.3", diff --git a/packages/jsdom-crawler/CHANGELOG.md b/packages/jsdom-crawler/CHANGELOG.md index d127c83b2d92..7f77ca3641b8 100644 --- a/packages/jsdom-crawler/CHANGELOG.md +++ b/packages/jsdom-crawler/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.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 + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/jsdom-crawler/package.json b/packages/jsdom-crawler/package.json index a664b2661470..956b15c51fbf 100644 --- a/packages/jsdom-crawler/package.json +++ b/packages/jsdom-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/jsdom", - "version": "3.16.0", + "version": "3.17.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.3.0", "@apify/utilities": "^2.7.10", - "@crawlee/http": "3.16.0", - "@crawlee/types": "3.16.0", - "@crawlee/utils": "3.16.0", + "@crawlee/http": "3.17.0", + "@crawlee/types": "3.17.0", + "@crawlee/utils": "3.17.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 6f4e40a47421..14a3c64aa119 100644 --- a/packages/linkedom-crawler/CHANGELOG.md +++ b/packages/linkedom-crawler/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.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 + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/linkedom-crawler/package.json b/packages/linkedom-crawler/package.json index ca8a4ba28e14..5e8385b5c7e8 100644 --- a/packages/linkedom-crawler/package.json +++ b/packages/linkedom-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/linkedom", - "version": "3.16.0", + "version": "3.17.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,8 +55,8 @@ "dependencies": { "@apify/timeout": "^0.3.0", "@apify/utilities": "^2.7.10", - "@crawlee/http": "3.16.0", - "@crawlee/types": "3.16.0", + "@crawlee/http": "3.17.0", + "@crawlee/types": "3.17.0", "linkedom": "^0.18.0", "ow": "^0.28.2", "tslib": "^2.4.0" diff --git a/packages/memory-storage/CHANGELOG.md b/packages/memory-storage/CHANGELOG.md index 47525fe4d561..09055adf4f43 100644 --- a/packages/memory-storage/CHANGELOG.md +++ b/packages/memory-storage/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.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* change sequential approach to parallel for Iterator first page ([#3402](https://github.com/apify/crawlee/issues/3402)) ([adf3dae](https://github.com/apify/crawlee/commit/adf3daeb0b3000124817b1b2011b2196342e8715)), closes [#3395](https://github.com/apify/crawlee/issues/3395) + + +### Performance Improvements + +* add lazyIterablePromise to kvs iterators ([#3413](https://github.com/apify/crawlee/issues/3413)) ([2658610](https://github.com/apify/crawlee/commit/2658610a62ae8dca2702f5af222d64f88d91f4a8)) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/memory-storage/package.json b/packages/memory-storage/package.json index 22cf852d4003..50a6560e4a9a 100644 --- a/packages/memory-storage/package.json +++ b/packages/memory-storage/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/memory-storage", - "version": "3.16.0", + "version": "3.17.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.16.0", + "@crawlee/types": "3.17.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 d16ec6a9fcbf..3b531401f8f4 100644 --- a/packages/playwright-crawler/CHANGELOG.md +++ b/packages/playwright-crawler/CHANGELOG.md @@ -3,6 +3,24 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* Prevent accidental request dropping with `maxRequestsPerCrawl` ([#3531](https://github.com/apify/crawlee/issues/3531)) ([b23319b](https://github.com/apify/crawlee/commit/b23319bbe8c171541f17f343f718867e25bdb620)) +* prevent iframe expansion failure on pages with Trusted Types CSP ([#3590](https://github.com/apify/crawlee/issues/3590)) ([c0b9b50](https://github.com/apify/crawlee/commit/c0b9b50518bab6e62c62125aeefba6b919046d63)), closes [#3588](https://github.com/apify/crawlee/issues/3588) + + +### Features + +* **adaptive-crawler:** add shouldPropagateError callback to prevent browser fallback ([#3635](https://github.com/apify/crawlee/issues/3635)) ([d3a29d9](https://github.com/apify/crawlee/commit/d3a29d9623bfd3b9b75c496a1c48134532c824e5)) +* expose Download objects on PlaywrightCrawlingContext ([#3596](https://github.com/apify/crawlee/issues/3596)) ([5dc1627](https://github.com/apify/crawlee/commit/5dc1627deccd3d04d12fefec99b0e119fb87cbe4)), closes [#3583](https://github.com/apify/crawlee/issues/3583) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/playwright-crawler/package.json b/packages/playwright-crawler/package.json index 2e14429f7073..c478eb0dfbaf 100644 --- a/packages/playwright-crawler/package.json +++ b/packages/playwright-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/playwright", - "version": "3.16.0", + "version": "3.17.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.3.1", - "@crawlee/browser": "3.16.0", - "@crawlee/browser-pool": "3.16.0", - "@crawlee/core": "3.16.0", - "@crawlee/types": "3.16.0", - "@crawlee/utils": "3.16.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", "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 7170ef35da7b..47ca8dfbdb30 100644 --- a/packages/puppeteer-crawler/CHANGELOG.md +++ b/packages/puppeteer-crawler/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.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 + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/puppeteer-crawler/package.json b/packages/puppeteer-crawler/package.json index 48e46a6c1f09..3d536dc9fe8f 100644 --- a/packages/puppeteer-crawler/package.json +++ b/packages/puppeteer-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/puppeteer", - "version": "3.16.0", + "version": "3.17.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.16.0", - "@crawlee/browser-pool": "3.16.0", - "@crawlee/types": "3.16.0", - "@crawlee/utils": "3.16.0", + "@crawlee/browser": "3.17.0", + "@crawlee/browser-pool": "3.17.0", + "@crawlee/types": "3.17.0", + "@crawlee/utils": "3.17.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 3ff73144c8dc..9b7ebe12b317 100644 --- a/packages/stagehand-crawler/CHANGELOG.md +++ b/packages/stagehand-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.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* parse proxy URLs correctly when using `useIncognitoPages` ([#3433](https://github.com/apify/crawlee/issues/3433)) ([db2bb68](https://github.com/apify/crawlee/commit/db2bb6817e0d193471330aeed30d1ead8ecee465)) + + +### Features + +* add `ignoreProxyCertificate` option for the internal `proxy-chain` instance ([#3418](https://github.com/apify/crawlee/issues/3418)) ([02eec66](https://github.com/apify/crawlee/commit/02eec66ecfaef94dd9903940d7969e72cf4b1fd1)), closes [#3369](https://github.com/apify/crawlee/issues/3369) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/stagehand-crawler/package.json b/packages/stagehand-crawler/package.json index 92c8a41a03fe..e891b5ca1781 100644 --- a/packages/stagehand-crawler/package.json +++ b/packages/stagehand-crawler/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/stagehand", - "version": "3.16.0", + "version": "3.17.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.3.1", - "@crawlee/browser": "3.16.0", - "@crawlee/browser-pool": "3.16.0", - "@crawlee/core": "3.16.0", - "@crawlee/types": "3.16.0", - "@crawlee/utils": "3.16.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", "ow": "^0.28.1", "tslib": "^2.4.0" }, diff --git a/packages/templates/CHANGELOG.md b/packages/templates/CHANGELOG.md index 37722a0a4039..bb67c1dd5d3b 100644 --- a/packages/templates/CHANGELOG.md +++ b/packages/templates/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.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* **e2e:** resolve flaky Camoufox tests due to GitHub rate limits ([#3527](https://github.com/apify/crawlee/issues/3527)) ([08c98cf](https://github.com/apify/crawlee/commit/08c98cf52de5fc227afa97b2ff71c52bbe832ba3)), closes [#3524](https://github.com/apify/crawlee/issues/3524) + + +### Features + +* **templates:** use ImpitHttpClient and install optional deps in Docker ([#3603](https://github.com/apify/crawlee/issues/3603)) ([113dca6](https://github.com/apify/crawlee/commit/113dca699960f2018341ee8342b9b6af70252153)), closes [#3601](https://github.com/apify/crawlee/issues/3601) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/templates/package.json b/packages/templates/package.json index 098c0b7edc05..4635fae35bc9 100644 --- a/packages/templates/package.json +++ b/packages/templates/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/templates", - "version": "3.16.0", + "version": "3.17.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 ec288e390234..7bd36c626256 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.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 + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/types/package.json b/packages/types/package.json index 3dc7849adf93..d3e64ddfcda1 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/types", - "version": "3.16.0", + "version": "3.17.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 d429f17db7c5..34dc465c5614 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -3,6 +3,27 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.17.0](https://github.com/apify/crawlee/compare/v3.16.0...v3.17.0) (2026-06-04) + + +### Bug Fixes + +* add network timeouts to discoverValidSitemaps to prevent indefinite hangs ([#3429](https://github.com/apify/crawlee/issues/3429)) ([ee90835](https://github.com/apify/crawlee/commit/ee90835d2cbbea55815f6e417450b8c3d6b140ce)) +* **core:** apply object searchParams in HTTP request options ([#3622](https://github.com/apify/crawlee/issues/3622)) ([d32946e](https://github.com/apify/crawlee/commit/d32946efbdc95bf71dfcae67b4509244e1857956)) +* log warning when Sitemap.load returns empty sitemap due to loading error ([#3462](https://github.com/apify/crawlee/issues/3462)) ([2cf9c1c](https://github.com/apify/crawlee/commit/2cf9c1cd9fca21ea5113ee1404dae3a6a652fec0)) +* Prevent accidental request dropping with `maxRequestsPerCrawl` ([#3531](https://github.com/apify/crawlee/issues/3531)) ([b23319b](https://github.com/apify/crawlee/commit/b23319bbe8c171541f17f343f718867e25bdb620)) +* prevent v3 sitemap discovery init hangs in discoverValidSitemaps ([#3434](https://github.com/apify/crawlee/issues/3434)) ([6c04f92](https://github.com/apify/crawlee/commit/6c04f923ceca6963e25ad73ebd41e480b0d7c0e4)), closes [#3412](https://github.com/apify/crawlee/issues/3412) +* using GET for candidate checks - sitemaps ([#3464](https://github.com/apify/crawlee/issues/3464)) ([f82eb04](https://github.com/apify/crawlee/commit/f82eb04673b6a9afd0e56dac374a2fa5c91b42e0)), closes [#3463](https://github.com/apify/crawlee/issues/3463) + + +### Features + +* **utils:** add sitemapFilter option to parseSitemap ([#3557](https://github.com/apify/crawlee/issues/3557)) ([1d4f6b9](https://github.com/apify/crawlee/commit/1d4f6b9ca44b8224f14584c337bd80209eea3819)) + + + + + # [3.16.0](https://github.com/apify/crawlee/compare/v3.15.3...v3.16.0) (2026-02-06) diff --git a/packages/utils/package.json b/packages/utils/package.json index 01826032d55b..bec96c7e246b 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@crawlee/utils", - "version": "3.16.0", + "version": "3.17.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.16.0", + "@crawlee/types": "3.17.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.17/api-packages.json b/website/versioned_docs/version-3.17/api-packages.json new file mode 100644 index 000000000000..ecab15432820 --- /dev/null +++ b/website/versioned_docs/version-3.17/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.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.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.17.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/utils","packagePath":"packages/utils","packageSlug":"utils","packageName":"@crawlee/utils","packageVersion":"3.17.0"},{"entryPoints":{"index":{"label":"Index","path":"src/index.ts"}},"packageRoot":"../packages/types","packagePath":"packages/types","packageSlug":"types","packageName":"@crawlee/types","packageVersion":"3.17.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.17.0"}] \ No newline at end of file diff --git a/website/versioned_docs/version-3.17/api-typedoc.json b/website/versioned_docs/version-3.17/api-typedoc.json new file mode 100644 index 000000000000..21f6076a948c --- /dev/null +++ b/website/versioned_docs/version-3.17/api-typedoc.json @@ -0,0 +1,520164 @@ +{ + "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": 19291, + "name": "AddRequestsBatchedOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 1010, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_provider.ts#L1010", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3665 + }, + { + "id": 19292, + "name": "AddRequestsBatchedResult", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 1040, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_provider.ts#L1040", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3672 + }, + { + "id": 19131, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/autoscaled_pool.ts#L181", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 268 + }, + { + "id": 19130, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/autoscaled_pool.ts#L17", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 244 + }, + { + "id": 19215, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/base-http-client.ts#L179", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1622 + }, + { + "id": 19211, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/base-http-client.ts#L130", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1578 + }, + { + "id": 19334, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/constants.ts#L6", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8844 + }, + { + "id": 19329, + "name": "BasicCrawler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 490, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L490", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8540 + }, + { + "id": 19327, + "name": "BasicCrawlerOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 135, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L135", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8503 + }, + { + "id": 19322, + "name": "BasicCrawlingContext", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 73, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L73", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8420 + }, + { + "id": 19250, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/session_pool/consts.ts#L1", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2836 + }, + { + "id": 19342, + "name": "BrowserCrawler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 314, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L314", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 9179 + }, + { + "id": 19341, + "name": "BrowserCrawlerOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 75, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L75", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 9130 + }, + { + "id": 19337, + "name": "BrowserCrawlingContext", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 52, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L52", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 9076 + }, + { + "id": 19339, + "name": "BrowserErrorHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 67, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L67", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 9121 + }, + { + "id": 19340, + "name": "BrowserHook", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 70, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L70", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 9123 + }, + { + "id": 19343, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-launcher.ts#L14", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 9497 + }, + { + "id": 19338, + "name": "BrowserRequestHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 64, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L64", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 9119 + }, + { + "id": 19305, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/access_checking.ts#L10", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3776 + }, + { + "id": 19116, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/index.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 7616 + }, + { + "id": 19115, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/index.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 7562 + }, + { + "id": 19114, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/index.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 7561 + }, + { + "id": 19155, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/system_status.ts#L95", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 692 + }, + { + "id": 19134, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/client_load_signal.ts#L12", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 385 + }, + { + "id": 19133, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/client_load_signal.ts#L8", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 381 + }, + { + "id": 19159, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/configuration.ts#L247", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 766 + }, + { + "id": 19158, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/configuration.ts#L16", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 722 + }, + { + "id": 19123, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/index.ts#L19", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 117 + }, + { + "id": 19138, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/cpu_load_signal.ts#L12", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 412 + }, + { + "id": 19137, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/cpu_load_signal.ts#L7", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 404 + }, + { + "id": 19331, + "name": "CrawlerAddRequestsOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2106, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L2106", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8825 + }, + { + "id": 19332, + "name": "CrawlerAddRequestsResult", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2108, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L2108", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8832 + }, + { + "id": 19328, + "name": "CrawlerExperiments", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 416, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L416", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8538 + }, + { + "id": 19333, + "name": "CrawlerRunOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2110, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L2110", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8836 + }, + { + "id": 19165, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L112", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 911 + }, + { + "id": 19321, + "name": "createBasicRouter", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2152, + "character": 16, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L2152", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8415 + }, + { + "id": 19132, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/client_load_signal.ts#L24", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 367 + }, + { + "id": 19330, + "name": "CreateContextOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 2100, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L2100", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8821 + }, + { + "id": 19136, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/cpu_load_signal.ts#L22", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 392 + }, + { + "id": 19140, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/event_loop_load_signal.ts#L19", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 417 + }, + { + "id": 19247, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/session_pool/session_pool.ts#L22", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2610 + }, + { + "id": 19126, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/errors.ts#L10", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 158 + }, + { + "id": 19263, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L232", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3096 + }, + { + "id": 19264, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L775", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3186 + }, + { + "id": 19268, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L814", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3209 + }, + { + "id": 19259, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L92", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3059 + }, + { + "id": 19260, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L144", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3068 + }, + { + "id": 19262, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L176", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3086 + }, + { + "id": 19261, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L152", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3076 + }, + { + "id": 19265, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L786", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3191 + }, + { + "id": 19267, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L807", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3204 + }, + { + "id": 19266, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/dataset.ts#L798", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3197 + }, + { + "id": 19117, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/index.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8153 + }, + { + "id": 19179, + "name": "enqueueLinks", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/enqueue_links.ts", + "line": 281, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/enqueue_links.ts#L281", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1235 + }, + { + "id": 19181, + "name": "EnqueueLinksOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/enqueue_links.ts", + "line": 34, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/enqueue_links.ts#L34", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1271 + }, + { + "id": 19182, + "name": "EnqueueStrategy", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/enqueue_links/enqueue_links.ts", + "line": 223, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/enqueue_links.ts#L223", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1294 + }, + { + "id": 19174, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/error_tracker.ts#L9", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1161 + }, + { + "id": 19324, + "name": "ErrorHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 116, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L116", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8484 + }, + { + "id": 19178, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/error_snapshotter.ts#L42", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1211 + }, + { + "id": 19176, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/error_tracker.ts#L286", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1178 + }, + { + "id": 19175, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/error_tracker.ts#L17", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1170 + }, + { + "id": 19144, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/load_signal.ts#L188", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 441 + }, + { + "id": 19142, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/event_loop_load_signal.ts#L8", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 435 + }, + { + "id": 19141, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/event_loop_load_signal.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 431 + }, + { + "id": 19205, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/events/event_manager.ts#L24", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1380 + }, + { + "id": 19203, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/events/event_manager.ts#L9", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1373 + }, + { + "id": 19204, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/events/event_manager.ts#L17", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1379 + }, + { + "id": 19190, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L214", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1330 + }, + { + "id": 19156, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/system_status.ts#L101", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 696 + }, + { + "id": 19236, + "name": "GetUserDataFromRequest", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 15, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/router.ts#L15", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2412 + }, + { + "id": 19197, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L41", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1357 + }, + { + "id": 19196, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L36", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1354 + }, + { + "id": 19216, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/got-scraping-http-client.ts#L17", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1631 + }, + { + "id": 19209, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/base-http-client.ts#L78", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1515 + }, + { + "id": 19210, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/base-http-client.ts#L111", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1545 + }, + { + "id": 19212, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/base-http-client.ts#L152", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1587 + }, + { + "id": 19277, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_list.ts#L26", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3341 + }, + { + "id": 19284, + "name": "IRequestManager", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 44, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_provider.ts#L44", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3508 + }, + { + "id": 19293, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/storage_manager.ts#L14", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3676 + }, + { + "id": 19271, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/key_value_store.ts#L814", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3319 + }, + { + "id": 19270, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/key_value_store.ts#L108", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3224 + }, + { + "id": 19274, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/key_value_store.ts#L848", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3335 + }, + { + "id": 19272, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/key_value_store.ts#L824", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3326 + }, + { + "id": 19162, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L21", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 872 + }, + { + "id": 19146, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/load_signal.ts#L25", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 448 + }, + { + "id": 19145, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/load_signal.ts#L12", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 445 + }, + { + "id": 19206, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/events/local_event_manager.ts#L11", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1424 + }, + { + "id": 19217, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/log.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1642 + }, + { + "id": 19218, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/log.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1643 + }, + { + "id": 19220, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/log.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1714 + }, + { + "id": 19221, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/log.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1874 + }, + { + "id": 19223, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/log.ts#L5", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2201 + }, + { + "id": 19222, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/log.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2035 + }, + { + "id": 19219, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/log.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1706 + }, + { + "id": 19252, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/session_pool/consts.ts#L3", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2838 + }, + { + "id": 19150, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/memory_load_signal.ts#L32", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 537 + }, + { + "id": 19149, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/memory_load_signal.ts#L20", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 531 + }, + { + "id": 19148, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/memory_load_signal.ts#L16", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 527 + }, + { + "id": 19125, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/errors.ts#L4", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 135 + }, + { + "id": 19251, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/session_pool/consts.ts#L2", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2837 + }, + { + "id": 19169, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/statistics.ts#L41", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1041 + }, + { + "id": 19207, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/base-http-client.ts#L196", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1507 + }, + { + "id": 19228, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/proxy_configuration.ts#L203", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2236 + }, + { + "id": 19224, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/proxy_configuration.ts#L9", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2215 + }, + { + "id": 19225, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/proxy_configuration.ts#L15", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2221 + }, + { + "id": 19227, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/proxy_configuration.ts#L80", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2228 + }, + { + "id": 19118, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/index.ts#L18", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 72 + }, + { + "id": 19195, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L34", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1353 + }, + { + "id": 19194, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L29", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1350 + }, + { + "id": 19296, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/utils.ts#L33", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "packages/core/src/storages/utils.ts", + "line": 45, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/utils.ts#L45", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "packages/core/src/storages/utils.ts", + "line": 46, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/utils.ts#L46", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3753 + }, + { + "id": 19232, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/request.ts#L567", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2368 + }, + { + "id": 19124, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/index.ts#L19", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 131 + }, + { + "id": 19273, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/key_value_store.ts#L831", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3331 + }, + { + "id": 19320, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/recoverable_state.ts#L75", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 4009 + }, + { + "id": 19319, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/recoverable_state.ts#L33", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3992 + }, + { + "id": 19318, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/recoverable_state.ts#L6", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3987 + }, + { + "id": 19214, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/base-http-client.ts#L171", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1614 + }, + { + "id": 19199, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L48", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1361 + }, + { + "id": 19198, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L43", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1358 + }, + { + "id": 19230, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/request.ts#L84", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2285 + }, + { + "id": 19323, + "name": "RequestHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 112, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L112", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8479 + }, + { + "id": 19166, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L175", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 948 + }, + { + "id": 19279, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_list.ts#L300", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3372 + }, + { + "id": 19278, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_list.ts#L91", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3363 + }, + { + "id": 19281, + "name": "RequestListSourcesFunction", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_list.ts", + "line": 1002, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_list.ts#L1002", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3473 + }, + { + "id": 19280, + "name": "RequestListState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_list.ts", + "line": 990, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_list.ts#L990", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3469 + }, + { + "id": 19309, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_manager_tandem.ts#L22", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3878 + }, + { + "id": 19231, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/request.ts#L451", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2348 + }, + { + "id": 19285, + "name": "RequestProvider", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 102, + "character": 22, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_provider.ts#L102", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3539 + }, + { + "id": 19286, + "name": "RequestProviderOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 952, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_provider.ts#L952", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3638 + }, + { + "id": 19254, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/index.ts#L7", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2942 + }, + { + "id": 19289, + "name": "RequestQueueOperationOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 979, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_provider.ts#L979", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3656 + }, + { + "id": 19287, + "name": "RequestQueueOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 968, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_provider.ts#L968", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3643 + }, + { + "id": 19253, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/index.ts#L6", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2839 + }, + { + "id": 19255, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/index.ts#L8", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3047 + }, + { + "id": 19283, + "name": "RequestsLike", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/request_provider.ts", + "line": 39, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/request_provider.ts#L39", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3507 + }, + { + "id": 19229, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/request.ts#L42", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2276 + }, + { + "id": 19202, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L299", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1370 + }, + { + "id": 19317, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/cookie_utils.ts#L7", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3980 + }, + { + "id": 19208, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/base-http-client.ts#L39", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1511 + }, + { + "id": 19164, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L31", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 878 + }, + { + "id": 19128, + "name": "RetryRequestError", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/errors.ts", + "line": 22, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/errors.ts#L22", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 204 + }, + { + "id": 19238, + "name": "Router", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 86, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/router.ts#L86", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2422 + }, + { + "id": 19235, + "name": "RouterHandler", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 10, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/router.ts#L10", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2377 + }, + { + "id": 19237, + "name": "RouterRoutes", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/router.ts", + "line": 17, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/router.ts#L17", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2414 + }, + { + "id": 19246, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/session_pool/session.ts#L100", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2532 + }, + { + "id": 19129, + "name": "SessionError", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/errors.ts", + "line": 33, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/errors.ts#L33", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 224 + }, + { + "id": 19245, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/session_pool/session.ts#L37", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2518 + }, + { + "id": 19249, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/session_pool/session_pool.ts#L137", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2625 + }, + { + "id": 19248, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/session_pool/session_pool.ts#L30", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2616 + }, + { + "id": 19244, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/session_pool/session.ts#L24", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2507 + }, + { + "id": 19308, + "name": "SitemapRequestList", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/storages/sitemap_request_list.ts", + "line": 128, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/sitemap_request_list.ts#L128", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3802 + }, + { + "id": 19307, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/sitemap_request_list.ts#L60", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3787 + }, + { + "id": 19201, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L52", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1363 + }, + { + "id": 19200, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L50", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1362 + }, + { + "id": 19177, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/error_snapshotter.ts#L16", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1208 + }, + { + "id": 19147, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/load_signal.ts#L53", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 458 + }, + { + "id": 19152, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/snapshotter.ts#L98", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 579 + }, + { + "id": 19151, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/snapshotter.ts#L20", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 569 + }, + { + "id": 19233, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/request.ts#L583", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2370 + }, + { + "id": 19172, + "name": "StatisticPersistedState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/statistics.ts", + "line": 482, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/statistics.ts#L482", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1120 + }, + { + "id": 19170, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/statistics.ts#L59", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1043 + }, + { + "id": 19171, + "name": "StatisticsOptions", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/statistics.ts", + "line": 436, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/statistics.ts#L436", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1112 + }, + { + "id": 19173, + "name": "StatisticState", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/core/src/crawlers/statistics.ts", + "line": 496, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/statistics.ts#L496", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1144 + }, + { + "id": 19326, + "name": "StatusMessageCallback", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 130, + "character": 12, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L130", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8497 + }, + { + "id": 19325, + "name": "StatusMessageCallbackParams", + "variant": "reference", + "kind": 4194304, + "flags": {}, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 120, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L120", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 8490 + }, + { + "id": 19122, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/index.ts#L19", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 89 + }, + { + "id": 19295, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/storage_manager.ts#L160", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3749 + }, + { + "id": 19213, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/http_clients/base-http-client.ts#L162", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1601 + }, + { + "id": 19153, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/system_status.ts#L11", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 671 + }, + { + "id": 19157, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/system_status.ts#L139", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 707 + }, + { + "id": 19154, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/autoscaling/system_status.ts#L43", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 683 + }, + { + "id": 19226, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/proxy_configuration.ts#L45", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 2225 + }, + { + "id": 19192, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L12", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1342 + }, + { + "id": 19193, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/enqueue_links/shared.ts#L24", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 1346 + }, + { + "id": 19297, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/utils.ts#L87", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3759 + }, + { + "id": 19299, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/utils.ts#L69", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3768 + }, + { + "id": 19306, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/storages/access_checking.ts#L18", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "target": 3778 + }, + { + "id": 18903, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/utils/stagehand-utils.ts#L1", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + }, + { + "id": 18960, + "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": 18964, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3638, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 18965, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 18966, + "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": 18960, + "name": "V3", + "package": "@browserbasehq/stagehand" + } + } + ] + }, + { + "id": 18981, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18974, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18995, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18993, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18973, + "name": "llmClient", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3600, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "LLMClient" + }, + "name": "LLMClient", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 18994, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 19005, + "name": "stagehandMetrics", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3637, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "StagehandMetrics" + }, + "name": "StagehandMetrics", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 18997, + "name": "verbose", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3627, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": 0 + }, + { + "type": "literal", + "value": 1 + }, + { + "type": "literal", + "value": 2 + } + ] + } + }, + { + "id": 18988, + "name": "browserbaseDebugURL", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3617, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "getSignature": { + "id": 18989, + "name": "browserbaseDebugURL", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3617, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + }, + { + "id": 18984, + "name": "browserbaseSessionID", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3615, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "getSignature": { + "id": 18985, + "name": "browserbaseSessionID", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3615, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + }, + { + "id": 18986, + "name": "browserbaseSessionURL", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3616, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "getSignature": { + "id": 18987, + "name": "browserbaseSessionURL", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3616, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "undefined" + }, + { + "type": "intrinsic", + "name": "string" + } + ] + } + } + }, + { + "id": 19074, + "name": "context", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3702, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "getSignature": { + "id": 19075, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "V3Context" + }, + "name": "V3Context", + "package": "@browserbasehq/stagehand" + } + } + }, + { + "id": 19018, + "name": "history", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3655, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "getSignature": { + "id": 19019, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18990, + "name": "isBrowserbase", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3621, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "getSignature": { + "id": 18991, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + }, + { + "id": 19082, + "name": "logger", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3709, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "getSignature": { + "id": 19083, + "name": "logger", + "variant": "signature", + "kind": 524288, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3709, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19084, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3709, + "character": 18, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19085, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3709, + "character": 18, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19086, + "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": 19006, + "name": "metrics", + "variant": "declaration", + "kind": 262144, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3643, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "getSignature": { + "id": 19007, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 19040, + "name": "act", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3677, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3678, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19041, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19042, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19043, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 18908, + "name": "ActOptions", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 18913, + "name": "ActResult", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19044, + "name": "act", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3678, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19045, + "name": "action", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": 18918, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 19046, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 18908, + "name": "ActOptions", + "package": "@browserbasehq/stagehand" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 18913, + "name": "ActResult", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 19020, + "name": "addToHistory", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3656, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19021, + "name": "addToHistory", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3656, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19022, + "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": 19023, + "name": "parameters", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + }, + { + "id": 19024, + "name": "result", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intrinsic", + "name": "unknown" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + }, + { + "id": 19095, + "name": "agent", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3734, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3739, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19096, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19097, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 18923, + "name": "AgentConfig", + "package": "@browserbasehq/stagehand" + }, + { + "type": "reflection", + "declaration": { + "id": 19098, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19099, + "name": "stream", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3735, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "literal", + "value": true + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19099 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3734, + "character": 33, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19100, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19101, + "name": "execute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3737, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19102, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3737, + "character": 17, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19103, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3737, + "character": 17, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19104, + "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": [ + 19101 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3736, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + }, + { + "id": 19105, + "name": "agent", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3739, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19106, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": 18923, + "name": "AgentConfig", + "package": "@browserbasehq/stagehand" + }, + { + "type": "reflection", + "declaration": { + "id": 19107, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19108, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "literal", + "value": false + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19108 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3739, + "character": 34, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ] + } + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19109, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19110, + "name": "execute", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3742, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 19111, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3742, + "character": 17, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19112, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3742, + "character": 17, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19113, + "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": 18933, + "name": "AgentResult", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19110 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3741, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + } + ] + }, + { + "id": 19076, + "name": "close", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3704, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19077, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19078, + "name": "opts", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 19079, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19080, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19080 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3704, + "character": 17, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + } + ], + "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": 19072, + "name": "connectURL", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3700, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19073, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + }, + { + "id": 19047, + "name": "extract", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3689, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3690, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3691, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3692, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19048, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 19049, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19050, + "name": "pageText", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1908, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19050 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/zod/v4/core/util.d.cts", + "line": 51, + "character": 26, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19051, + "name": "extract", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3690, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19052, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": 18947, + "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": 19053, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19054, + "name": "pageText", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1908, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19054 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/zod/v4/core/util.d.cts", + "line": 51, + "character": 26, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19055, + "name": "extract", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3691, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19056, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19057, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 18947, + "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": 19058, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 19059, + "name": "extraction", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1905, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 19059 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/zod/v4/core/util.d.cts", + "line": 51, + "character": 26, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19060, + "name": "extract", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3692, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 19061, + "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": 19062, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19063, + "name": "schema", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": 19061, + "name": "T", + "package": "@browserbasehq/stagehand", + "refersToTypeParameter": true + } + }, + { + "id": 19064, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 18947, + "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": 19061, + "name": "T", + "package": "@browserbasehq/stagehand", + "refersToTypeParameter": true + } + ], + "name": "InferStagehandSchema", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 19035, + "name": "init", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3665, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19036, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 19013, + "name": "isAgentReplayActive", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3649, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19014, + "name": "isAgentReplayActive", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3649, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ] + }, + { + "id": 19065, + "name": "observe", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3696, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3697, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3698, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19066, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "array", + "elementType": { + "type": "reference", + "target": 18918, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19067, + "name": "observe", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3697, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19068, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reference", + "target": 18955, + "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": 18918, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + } + ], + "name": "Promise", + "package": "typescript" + } + }, + { + "id": 19069, + "name": "observe", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3698, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19070, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 19071, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reference", + "target": 18955, + "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": 18918, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 19015, + "name": "recordAgentReplayStep", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3650, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19016, + "name": "recordAgentReplayStep", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3650, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19017, + "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": 19025, + "name": "updateMetrics", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3657, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 19026, + "name": "updateMetrics", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3657, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 19027, + "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": 19028, + "name": "promptTokens", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19029, + "name": "completionTokens", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19030, + "name": "reasoningTokens", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19031, + "name": "cachedInputTokens", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 19032, + "name": "inferenceTimeMs", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "type": { + "type": "intrinsic", + "name": "void" + } + } + ] + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 18964 + ] + }, + { + "title": "Properties", + "children": [ + 18981, + 18974, + 18995, + 18993, + 18973, + 18994, + 19005, + 18997 + ] + }, + { + "title": "Accessors", + "children": [ + 18988, + 18984, + 18986, + 19074, + 19018, + 18990, + 19082, + 19006 + ] + }, + { + "title": "Methods", + "children": [ + 19040, + 19020, + 19095, + 19076, + 19072, + 19047, + 19035, + 19013, + 19065, + 19015, + 19025 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 3593, + "character": 14, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + }, + { + "id": 16614, + "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": 16662, + "name": "constructor", + "variant": "declaration", + "kind": 512, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 381, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L381", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16663, + "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": 381, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L381", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 16664, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Crawler configuration options" + } + ] + }, + "type": { + "type": "reference", + "target": 18740, + "name": "StagehandCrawlerOptions", + "package": "@crawlee/stagehand" + }, + "defaultValue": "{}" + }, + { + "id": 16665, + "name": "config", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 766, + "name": "Configuration", + "package": "@crawlee/core" + }, + "defaultValue": "..." + } + ], + "type": { + "type": "reference", + "target": 16614, + "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": 16733, + "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": 529, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L529", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 268, + "name": "AutoscaledPool", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9297, + "name": "BrowserCrawler.autoscaledPool" + } + }, + { + "id": 16679, + "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": 329, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L329", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 6481, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 16680, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 16681, + "name": "browserPlugins", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 366, + "character": 6, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L366", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": [ + 16681 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 366, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L366", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + }, + { + "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": 9233, + "name": "BrowserCrawler.browserPool" + } + }, + { + "id": 16666, + "name": "config", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 383, + "character": 26, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L383", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 766, + "name": "Configuration", + "package": "@crawlee/core" + }, + "defaultValue": "...", + "inheritedFrom": { + "type": "reference", + "target": 9241, + "name": "BrowserCrawler.config" + } + }, + { + "id": 16738, + "name": "hasFinishedBefore", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 538, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L538", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "target": 9300, + "name": "BrowserCrawler.hasFinishedBefore" + } + }, + { + "id": 16682, + "name": "launchContext", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 331, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L331", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 9497, + "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": 9234, + "name": "BrowserCrawler.launchContext" + } + }, + { + "id": 16740, + "name": "log", + "variant": "declaration", + "kind": 1024, + "flags": { + "isReadonly": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 541, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L541", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 1643, + "name": "Log", + "package": "@apify/log" + }, + "inheritedFrom": { + "type": "reference", + "target": 9302, + "name": "BrowserCrawler.log" + } + }, + { + "id": 16678, + "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": 324, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L324", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 2236, + "name": "ProxyConfiguration", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9232, + "name": "BrowserCrawler.proxyConfiguration" + } + }, + { + "id": 16729, + "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": 502, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L502", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 3341, + "name": "IRequestList", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9293, + "name": "BrowserCrawler.requestList" + } + }, + { + "id": 16730, + "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": 509, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L509", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 3539, + "name": "RequestProvider", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9294, + "name": "BrowserCrawler.requestQueue" + } + }, + { + "id": 16734, + "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": 535, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L535", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 2377, + "typeArguments": [ + { + "type": "intersection", + "types": [ + { + "type": "reflection", + "declaration": { + "id": 16735, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 16736, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L28", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 872, + "typeArguments": [ + { + "type": "reference", + "target": 2285, + "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": [ + 16736 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/src/crawlers/crawler_commons.ts", + "line": 27, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L27", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Omit" + }, + "typeArguments": [ + { + "type": "reference", + "target": 18684, + "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" + } + ] + } + ], + "name": "RouterHandler", + "package": "@crawlee/core" + }, + "defaultValue": "...", + "inheritedFrom": { + "type": "reference", + "target": 9298, + "name": "BrowserCrawler.router" + } + }, + { + "id": 16737, + "name": "running", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 537, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L537", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "defaultValue": "false", + "inheritedFrom": { + "type": "reference", + "target": 9299, + "name": "BrowserCrawler.running" + } + }, + { + "id": 16732, + "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": 520, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L520", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 2625, + "name": "SessionPool", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9296, + "name": "BrowserCrawler.sessionPool" + } + }, + { + "id": 16728, + "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": 496, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L496", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 1043, + "name": "Statistics", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9292, + "name": "BrowserCrawler.stats" + } + }, + { + "id": 16800, + "name": "addRequests", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1196, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1196", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16801, + "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": 1196, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1196", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 16802, + "name": "requests", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The requests to add" + } + ] + }, + "type": { + "type": "reference", + "target": 3507, + "name": "RequestsLike", + "package": "@crawlee/core" + } + }, + { + "id": 16803, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for the request queue" + } + ] + }, + "type": { + "type": "reference", + "target": 8825, + "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": 8832, + "name": "CrawlerAddRequestsResult", + "package": "@crawlee/basic" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9363, + "name": "BrowserCrawler.addRequests" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9362, + "name": "BrowserCrawler.addRequests" + } + }, + { + "id": 16814, + "name": "exportData", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1300, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1300", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16815, + "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": 1300, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1300", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 16816, + "name": "Data", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 16817, + "name": "path", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 16818, + "name": "format", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "json" + }, + { + "type": "literal", + "value": "csv" + } + ] + } + }, + { + "id": 16819, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 3068, + "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": 8687, + "name": "Data", + "package": "@crawlee/basic", + "refersToTypeParameter": true + } + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9377, + "name": "BrowserCrawler.exportData" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9376, + "name": "BrowserCrawler.exportData" + } + }, + { + "id": 16811, + "name": "getData", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1291, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1291", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16812, + "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": 1291, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1291", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 16813, + "name": "args", + "variant": "param", + "kind": 32768, + "flags": { + "isRest": true + }, + "type": { + "type": "tuple", + "elements": [ + { + "type": "namedTupleMember", + "name": "options", + "isOptional": false, + "element": { + "type": "reference", + "target": 3059, + "name": "DatasetDataOptions", + "package": "@crawlee/core" + } + } + ] + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3209, + "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": 9374, + "name": "BrowserCrawler.getData" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9373, + "name": "BrowserCrawler.getData" + } + }, + { + "id": 16808, + "name": "getDataset", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1284, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1284", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16809, + "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": 1284, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1284", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 16810, + "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": 3096, + "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": 9371, + "name": "BrowserCrawler.getDataset" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9370, + "name": "BrowserCrawler.getDataset" + } + }, + { + "id": 16783, + "name": "getRequestQueue", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1115, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1115", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16784, + "name": "getRequestQueue", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1115, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1115", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 3539, + "name": "RequestProvider", + "package": "@crawlee/core" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9346, + "name": "BrowserCrawler.getRequestQueue" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9345, + "name": "BrowserCrawler.getRequestQueue" + } + }, + { + "id": 16804, + "name": "pushData", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1276, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1276", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16805, + "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": 1276, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1276", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 16806, + "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": 16807, + "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": 9367, + "name": "BrowserCrawler.pushData" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9366, + "name": "BrowserCrawler.pushData" + } + }, + { + "id": 16776, + "name": "run", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 979, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L979", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16777, + "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": 979, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L979", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 16778, + "name": "requests", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "The requests to add." + } + ] + }, + "type": { + "type": "reference", + "target": 3507, + "name": "RequestsLike", + "package": "@crawlee/core" + } + }, + { + "id": 16779, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for the request queue." + } + ] + }, + "type": { + "type": "reference", + "target": 8836, + "name": "CrawlerRunOptions", + "package": "@crawlee/basic" + } + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Promise" + }, + "typeArguments": [ + { + "type": "reference", + "target": 696, + "name": "FinalStatistics", + "package": "@crawlee/core" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9339, + "name": "BrowserCrawler.run" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9338, + "name": "BrowserCrawler.run" + } + }, + { + "id": 16772, + "name": "setStatusMessage", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 902, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L902", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16773, + "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": 902, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L902", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 16774, + "name": "message", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 16775, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 20061, + "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": 9335, + "name": "BrowserCrawler.setStatusMessage" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9334, + "name": "BrowserCrawler.setStatusMessage" + } + }, + { + "id": 16780, + "name": "stop", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1107, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1107", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16781, + "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": 1107, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1107", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 16782, + "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": 9343, + "name": "BrowserCrawler.stop" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9342, + "name": "BrowserCrawler.stop" + } + }, + { + "id": 16785, + "name": "useState", + "variant": "declaration", + "kind": 2048, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1137, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1137", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16786, + "name": "useState", + "variant": "signature", + "kind": 4096, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 1137, + "character": 10, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L1137", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 16787, + "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": 16788, + "name": "defaultValue", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 8654, + "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": 8654, + "name": "State", + "package": "@crawlee/basic", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9348, + "name": "BrowserCrawler.useState" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9347, + "name": "BrowserCrawler.useState" + } + } + ], + "groups": [ + { + "title": "Constructors", + "children": [ + 16662 + ] + }, + { + "title": "Properties", + "children": [ + 16733, + 16679, + 16666, + 16738, + 16682, + 16740, + 16678, + 16729, + 16730, + 16734, + 16737, + 16732, + 16728 + ] + }, + { + "title": "Methods", + "children": [ + 16800, + 16814, + 16811, + 16808, + 16783, + 16804, + 16776, + 16772, + 16780, + 16785 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 365, + "character": 13, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L365", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 9179, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 16615, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 16616, + "name": "browserPlugins", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 366, + "character": 6, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L366", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": [ + 16616 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 366, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L366", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "LaunchOptions" + }, + "name": "LaunchOptions", + "package": "playwright-core" + }, + { + "type": "reference", + "target": 18684, + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + } + ], + "name": "BrowserCrawler", + "package": "@crawlee/browser" + } + ] + }, + { + "id": 18918, + "name": "Action", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18922, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 18920, + "name": "description", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1888, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18921, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18919, + "name": "selector", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1887, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18922, + 18920, + 18921, + 18919 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1886, + "character": 10, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + }, + { + "id": 18908, + "name": "ActOptions", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18909, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 18952, + "name": "ModelConfiguration", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 18912, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18911, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18910, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": [ + 18909, + 18912, + 18911, + 18910 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1873, + "character": 10, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + }, + { + "id": 18913, + "name": "ActResult", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18916, + "name": "actionDescription", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1882, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18917, + "name": "actions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1883, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 18918, + "name": "Action", + "package": "@browserbasehq/stagehand" + } + } + }, + { + "id": 18915, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1881, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18914, + "name": "success", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1880, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18916, + 18917, + 18915, + 18914 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1879, + "character": 10, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + }, + { + "id": 18933, + "name": "AgentResult", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18936, + "name": "actions", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2931, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "AgentAction" + }, + "name": "AgentAction", + "package": "@browserbasehq/stagehand" + } + } + }, + { + "id": 18937, + "name": "completed", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2932, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18935, + "name": "message", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2930, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18946, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@ai-sdk/gateway/node_modules/@ai-sdk/provider-utils/dist/index.d.ts", + "qualifiedName": "ModelMessage" + }, + "name": "ModelMessage", + "package": "@ai-sdk/provider-utils" + } + } + }, + { + "id": 18938, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18934, + "name": "success", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2929, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18939, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18940, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18944, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18945, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18941, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18942, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18943, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18944, + 18945, + 18941, + 18942, + 18943 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2934, + "character": 12, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18936, + 18937, + 18935, + 18946, + 18938, + 18934, + 18939 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 2928, + "character": 10, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + }, + { + "id": 18947, + "name": "ExtractOptions", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18948, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 18952, + "name": "ModelConfiguration", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 18951, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18950, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18949, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18948, + 18951, + 18950, + 18949 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1898, + "character": 10, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + }, + { + "id": 18955, + "name": "ObserveOptions", + "variant": "declaration", + "kind": 256, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18956, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 18952, + "name": "ModelConfiguration", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 18959, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18958, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18957, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18956, + 18959, + 18958, + 18957 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "line": 1910, + "character": 10, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + }, + { + "id": 18740, + "name": "StagehandCrawlerOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Options for StagehandCrawler." + } + ] + }, + "children": [ + { + "id": 18776, + "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": 296, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L296", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 244, + "name": "AutoscaledPoolOptions", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9161, + "name": "BrowserCrawlerOptions.autoscaledPoolOptions" + } + }, + { + "id": 18754, + "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": 194, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L194", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intersection", + "types": [ + { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "Partial" + }, + "typeArguments": [ + { + "type": "reference", + "target": 6421, + "typeArguments": [ + { + "type": "reference", + "target": 6208, + "typeArguments": [ + { + "type": "reference", + "target": 6200, + "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": 6471, + "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": 9137, + "name": "BrowserCrawlerOptions.browserPoolOptions" + } + }, + { + "id": 18752, + "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": 163, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L163", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 9121, + "typeArguments": [ + { + "type": "reference", + "target": 18684, + "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": 9134, + "name": "BrowserCrawlerOptions.errorHandler" + } + }, + { + "id": 18786, + "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": 395, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L395", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 8538, + "name": "CrawlerExperiments", + "package": "@crawlee/basic" + }, + "inheritedFrom": { + "type": "reference", + "target": 9171, + "name": "BrowserCrawlerOptions.experiments" + } + }, + { + "id": 18746, + "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": 303, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L303", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 18732, + "name": "StagehandRequestHandler", + "package": "@crawlee/stagehand" + }, + "overwrites": { + "type": "reference", + "target": 9135, + "name": "BrowserCrawlerOptions.failedRequestHandler" + } + }, + { + "id": 18758, + "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": 260, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L260", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "literal", + "value": "new" + }, + { + "type": "literal", + "value": "old" + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 9143, + "name": "BrowserCrawlerOptions.headless" + } + }, + { + "id": 18788, + "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": 407, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L407", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 1622, + "name": "BaseHttpClient", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9173, + "name": "BrowserCrawlerOptions.httpClient" + } + }, + { + "id": 18760, + "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": 272, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L272", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9145, + "name": "BrowserCrawlerOptions.ignoreIframes" + } + }, + { + "id": 18759, + "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": 266, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L266", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9144, + "name": "BrowserCrawlerOptions.ignoreShadowRoots" + } + }, + { + "id": 18780, + "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": 324, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L324", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9165, + "name": "BrowserCrawlerOptions.keepAlive" + } + }, + { + "id": 18744, + "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": 251, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L251", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 18789, + "name": "StagehandLaunchContext", + "package": "@crawlee/stagehand" + }, + "overwrites": { + "type": "reference", + "target": 9131, + "name": "BrowserCrawlerOptions.launchContext" + } + }, + { + "id": 18778, + "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": 310, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L310", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9163, + "name": "BrowserCrawlerOptions.maxConcurrency" + } + }, + { + "id": 18775, + "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": 287, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L287", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9160, + "name": "BrowserCrawlerOptions.maxCrawlDepth" + } + }, + { + "id": 18771, + "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": 258, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L258", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9156, + "name": "BrowserCrawlerOptions.maxRequestRetries" + } + }, + { + "id": 18774, + "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": 280, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L280", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9159, + "name": "BrowserCrawlerOptions.maxRequestsPerCrawl" + } + }, + { + "id": 18779, + "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": 317, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L317", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9164, + "name": "BrowserCrawlerOptions.maxRequestsPerMinute" + } + }, + { + "id": 18773, + "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": 273, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L273", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9158, + "name": "BrowserCrawlerOptions.maxSessionRotations" + } + }, + { + "id": 18777, + "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": 304, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L304", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9162, + "name": "BrowserCrawlerOptions.minConcurrency" + } + }, + { + "id": 18756, + "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": 248, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L248", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9141, + "name": "BrowserCrawlerOptions.navigationTimeoutSecs" + } + }, + { + "id": 18765, + "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" + } + ] + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 386, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L386", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 1363, + "name": "SkippedRequestCallback", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9150, + "name": "BrowserCrawlerOptions.onSkippedRequest" + } + }, + { + "id": 18757, + "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": 254, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L254", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9142, + "name": "BrowserCrawlerOptions.persistCookiesPerSession" + } + }, + { + "id": 18748, + "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": 313, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L313", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 18724, + "name": "StagehandHook", + "package": "@crawlee/stagehand" + } + }, + "overwrites": { + "type": "reference", + "target": 9140, + "name": "BrowserCrawlerOptions.postNavigationHooks" + } + }, + { + "id": 18747, + "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": 308, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L308", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reference", + "target": 18724, + "name": "StagehandHook", + "package": "@crawlee/stagehand" + } + }, + "overwrites": { + "type": "reference", + "target": 9139, + "name": "BrowserCrawlerOptions.preNavigationHooks" + } + }, + { + "id": 18755, + "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": 201, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L201", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 2236, + "name": "ProxyConfiguration", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9138, + "name": "BrowserCrawlerOptions.proxyConfiguration" + } + }, + { + "id": 18745, + "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": 298, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L298", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 18732, + "name": "StagehandRequestHandler", + "package": "@crawlee/stagehand" + }, + "overwrites": { + "type": "reference", + "target": 9132, + "name": "BrowserCrawlerOptions.requestHandler" + } + }, + { + "id": 18769, + "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": 205, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L205", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9154, + "name": "BrowserCrawlerOptions.requestHandlerTimeoutSecs" + } + }, + { + "id": 18767, + "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": 183, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L183", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 3341, + "name": "IRequestList", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9152, + "name": "BrowserCrawlerOptions.requestList" + } + }, + { + "id": 18768, + "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": 199, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L199", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 3508, + "name": "IRequestManager", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9153, + "name": "BrowserCrawlerOptions.requestManager" + } + }, + { + "id": 18761, + "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": 191, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L191", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 3539, + "name": "RequestProvider", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9146, + "name": "BrowserCrawlerOptions.requestQueue" + } + }, + { + "id": 18762, + "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": 376, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L376", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "reflection", + "declaration": { + "id": 18763, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 18764, + "name": "userAgent", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true + }, + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 376, + "character": 39, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L376", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18764 + ] + } + ], + "sources": [ + { + "fileName": "packages/basic-crawler/src/internals/basic-crawler.ts", + "line": 376, + "character": 37, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L376", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ] + }, + "inheritedFrom": { + "type": "reference", + "target": 9147, + "name": "BrowserCrawlerOptions.respectRobotsTxtFile" + } + }, + { + "id": 18785, + "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": 367, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L367", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9170, + "name": "BrowserCrawlerOptions.retryOnBlocked" + } + }, + { + "id": 18772, + "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": 264, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L264", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9157, + "name": "BrowserCrawlerOptions.sameDomainDelaySecs" + } + }, + { + "id": 18782, + "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": 335, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L335", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 2616, + "name": "SessionPoolOptions", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9167, + "name": "BrowserCrawlerOptions.sessionPoolOptions" + } + }, + { + "id": 18743, + "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": 246, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L246", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 16938, + "name": "StagehandOptions", + "package": "@crawlee/stagehand" + } + }, + { + "id": 18787, + "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": 401, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L401", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 1112, + "name": "StatisticsOptions", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9172, + "name": "BrowserCrawlerOptions.statisticsOptions" + } + }, + { + "id": 18784, + "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": 358, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L358", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 8497, + "typeArguments": [ + { + "type": "reference", + "target": 8420, + "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": 8540, + "typeArguments": [ + { + "type": "reference", + "target": 8420, + "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": 9169, + "name": "BrowserCrawlerOptions.statusMessageCallback" + } + }, + { + "id": 18783, + "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": 340, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L340", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + }, + "inheritedFrom": { + "type": "reference", + "target": 9168, + "name": "BrowserCrawlerOptions.statusMessageLoggingInterval" + } + }, + { + "id": 18781, + "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": 330, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/basic-crawler/src/internals/basic-crawler.ts#L330", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9166, + "name": "BrowserCrawlerOptions.useSessionPool" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18776, + 18754, + 18752, + 18786, + 18746, + 18758, + 18788, + 18760, + 18759, + 18780, + 18744, + 18778, + 18775, + 18771, + 18774, + 18779, + 18773, + 18777, + 18756, + 18765, + 18757, + 18748, + 18747, + 18755, + 18745, + 18769, + 18767, + 18768, + 18761, + 18762, + 18785, + 18772, + 18782, + 18743, + 18787, + 18784, + 18783, + 18781 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 240, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L240", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 9130, + "typeArguments": [ + { + "type": "reference", + "target": 18684, + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + }, + { + "type": "reflection", + "declaration": { + "id": 18741, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 18742, + "name": "browserPlugins", + "variant": "declaration", + "kind": 1024, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 241, + "character": 62, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L241", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": [ + 18742 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 241, + "character": 60, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L241", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ], + "name": "BrowserCrawlerOptions", + "package": "@crawlee/browser" + } + ] + }, + { + "id": 18684, + "name": "StagehandCrawlingContext", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Crawling context for StagehandCrawler with enhanced page object." + } + ] + }, + "children": [ + { + "id": 18709, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L89", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18710, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L89", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 18711, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L89", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 18712, + "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": 2348, + "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": 18713, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 18715, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/request.ts#L583", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "node_modules/typescript/lib/lib.es5.d.ts", + "qualifiedName": "RegExp" + }, + "name": "RegExp", + "package": "typescript" + } + }, + { + "id": 18714, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/request.ts#L583", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18715, + 18714 + ] + } + ], + "sources": [ + { + "fileName": "packages/core/src/request.ts", + "line": 583, + "character": 48, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/request.ts#L583", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ] + } + ], + "name": "ReadonlyObjectDeep", + "package": "type-fest" + }, + { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/type-fest/source/readonly-deep.d.ts", + "qualifiedName": "ReadonlyObjectDeep" + }, + "typeArguments": [ + { + "type": "reference", + "target": 2285, + "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": 18716, + "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": 3656, + "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": 9100, + "name": "BrowserCrawlingContext.addRequests" + } + }, + { + "id": 18687, + "name": "browserController", + "variant": "declaration", + "kind": 1024, + "flags": { + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 59, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L59", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../packages/stagehand-crawler/src/internals/stagehand-controller.ts", + "qualifiedName": "StagehandController" + }, + "name": "StagehandController", + "package": "@crawlee/stagehand" + }, + "inheritedFrom": { + "type": "reference", + "target": 9077, + "name": "BrowserCrawlingContext.browserController" + } + }, + { + "id": 18689, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L114", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 16614, + "name": "StagehandCrawler", + "package": "@crawlee/stagehand" + }, + "inheritedFrom": { + "type": "reference", + "target": 9080, + "name": "BrowserCrawlingContext.crawler" + } + }, + { + "id": 18693, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L148", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18694, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L148", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 18695, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L148", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 18696, + "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": 3224, + "name": "KeyValueStore", + "package": "@crawlee/core" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 9084, + "name": "BrowserCrawlingContext.getKeyValueStore" + } + }, + { + "id": 18701, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L34", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 9092, + "name": "BrowserCrawlingContext.id" + } + }, + { + "id": 18722, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L109", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 1643, + "name": "Log", + "package": "@apify/log" + }, + "inheritedFrom": { + "type": "reference", + "target": 9113, + "name": "BrowserCrawlingContext.log" + } + }, + { + "id": 18685, + "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": 213, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L213", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 16950, + "name": "StagehandPage", + "package": "@crawlee/stagehand" + }, + "overwrites": { + "type": "reference", + "target": 9078, + "name": "BrowserCrawlingContext.page" + } + }, + { + "id": 18703, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L41", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 2228, + "name": "ProxyInfo", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9094, + "name": "BrowserCrawlingContext.proxyInfo" + } + }, + { + "id": 18704, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L46", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 2285, + "typeArguments": [ + { + "type": "reference", + "target": 18723, + "name": "UserData", + "package": "@crawlee/stagehand", + "qualifiedName": "StagehandCrawlingContext.UserData", + "refersToTypeParameter": true + } + ], + "name": "Request", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9095, + "name": "BrowserCrawlingContext.request" + } + }, + { + "id": 18688, + "name": "response", + "variant": "declaration", + "kind": 1024, + "flags": { + "isOptional": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "packages/browser-crawler/src/internals/browser-crawler.ts", + "line": 61, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-crawler.ts#L61", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Response" + }, + "name": "Response", + "package": "playwright-core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9079, + "name": "BrowserCrawlingContext.response" + } + }, + { + "id": 18702, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L35", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 2532, + "name": "Session", + "package": "@crawlee/core" + }, + "inheritedFrom": { + "type": "reference", + "target": 9093, + "name": "BrowserCrawlingContext.session" + } + }, + { + "id": 18686, + "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": 219, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L219", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 18960, + "name": "V3", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 18717, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L97", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18718, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L97", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 18719, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L97", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 18720, + "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": 18721, + "name": "defaultValue", + "variant": "param", + "kind": 32768, + "flags": { + "isOptional": true + }, + "type": { + "type": "reference", + "target": 903, + "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": 903, + "name": "State", + "package": "@crawlee/core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + } + }, + "inheritedFrom": { + "type": "reference", + "target": 9108, + "name": "BrowserCrawlingContext.useState" + } + }, + { + "id": 18690, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L141", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 18691, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L141", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 18692, + "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": 1271, + "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": 1271, + "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": 20013, + "name": "BatchAddRequestsResult", + "package": "@crawlee/types" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9082, + "name": "BrowserCrawlingContext.enqueueLinks" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9081, + "name": "BrowserCrawlingContext.enqueueLinks" + } + }, + { + "id": 18705, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L55", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 18706, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L55", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 18707, + "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": 18708, + "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": 9097, + "name": "BrowserCrawlingContext.pushData" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9096, + "name": "BrowserCrawlingContext.pushData" + } + }, + { + "id": 18697, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L167", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 18698, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/core/src/crawlers/crawler_commons.ts#L167", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 18699, + "name": "Response", + "variant": "typeParam", + "kind": 131072, + "flags": {}, + "default": { + "type": "intrinsic", + "name": "string" + } + } + ], + "parameters": [ + { + "id": 18700, + "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": 922, + "name": "Response", + "package": "@crawlee/core", + "refersToTypeParameter": true + } + ], + "name": "Response", + "package": "got" + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": 9089, + "name": "BrowserCrawlingContext.sendRequest" + } + } + ], + "inheritedFrom": { + "type": "reference", + "target": 9088, + "name": "BrowserCrawlingContext.sendRequest" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18709, + 18687, + 18689, + 18693, + 18701, + 18722, + 18685, + 18703, + 18704, + 18688, + 18702, + 18686, + 18717 + ] + }, + { + "title": "Methods", + "children": [ + 18690, + 18705, + 18697 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 207, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L207", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 18723, + "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": 9076, + "typeArguments": [ + { + "type": "reference", + "target": 16614, + "name": "StagehandCrawler", + "package": "@crawlee/stagehand" + }, + { + "type": "reference", + "target": 16950, + "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": 18723, + "name": "UserData", + "package": "@crawlee/stagehand", + "qualifiedName": "StagehandCrawlingContext.UserData", + "refersToTypeParameter": true + } + ], + "name": "BrowserCrawlingContext", + "package": "@crawlee/browser" + } + ] + }, + { + "id": 18724, + "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": 225, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L225", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 18725, + "name": "StagehandHook", + "variant": "signature", + "kind": 4096, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 225, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L225", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 18726, + "name": "crawlingContext", + "variant": "param", + "kind": 32768, + "flags": {}, + "type": { + "type": "reference", + "target": 18684, + "typeArguments": [ + { + "type": "reference", + "target": { + "sourceFileName": "../packages/types/src/utility-types.ts", + "qualifiedName": "Dictionary" + }, + "name": "Dictionary", + "package": "@crawlee/types" + } + ], + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + } + }, + { + "id": 18727, + "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": 18728, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 18729, + "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": 3243, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18730, + "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": 3253, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18731, + "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": 3264, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "domcontentloaded" + }, + { + "type": "literal", + "value": "load" + }, + { + "type": "literal", + "value": "networkidle" + }, + { + "type": "literal", + "value": "commit" + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18729, + 18730, + 18731 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 3238, + "character": 30, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ] + } + } + ], + "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": 9123, + "typeArguments": [ + { + "type": "reference", + "target": 18684, + "name": "StagehandCrawlingContext", + "package": "@crawlee/stagehand" + }, + { + "type": "reference", + "target": 18739, + "name": "StagehandGotoOptions", + "package": "@crawlee/stagehand" + } + ], + "name": "BrowserHook", + "package": "@crawlee/browser" + } + ] + }, + { + "id": 18789, + "name": "StagehandLaunchContext", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Launch context for Stagehand crawler with AI-specific options." + } + ] + }, + "children": [ + { + "id": 18899, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-launcher.ts#L40", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9500, + "name": "BrowserLaunchContext.browserPerProxy" + } + }, + { + "id": 18900, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-launcher.ts#L54", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9502, + "name": "BrowserLaunchContext.experimentalContainers" + } + }, + { + "id": 18902, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-launcher.ts#L74", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "inheritedFrom": { + "type": "reference", + "target": 9505, + "name": "BrowserLaunchContext.ignoreProxyCertificate" + } + }, + { + "id": 18897, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L56", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "BrowserType" + }, + "typeArguments": [ + { + "type": "reflection", + "declaration": { + "id": 18898, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {} + } + } + ], + "name": "BrowserType", + "package": "playwright-core" + }, + "overwrites": { + "type": "reference", + "target": 9506, + "name": "BrowserLaunchContext.launcher" + } + }, + { + "id": 18790, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L17", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18791, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": {}, + "children": [ + { + "id": 18792, + "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": 15461, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18793, + "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": 15469, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 18794, + "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": 15476, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18795, + "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": 15494, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18796, + "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": 15499, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18797, + "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": 15509, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18798, + "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": 15514, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18799, + "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": 15534, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "reflection", + "declaration": { + "id": 18800, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18803, + "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": 15548, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18802, + "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": 15543, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18805, + "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": 15558, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18804, + "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": 15553, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18801, + "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": 15538, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18808, + "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": 15573, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18807, + "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": 15568, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18806, + "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": 15563, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18803, + 18802, + 18805, + 18804, + 18801, + 18808, + 18807, + 18806 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15534, + "character": 31, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + } + }, + { + "id": 18809, + "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": 15582, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "light" + }, + { + "type": "literal", + "value": "dark" + }, + { + "type": "literal", + "value": "no-preference" + } + ] + } + }, + { + "id": 18810, + "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": 15589, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "no-preference" + }, + { + "type": "literal", + "value": "more" + } + ] + } + }, + { + "id": 18811, + "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": 15595, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18812, + "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": 15602, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18813, + "name": "env", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15604, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18814, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15604, + "character": 10, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "indexSignatures": [ + { + "id": 18815, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15604, + "character": 12, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 18816, + "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": 18817, + "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": 15612, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18818, + "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": 15617, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18819, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15617, + "character": 23, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "indexSignatures": [ + { + "id": 18820, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15617, + "character": 25, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 18821, + "name": "key", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + } + }, + { + "id": 18822, + "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": 15626, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18823, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15626, + "character": 23, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "indexSignatures": [ + { + "id": 18824, + "name": "__index", + "variant": "signature", + "kind": 8192, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15626, + "character": 25, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 18825, + "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": 18826, + "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": 15633, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "active" + }, + { + "type": "literal", + "value": "none" + } + ] + } + }, + { + "id": 18827, + "name": "geolocation", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15635, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18828, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18831, + "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": 15649, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18829, + "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": 15639, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18830, + "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": 15644, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18831, + 18829, + 18830 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15635, + "character": 18, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + }, + { + "id": 18832, + "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": 15655, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18833, + "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": 15660, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18834, + "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": 15665, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18835, + "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": 15671, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18836, + "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": 15678, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18837, + "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": 15684, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18838, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18841, + "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": 15692, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18840, + "name": "password", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15687, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18842, + "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": 15701, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "unauthorized" + }, + { + "type": "literal", + "value": "always" + } + ] + } + }, + { + "id": 18839, + "name": "username", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15685, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18841, + 18840, + 18842, + 18839 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15684, + "character": 22, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + }, + { + "id": 18843, + "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": 15710, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "intrinsic", + "name": "boolean" + }, + { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + ] + } + }, + { + "id": 18844, + "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": 15715, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18845, + "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": 15722, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18846, + "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": 15728, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18847, + "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": 15735, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18848, + "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": 15741, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/playwright-core/types/types.d.ts", + "qualifiedName": "Logger" + }, + "name": "Logger", + "package": "playwright-core" + } + }, + { + "id": 18849, + "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": 15747, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18850, + "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": 15754, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "array", + "elementType": { + "type": "intrinsic", + "name": "string" + } + } + }, + { + "id": 18851, + "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": 15759, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18852, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18854, + "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": 15769, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18856, + "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": 15779, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18853, + "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": 15764, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18855, + "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": 15774, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18854, + 18856, + 18853, + 18855 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15759, + "character": 12, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + }, + { + "id": 18857, + "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": 15788, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18858, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18860, + "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": 15801, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "omit" + }, + { + "type": "literal", + "value": "embed" + }, + { + "type": "literal", + "value": "attach" + } + ] + } + }, + { + "id": 18862, + "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": 15813, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "full" + }, + { + "type": "literal", + "value": "minimal" + } + ] + } + }, + { + "id": 18859, + "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": 15793, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18861, + "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": 15807, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18863, + "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": 15821, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": [ + 18860, + 18862, + 18859, + 18861, + 18863 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15788, + "character": 16, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + }, + { + "id": 18864, + "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": 15830, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18865, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18866, + "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": 15835, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18871, + "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": 15857, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18872, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18873, + "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": 15861, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18875, + "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": 15871, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18874, + "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": 15866, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": [ + 18873, + 18875, + 18874 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15857, + "character": 20, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + }, + { + "id": 18867, + "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": 15842, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18868, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18870, + "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": 15851, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18869, + "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": 15846, + "character": 8, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18870, + 18869 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15842, + "character": 13, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18866, + 18871, + 18867 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15830, + "character": 18, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + }, + { + "id": 18876, + "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": 15880, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "literal", + "value": "reduce" + }, + { + "type": "literal", + "value": "no-preference" + } + ] + } + }, + { + "id": 18877, + "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": 15887, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reflection", + "declaration": { + "id": 18878, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18880, + "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": 15896, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18879, + "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": 15891, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18880, + 18879 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15887, + "character": 13, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + }, + { + "id": 18881, + "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": 15905, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "allow" + }, + { + "type": "literal", + "value": "block" + } + ] + } + }, + { + "id": 18882, + "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": 15911, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18883, + "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": 15919, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 18884, + "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": 15925, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18885, + "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": 15932, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18886, + "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": 15937, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18887, + "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": 15942, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 18888, + "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": 15952, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": null + }, + { + "type": "reflection", + "declaration": { + "id": 18889, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 18891, + "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": 15961, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 18890, + "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": 15956, + "character": 6, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18891, + 18890 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15952, + "character": 20, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18792, + 18793, + 18794, + 18795, + 18796, + 18797, + 18798, + 18799, + 18809, + 18810, + 18811, + 18812, + 18813, + 18817, + 18818, + 18822, + 18826, + 18827, + 18832, + 18833, + 18834, + 18835, + 18836, + 18837, + 18843, + 18844, + 18845, + 18846, + 18847, + 18848, + 18849, + 18850, + 18851, + 18857, + 18864, + 18876, + 18877, + 18881, + 18882, + 18883, + 18884, + 18885, + 18886, + 18887, + 18888 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 15457, + "character": 57, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ] + }, + "overwrites": { + "type": "reference", + "target": 9507, + "name": "BrowserLaunchContext.launchOptions" + } + }, + { + "id": 18893, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L30", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 9498, + "name": "BrowserLaunchContext.proxyUrl" + } + }, + { + "id": 18892, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L22", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 16938, + "name": "StagehandOptions", + "package": "@crawlee/stagehand" + } + }, + { + "id": 18894, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L38", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "target": 9499, + "name": "BrowserLaunchContext.useChrome" + } + }, + { + "id": 18895, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L44", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + }, + "overwrites": { + "type": "reference", + "target": 9501, + "name": "BrowserLaunchContext.useIncognitoPages" + } + }, + { + "id": 18901, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/browser-crawler/src/internals/browser-launcher.ts#L68", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "inheritedFrom": { + "type": "reference", + "target": 9504, + "name": "BrowserLaunchContext.userAgent" + } + }, + { + "id": 18896, + "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/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L50", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + }, + "overwrites": { + "type": "reference", + "target": 9503, + "name": "BrowserLaunchContext.userDataDir" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 18899, + 18900, + 18902, + 18897, + 18790, + 18893, + 18892, + 18894, + 18895, + 18901, + 18896 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-launcher.ts", + "line": 12, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-launcher.ts#L12", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "extendedTypes": [ + { + "type": "reference", + "target": 9497, + "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": 16938, + "name": "StagehandOptions", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Stagehand-specific configuration options." + } + ] + }, + "children": [ + { + "id": 16940, + "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": 74, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L74", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 16949, + "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": 130, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L130", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 16945, + "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": 109, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L109", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + }, + { + "id": 16939, + "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": 45, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L45", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": "LOCAL" + }, + { + "type": "literal", + "value": "BROWSERBASE" + } + ] + } + }, + { + "id": 16946, + "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": 114, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L114", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": { + "sourceFileName": "../node_modules/@browserbasehq/stagehand/dist/index.d.ts", + "qualifiedName": "LLMClient" + }, + "name": "LLMClient", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 16948, + "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": 125, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L125", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 16942, + "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": 88, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L88", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "reference", + "target": 18952, + "name": "ModelConfiguration", + "package": "@browserbasehq/stagehand" + } + }, + { + "id": 16941, + "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": 79, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L79", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 16944, + "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": 103, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L103", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 16947, + "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": 119, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L119", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 16943, + "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": 97, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L97", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "union", + "types": [ + { + "type": "literal", + "value": 0 + }, + { + "type": "literal", + "value": 1 + }, + { + "type": "literal", + "value": 2 + } + ] + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 16940, + 16949, + 16945, + 16939, + 16946, + 16948, + 16942, + 16941, + 16944, + 16947, + 16943 + ] + } + ], + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 38, + "character": 17, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L38", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + }, + { + "id": 16950, + "name": "StagehandPage", + "variant": "declaration", + "kind": 256, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Enhanced Playwright Page with Stagehand AI methods." + } + ] + }, + "children": [ + { + "id": 18675, + "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": 5235, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18676, + "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": 5243, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18677, + "name": "keyboard", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5245, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18678, + "name": "mouse", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5247, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18679, + "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": 5256, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18680, + "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": 5273, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18681, + "name": "touchscreen", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5275, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 18682, + "name": "[asyncDispose]", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5277, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 18683, + "name": "[asyncDispose]", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 5277, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "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": 17001, + "name": "$", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 330, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 341, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17002, + "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": 330, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17003, + "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": 17004, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17003, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17005, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17006, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 17007, + "name": "strict", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 330, + "character": 68, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17007 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 330, + "character": 66, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + } + ], + "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": 17003, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "ElementHandleForTag", + "package": "playwright-core" + } + ] + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$" + } + }, + { + "id": 17008, + "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": 341, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17009, + "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": 17010, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17011, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 17012, + "name": "strict", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 341, + "character": 34, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17012 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 341, + "character": 32, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + } + ], + "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": 17013, + "name": "$$", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 351, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 360, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17014, + "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": 351, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17015, + "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": 17016, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17015, + "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": 17015, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "ElementHandleForTag", + "package": "playwright-core" + } + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$" + } + }, + { + "id": 17017, + "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": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17018, + "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": 17046, + "name": "$$eval", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 524, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 554, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 584, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 614, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17047, + "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": 524, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17048, + "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": 17049, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17050, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 17051, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17048, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17052, + "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": 17048, + "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": 17050, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17049, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17053, + "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": 17050, + "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": 17049, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$eval" + } + }, + { + "id": 17054, + "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": 554, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17055, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17056, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17057, + "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": 17058, + "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": 17059, + "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": 17057, + "name": "E", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "type": "reference", + "target": 17056, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17055, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17060, + "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": 17056, + "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": 17055, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$eval" + } + }, + { + "id": 17061, + "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": 584, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17062, + "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": 17063, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 17064, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17062, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17065, + "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": 17062, + "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": 17063, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17066, + "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": 17063, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$$eval" + } + }, + { + "id": 17067, + "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": 614, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17068, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17069, + "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": 17070, + "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": 17071, + "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": 17069, + "name": "E", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": 17068, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17072, + "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": 17068, + "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": 17019, + "name": "$eval", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 394, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 427, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 460, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 493, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17020, + "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": 394, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17021, + "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": 17022, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17023, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 17024, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17021, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17025, + "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": 17021, + "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": 17023, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17022, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17026, + "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": 17023, + "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": 17022, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$eval" + } + }, + { + "id": 17027, + "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": 427, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17028, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17029, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17030, + "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": 17031, + "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": 17032, + "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": 17030, + "name": "E", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17029, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "reference", + "target": 17028, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17033, + "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": 17029, + "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": 17028, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$eval" + } + }, + { + "id": 17034, + "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": 460, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17035, + "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": 17036, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 17037, + "name": "selector", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "comment": { + "summary": [ + { + "kind": "text", + "text": "A selector to query for." + } + ] + }, + "type": { + "type": "reference", + "target": 17035, + "name": "K", + "package": "playwright-core", + "refersToTypeParameter": true + } + }, + { + "id": 17038, + "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": 17035, + "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": 17036, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17039, + "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": 17036, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + }, + "inheritedFrom": { + "type": "reference", + "target": -1, + "name": "Page.$eval" + } + }, + { + "id": 17040, + "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": 493, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 17041, + "name": "R", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + }, + { + "id": 17042, + "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": 17043, + "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": 17044, + "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": 17042, + "name": "E", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "void" + }, + { + "type": "reference", + "target": 17041, + "name": "R", + "package": "playwright-core", + "refersToTypeParameter": true + } + ], + "name": "PageFunctionOn", + "package": "playwright-core" + } + }, + { + "id": 17045, + "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": 17041, + "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": 16951, + "name": "act", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 151, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L151", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16952, + "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": 151, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L151", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 16953, + "name": "instruction", + "variant": "param", + "kind": 32768, + "flags": {}, + "comment": { + "summary": [ + { + "kind": "text", + "text": "Natural language instruction for the action" + } + ] + }, + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 16954, + "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": 18908, + "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": 18913, + "name": "ActResult", + "package": "@browserbasehq/stagehand" + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 16993, + "name": "addInitScript", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 318, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16994, + "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])](https://playwright.dev/docs/api/class-browsercontext#browser-context-add-init-script)\nand [page.addInitScript(script[, arg])](https://playwright.dev/docs/api/class-page#page-add-init-script) is not\ndefined." + } + ] + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 318, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 16995, + "name": "Arg", + "variant": "typeParam", + "kind": 131072, + "flags": { + "isExternal": true + } + } + ], + "parameters": [ + { + "id": 16996, + "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": 16995, + "name": "Arg", + "package": "playwright-core", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "any" + } + ], + "name": "PageFunction", + "package": "playwright-core" + }, + { + "type": "reflection", + "declaration": { + "id": 16997, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 16999, + "name": "content", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 318, + "character": 71, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + }, + { + "id": 16998, + "name": "path", + "variant": "declaration", + "kind": 1024, + "flags": { + "isExternal": true, + "isOptional": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 318, + "character": 56, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "string" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 16999, + 16998 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 318, + "character": 54, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + ] + } + }, + { + "id": 17000, + "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": 16995, + "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": { + "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": 17346, + "name": "addListener", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1279, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1300, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1320, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1340, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1346, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1352, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1367, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1372, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1377, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1382, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1387, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1403, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1432, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1439, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1458, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1464, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1470, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1475, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + }, + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1481, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17347, + "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": 1279, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17348, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "close" + } + }, + { + "id": 17349, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17350, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1279, + "character": 40, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17351, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1279, + "character": 40, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17352, + "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": 17353, + "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": 1300, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17354, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "console" + } + }, + { + "id": 17355, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17356, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1300, + "character": 42, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17357, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1300, + "character": 42, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17358, + "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": 17359, + "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": 1320, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17360, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "crash" + } + }, + { + "id": 17361, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17362, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1320, + "character": 40, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17363, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1320, + "character": 40, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17364, + "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": 17365, + "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": 1340, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17366, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "dialog" + } + }, + { + "id": 17367, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17368, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1340, + "character": 41, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17369, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1340, + "character": 41, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17370, + "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": 17371, + "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": 1346, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17372, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "domcontentloaded" + } + }, + { + "id": 17373, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17374, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1346, + "character": 51, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17375, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1346, + "character": 51, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17376, + "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": 17377, + "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": 1352, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17378, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "download" + } + }, + { + "id": 17379, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17380, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1352, + "character": 43, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17381, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1352, + "character": 43, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17382, + "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": 17383, + "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": 1367, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17384, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "filechooser" + } + }, + { + "id": 17385, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17386, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1367, + "character": 46, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17387, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1367, + "character": 46, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17388, + "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": 17389, + "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": 1372, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17390, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "frameattached" + } + }, + { + "id": 17391, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17392, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1372, + "character": 48, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17393, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1372, + "character": 48, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17394, + "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": 17395, + "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": 1377, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17396, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "framedetached" + } + }, + { + "id": 17397, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17398, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1377, + "character": 48, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17399, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1377, + "character": 48, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17400, + "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": 17401, + "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": 1382, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17402, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "framenavigated" + } + }, + { + "id": 17403, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17404, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1382, + "character": 49, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17405, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1382, + "character": 49, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17406, + "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": 17407, + "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": 1387, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17408, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "load" + } + }, + { + "id": 17409, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17410, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1387, + "character": 39, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17411, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1387, + "character": 39, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17412, + "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": 17413, + "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": 1403, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17414, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "pageerror" + } + }, + { + "id": 17415, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17416, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1403, + "character": 44, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17417, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1403, + "character": 44, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17418, + "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": 17419, + "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": 1432, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17420, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "popup" + } + }, + { + "id": 17421, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17422, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1432, + "character": 40, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17423, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1432, + "character": 40, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17424, + "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": 17425, + "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": 1439, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17426, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "request" + } + }, + { + "id": 17427, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17428, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1439, + "character": 42, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17429, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1439, + "character": 42, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17430, + "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": 17431, + "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": 1458, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17432, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "requestfailed" + } + }, + { + "id": 17433, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17434, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1458, + "character": 48, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17435, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1458, + "character": 48, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17436, + "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": 17437, + "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": 1464, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17438, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "requestfinished" + } + }, + { + "id": 17439, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17440, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1464, + "character": 50, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17441, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1464, + "character": 50, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17442, + "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": 17443, + "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": 1470, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17444, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "response" + } + }, + { + "id": 17445, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17446, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1470, + "character": 43, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17447, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1470, + "character": 43, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17448, + "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": 17449, + "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": 1475, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17450, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "websocket" + } + }, + { + "id": 17451, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17452, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1475, + "character": 44, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17453, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1475, + "character": 44, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17454, + "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": 17455, + "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": 1481, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17456, + "name": "event", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "literal", + "value": "worker" + } + }, + { + "id": 17457, + "name": "listener", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17458, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1481, + "character": 41, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17459, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1481, + "character": 41, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17460, + "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": 17806, + "name": "addLocatorHandler", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1983, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17807, + "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": 1983, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17808, + "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": 17809, + "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": 17810, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1983, + "character": 48, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17811, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1983, + "character": 48, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17812, + "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": 17813, + "name": "options", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true, + "isOptional": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17814, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "children": [ + { + "id": 17815, + "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": 1989, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "boolean" + } + }, + { + "id": 17816, + "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": 1994, + "character": 4, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "type": { + "type": "intrinsic", + "name": "number" + } + } + ], + "groups": [ + { + "title": "Properties", + "children": [ + 17815, + 17816 + ] + } + ], + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 1983, + "character": 95, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ] + } + } + } + ], + "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": 17817, + "name": "addScriptTag", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 2002, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17818, + "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": 922, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17102, + "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": 17103, + "name": "playwrightBinding", + "variant": "param", + "kind": 32768, + "flags": { + "isExternal": true + }, + "type": { + "type": "reflection", + "declaration": { + "id": 17104, + "name": "__type", + "variant": "declaration", + "kind": 65536, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 922, + "character": 49, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17105, + "name": "__type", + "variant": "signature", + "kind": 4096, + "flags": { + "isExternal": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 922, + "character": 49, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17106, + "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": 17107, + "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": 17950, + "name": "exposeFunction", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 2670, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17951, + "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": 2670, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "parameters": [ + { + "id": 17952, + "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": 17953, + "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": 16955, + "name": "extract", + "variant": "declaration", + "kind": 2048, + "flags": {}, + "sources": [ + { + "fileName": "packages/stagehand-crawler/src/internals/stagehand-crawler.ts", + "line": 172, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L172", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 16956, + "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": 172, + "character": 4, + "url": "https://github.com/apify/crawlee/blob/8f2663aedfd2280ca35b9185b4e287f65a2ce969/packages/stagehand-crawler/src/internals/stagehand-crawler.ts#L172", + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "typeParameters": [ + { + "id": 16957, + "name": "T", + "variant": "typeParam", + "kind": 131072, + "flags": {} + } + ], + "parameters": [ + { + "id": 16958, + "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": 16959, + "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": 16957, + "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": 16957, + "name": "T", + "package": "@crawlee/stagehand", + "refersToTypeParameter": true + }, + { + "type": "intrinsic", + "name": "unknown" + } + ], + "name": "$ZodTypeInternals", + "package": "zod" + } + ], + "name": "ZodType", + "package": "zod" + } + }, + { + "id": 16960, + "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": 18947, + "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": 16957, + "name": "T", + "package": "@crawlee/stagehand", + "refersToTypeParameter": true + } + ], + "name": "Promise", + "package": "typescript" + } + } + ] + }, + { + "id": 17954, + "name": "fill", + "variant": "declaration", + "kind": 2048, + "flags": { + "isExternal": true, + "isInherited": true + }, + "sources": [ + { + "fileName": "node_modules/playwright-core/types/types.d.ts", + "line": 2693, + "character": 2, + "gitRevision": "8f2663aedfd2280ca35b9185b4e287f65a2ce969" + } + ], + "signatures": [ + { + "id": 17955, + "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": "`