diff --git a/docs/src/api/class-coverage.md b/docs/src/api/class-coverage.md index 8a5fb7af6824d..fbdec75a065fc 100644 --- a/docs/src/api/class-coverage.md +++ b/docs/src/api/class-coverage.md @@ -49,7 +49,7 @@ Returns coverage is started :::note Anonymous scripts are ones that don't have an associated url. These are scripts that are dynamically created on the page using `eval` or `new Function`. If [`option: reportAnonymousScripts`] is set to `true`, anonymous scripts -will have `__playwright_evaluation_script__` as their URL. +will have an empty string as their URL. ::: ### option: Coverage.startJSCoverage.resetOnNavigation diff --git a/packages/playwright-client/types/types.d.ts b/packages/playwright-client/types/types.d.ts index 1724559292f59..110d4ed5af67f 100644 --- a/packages/playwright-client/types/types.d.ts +++ b/packages/playwright-client/types/types.d.ts @@ -21047,7 +21047,7 @@ export interface Coverage { * **NOTE** Anonymous scripts are ones that don't have an associated url. These are scripts that are dynamically * created on the page using `eval` or `new Function`. If * [`reportAnonymousScripts`](https://playwright.dev/docs/api/class-coverage#coverage-start-js-coverage-option-report-anonymous-scripts) - * is set to `true`, anonymous scripts will have `__playwright_evaluation_script__` as their URL. + * is set to `true`, anonymous scripts will have an empty string as their URL. * * @param options */ diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 1724559292f59..110d4ed5af67f 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -21047,7 +21047,7 @@ export interface Coverage { * **NOTE** Anonymous scripts are ones that don't have an associated url. These are scripts that are dynamically * created on the page using `eval` or `new Function`. If * [`reportAnonymousScripts`](https://playwright.dev/docs/api/class-coverage#coverage-start-js-coverage-option-report-anonymous-scripts) - * is set to `true`, anonymous scripts will have `__playwright_evaluation_script__` as their URL. + * is set to `true`, anonymous scripts will have an empty string as their URL. * * @param options */