Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/api/class-coverage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright-client/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright-core/types/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down