Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
1153 matches across 12 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | browser_patches/firefox/juggler/TargetRegistry.js | 872 | function fromProtocolReducedMotion(reducedMotion) { |
| LOW | tests/config/utils.ts | 92 | export function suppressCertificateWarning() { |
| LOW | tests/config/proxy.ts | 145 | export async function setupSocksForwardingServer({ |
| LOW | tests/playwright-test/reporter-blob.spec.ts | 1595 | function readAllFromStreamAsString(stream: NodeJS.ReadableStream): Promise<string> { |
| LOW | tests/playwright-test/reporter-blob.spec.ts | 1743 | function patchPathSeparatorsRecursive(obj: any) { |
| LOW | tests/playwright-test/playwright-test-fixtures.ts | 133 | function startPlaywrightChildProcess(childProcess: CommonFixtures['childProcess'], baseDir: string, args: string[], env: |
| LOW | tests/playwright-test/reporter-html.spec.ts | 2184 | function calculateTotalTestDuration(testNames: string[]) { |
| LOW | tests/playwright-test/loader.spec.ts | 926 | export async function utilityModuleThatImportsNodeModule() { |
| LOW | tests/library/resource-timing.spec.ts | 135 | function verifyConnectionTimingConsistency(timing) { |
| LOW | …sts/library/browsercontext-cookies-third-party.spec.ts | 556 | async function testThirdPartyCookiesAreBlocked(page: Page, context: BrowserContext, server: TestServer, allowsThirdParty |
| LOW | tests/mcp/cli-fixtures.ts | 264 | export async function installSaveFilePickerMock(page: import('playwright-core').Page): Promise<() => Promise<Buffer>> { |
| LOW | tests/installation/playwright-test-plugin.spec.ts | 21 | function patchPackageJsonForPreReleaseIfNeeded(tmpWorkspace: string) { |
| LOW | tests/assets/input/handle-locator.html | 66 | function setupAnnoyingInterstitial(event, times, capture) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1212 | function getTargetInstForClickEvent(topLevelType, targetInst, nativeEvent) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1218 | function getTargetInstForInputOrChangeEvent(topLevelType, targetInst, nativeEvent) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1224 | function handleControlledInputBlur(inst, node) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3191 | function accumulateDirectDispatchesSingle(event) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3197 | function accumulateTwoPhaseDispatches(events) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3201 | function accumulateTwoPhaseDispatchesSkipTarget(events) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3205 | function accumulateEnterLeaveDispatches(leave, enter, from, to) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3209 | function accumulateDirectDispatches(events) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 246 | function isFallbackCompositionStart(topLevelType, nativeEvent) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 351 | function getNativeBeforeInputChars(topLevelType, nativeEvent) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 405 | function getFallbackBeforeInputChars(topLevelType, nativeEvent) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1024 | function createAndAccumulateChangeEvent(inst, nativeEvent, target) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1050 | function manualDispatchChangeEvent(nativeEvent) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1096 | function getTargetInstForChangeEvent(topLevelType, targetInst) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1129 | function startWatchingForValueChange(target, targetInst) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1139 | function stopWatchingForValueChange() { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1162 | function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1185 | function getTargetInstForInputEventPolyfill(topLevelType, targetInst, nativeEvent) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 2995 | function executeDispatchesInOrderStopAtTrueImpl(event) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3022 | function executeDispatchesInOrderStopAtTrue(event) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3135 | function accumulateDirectionalDispatches(inst, phase, event) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3153 | function accumulateTwoPhaseDispatchesSingle(event) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3162 | function accumulateTwoPhaseDispatchesSingleSkipTarget(event) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 3679 | function getDeclarationErrorAddendum(owner) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 5477 | function getDeclarationErrorAddendum(internalInstance) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 5516 | function checkAndWarnForMutatedStyle(style1, style2, component) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 6478 | function getRenderedHostOrTextFromComponent(component) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 6551 | function getClosestInstanceFromNode(node) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 7330 | function updateOptionsIfPendingUpdateAndMounted() { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 7343 | function getDeclarationErrorAddendum(owner) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 8460 | function pauseCurrentLifeCycleTimer() { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 8474 | function resumeCurrentLifeCycleTimer() { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 8701 | function ReactDefaultBatchingStrategyTransaction() { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 9011 | function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 9610 | function getReactRootElementInContainer(container) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 9664 | function batchedMountComponentIntoNode(componentInstance, container, shouldReuseMarkup, context) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 9726 | function nodeIsRenderedByOtherInstance(container) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 9753 | function getHostRootInstanceInContainer(container) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 9759 | function getTopLevelWrapperInContainer(container) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 11100 | function getMeasurementsSummaryMap(measurements) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 11300 | function ReactReconcileTransaction(useCreateElement) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 11657 | function ReactServerRenderingTransaction(renderToStaticMarkup) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 12030 | function createRendererWithWarning() { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 12041 | function findAllInRenderedTreeInternal(inst, test) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 12450 | function getInternalInstanceReadyForUpdate(publicInstance, callerName) { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 12707 | function ReactUpdatesFlushTransaction() { |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 13715 | function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { |
| 723 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/playwright-test/reporter-attachment.spec.ts | 35 | expect(text).toContain(' attachment #1: attachment (text/plain) ─────────────────────────────────────────────────── |
| MEDIUM | tests/playwright-test/reporter-attachment.spec.ts | 56 | expect(text).toContain(' attachment #1: screenshot (image/png) ──────────────────────────────────────────────────── |
| MEDIUM | tests/playwright-test/reporter-attachment.spec.ts | 77 | expect(text).toContain(' attachment #1: trace (application/zip) ─────────────────────────────────────────────────── |
| MEDIUM | tests/playwright-test/reporter-attachment.spec.ts | 175 | expect(result.output).toMatch(/^.*attachment #1: name \(text\/plain\).*\n.*\n.*──────/gm); |
| MEDIUM | tests/playwright-test/reporter-attachment.spec.ts | 190 | expect(result.output).toMatch(/^.*attachment #1: Full name \(text\/plain\).*\n.*──────/gm); |
| MEDIUM | tests/playwright-test/reporter-attachment.spec.ts | 205 | expect(result.output).toMatch(/^.*attachment #1: name \(text\/plain\).*\n.*\n.*──────/gm); |
| MEDIUM | tests/playwright-test/reporter-attachment.spec.ts | 318 | expect(text).toContain(' attachment #1: attachment (text/plain) ─────────────────────────────────────────────────── |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 118 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 122 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 126 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 131 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 135 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 140 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 143 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 147 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 150 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 155 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 161 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 165 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 168 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 173 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 178 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 186 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 194 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 200 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 472 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 477 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 481 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 486 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 491 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 496 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 523 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 527 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 534 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 538 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 9 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 15 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 73 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 77 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 213 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 218 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 375 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 379 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 568 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 575 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 687 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 693 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 710 | # ============================================================================ |
| MEDIUM | tests/webview/expectations/webkit-webview-page.txt | 715 | # ============================================================================ |
| MEDIUM | tests/library/inspector/cli-codegen-1.spec.ts | 851 | # --------------------- |
| MEDIUM | tests/library/inspector/cli-codegen-1.spec.ts | 858 | # --------------------- |
| MEDIUM | tests/library/inspector/cli-codegen-1.spec.ts | 912 | # --------------------- |
| MEDIUM | tests/library/inspector/cli-codegen-1.spec.ts | 920 | # --------------------- |
| MEDIUM | tests/library/inspector/cli-codegen-python.spec.ts | 88 | # --------------------- |
| MEDIUM | tests/library/inspector/cli-codegen-python.spec.ts | 113 | # --------------------- |
| MEDIUM | …sts/library/inspector/cli-codegen-python-async.spec.ts | 93 | # --------------------- |
| MEDIUM | …sts/library/inspector/cli-codegen-python-async.spec.ts | 123 | # --------------------- |
| MEDIUM | packages/playwright-core/src/tools/mcp/browserModel.ts | 79 | // ─── Extension → model inputs ───────────────────────────────────────── |
| MEDIUM | packages/playwright-core/src/tools/mcp/browserModel.ts | 120 | // ─── Playwright → model commands ────────────────────────────────────── |
| MEDIUM | packages/playwright-core/src/tools/mcp/browserModel.ts | 189 | // ─── Internals ──────────────────────────────────────────────────────── |
| 14 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | packages/playwright-core/src/server/dom.ts | 90 | const sdkLanguage = this.frame._page.browserContext._browser.sdkLanguage(); |
| CRITICAL | packages/playwright-core/src/server/frameSelectors.ts | 142 | const locator = asLocator(this.frame._page.browserContext._browser.sdkLanguage(), selector); |
| CRITICAL | packages/playwright-core/src/server/network.ts | 395 | const buffer = this._request._context.fetchRequest.fetchResponses.get(overrides.fetchResponseUid) || APIRequestC |
| CRITICAL | packages/playwright-core/src/server/videoRecorder.ts | 49 | const ffmpegPath = registry.findExecutable('ffmpeg')!.executablePathOrDie(this._screencast.page.browserContext._brow |
| CRITICAL | packages/playwright-core/src/client/browser.ts | 119 | this._browserType._playwright.selectors._contextsForSelectors.add(context); |
| CRITICAL | packages/isomorphic/cssTokenizer.ts | 696 | const json = this.constructor.prototype.constructor.prototype.toJSON.call(this); |
| CRITICAL | packages/isomorphic/cssTokenizer.ts | 716 | const json = this.constructor.prototype.constructor.prototype.toJSON.call(this); |
| CRITICAL | packages/isomorphic/cssTokenizer.ts | 775 | const json = this.constructor.prototype.constructor.prototype.toJSON.call(this); |
| CRITICAL | packages/isomorphic/cssTokenizer.ts | 850 | const json = this.constructor.prototype.constructor.prototype.toJSON.call(this); |
| CRITICAL | packages/isomorphic/cssTokenizer.ts | 873 | const json = this.constructor.prototype.constructor.prototype.toJSON.call(this); |
| CRITICAL | packages/injected/src/recorder/recorder.ts | 290 | timeout: this._recorder.injectedScript.utils.builtins.setTimeout(() => this._commitPendingClickAction(), 200) |
| CRITICAL | packages/injected/src/recorder/recorder.ts | 329 | this._recorder.injectedScript.utils.builtins.clearTimeout(this._pendingClickAction.timeout); |
| CRITICAL | packages/injected/src/recorder/recorder.ts | 1302 | this._recorder.injectedScript.utils.builtins.setTimeout(() => element.classList.remove('succeeded'), 2000); |
| CRITICAL | packages/injected/src/recorder/pollingRecorder.ts | 57 | this._recorder.injectedScript.utils.builtins.clearTimeout(this._pollRecorderModeTimer); |
| CRITICAL | packages/injected/src/recorder/pollingRecorder.ts | 60 | this._pollRecorderModeTimer = this._recorder.injectedScript.utils.builtins.setTimeout(() => this._pollRecorderMode |
| CRITICAL | packages/injected/src/recorder/pollingRecorder.ts | 76 | this._pollRecorderModeTimer = this._recorder.injectedScript.utils.builtins.setTimeout(() => this._pollRecorderMode() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | browser_patches/firefox/juggler/TargetRegistry.js | 341 | |
| LOW | browser_patches/firefox/juggler/NetworkObserver.js | 121 | this.navigationId = redirectedFrom.navigationId; |
| LOW | …patches/firefox/juggler/pipe/nsRemoteDebuggingPipe.cpp | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| LOW | …hes/firefox/juggler/screencast/nsScreencastService.cpp | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| LOW | browser_patches/firefox/preferences/playwright.cfg | 181 | // Dislabe newtabpage |
| LOW | browser_patches/webkit/embedder/Playwright/win/stdafx.h | 21 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| LOW | browser_patches/webkit/embedder/Playwright/win/stdafx.h | 41 | #define __STDC_LIMIT_MACROS |
| LOW | browser_patches/webkit/embedder/Playwright/win/stdafx.h | 61 | |
| LOW | …webkit/embedder/Playwright/win/WebKitBrowserWindow.cpp | 21 | * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| LOW | …ser_patches/webkit/embedder/Playwright/win/WinMain.cpp | 21 | * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| LOW | …wser_patches/webkit/embedder/Playwright/win/resource.h | 1 | //{{NO_DEPENDENCIES}} |
| LOW | …wser_patches/webkit/embedder/Playwright/win/resource.h | 21 | #define _APS_NEXT_COMMAND_VALUE 32771 |
| LOW | …webkit/embedder/Playwright/win/PlaywrightLibResource.h | 1 | //{{NO_DEPENDENCIES}} |
| LOW | …webkit/embedder/Playwright/win/PlaywrightLibResource.h | 21 | #define IDM_HISTORY_LINK2 152 |
| LOW | …webkit/embedder/Playwright/win/PlaywrightLibResource.h | 41 | #define IDC_CHECK1 1003 |
| LOW | …webkit/embedder/Playwright/win/PlaywrightLibResource.h | 61 | #define IDC_TOTAL_LIVE_COUNT 1025 |
| LOW | …webkit/embedder/Playwright/win/PlaywrightLibResource.h | 81 | #define IDC_Message 1044 |
| LOW | …webkit/embedder/Playwright/win/PlaywrightLibResource.h | 101 | #define IDM_RELOAD 32779 |
| LOW | …es/webkit/embedder/Playwright/win/PlaywrightResource.h | 1 | //{{NO_DEPENDENCIES}} |
| LOW | …bkit/embedder/Playwright/mac/BrowserWindowController.m | 21 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| LOW | …r_patches/webkit/embedder/Playwright/mac/AppDelegate.m | 21 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| LOW | tests/webview/expectations/webkit-webview-page.txt | 1 | # WebView (iOS Simulator) expected failures. |
| LOW | tests/webview/expectations/webkit-webview-page.txt | 121 | # script path needs to be extended with a binding bridge over Runtime.evaluate. |
| LOW | tests/webview/expectations/webkit-webview-page.txt | 141 | page/page-click-scroll.spec.ts › should scroll into view element in iframe [fail] |
| LOW | tests/webview/expectations/webkit-webview-page.txt | 161 | # ============================================================================ |
| LOW | tests/webview/expectations/webkit-webview-page.txt | 181 | # navigation triggers a process swap and the provisional target arrives |
| LOW | tests/webview/expectations/webkit-webview-page.txt | 481 | # ============================================================================ |
| LOW | tests/library/events/subclass.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/remove-all-listeners.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/add-listeners.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/check-listener-leaks.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/remove-listeners.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/method-names.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/special-event-names.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/listeners-side-effects.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/num-args.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/max-listeners.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/symbols.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/once.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/utils.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/prepend.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/listener-count.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/listeners.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/events-list.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/library/events/modify-in-emit.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | …/library/events/set-max-listeners-side-effects.spec.ts | 1 | // Copyright Joyent, Inc. and other Node contributors. |
| LOW | tests/assets/offscreenbuttons.html | 21 | right: 0; |
| LOW | tests/assets/prefetch.js | 1 | // Scripts will be pre-fetched |
| LOW | tests/assets/webfont/generate_font.py | 1 | #!/usr/bin/env python3 |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1161 | |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 1181 | } |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 12761 | |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 12921 | // We use attributes for everything SVG so let's avoid some duplication and run |
| LOW | tests/assets/reading-list/react-dom_15.7.0.js | 16621 | var _assign = _dereq_(160); |
| LOW | tests/assets/reading-list/react_18.1.0.js | 461 | } |
| LOW | tests/assets/reading-list/react_18.1.0.js | 1881 | for (; s >= 1 && c >= 0; s--, c--) { |
| LOW | tests/assets/reading-list/vue_2.6.14.js | 1921 | var copies = callbacks.slice(0); |
| LOW | tests/assets/reading-list/vue_2.6.14.js | 1941 | // The nextTick behavior leverages the microtask queue, which can be accessed |
| LOW | tests/assets/reading-list/vue_2.6.14.js | 2341 | } |
| LOW | tests/assets/reading-list/react-dom_17.0.2.js | 3861 | this.onError(error); |
| 84 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/page/elementhandle-click.spec.ts | 45 | <div id='inner' style="max-width: 50px">Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer cura |
| LOW | tests/page/elementhandle-click.spec.ts | 45 | <div id='inner' style="max-width: 50px">Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer cura |
| LOW | tests/playwright-test/reporter-html.spec.ts | 1918 | test('@finally @oddly @questioningly @sleepily @warmly @healthily @smoke @flaky this is a very long test tit |
| LOW | tests/playwright-test/reporter-html.spec.ts | 1918 | test('@finally @oddly @questioningly @sleepily @warmly @healthily @smoke @flaky this is a very long test tit |
| LOW | tests/library/browsercontext-add-cookies.spec.ts | 35 | value: 'John Doe', |
| LOW | tests/library/defaultbrowsercontext-1.spec.ts | 38 | value: 'John Doe', |
| LOW | tests/library/defaultbrowsercontext-1.spec.ts | 54 | value: 'John Doe', |
| LOW | tests/library/defaultbrowsercontext-1.spec.ts | 60 | value: 'John Doe', |
| LOW | tests/library/browsercontext-cookies.spec.ts | 33 | value: 'John Doe', |
| LOW | tests/library/browsercontext-cookies.spec.ts | 57 | value: 'John Doe', |
| LOW | tests/library/browsercontext-cookies.spec.ts | 85 | value: 'John Doe', |
| LOW | tests/library/browsercontext-cookies.spec.ts | 99 | value: 'John Doe', |
| LOW | tests/library/browsercontext-cookies.spec.ts | 166 | value: 'John Doe', |
| LOW | tests/library/browsercontext-pages.spec.ts | 147 | await page.setContent('<div id="container">lorem ipsum dolor sit amet</div>'); |
| LOW | tests/library/browsercontext-pages.spec.ts | 147 | await page.setContent('<div id="container">lorem ipsum dolor sit amet</div>'); |
| LOW | …sts/library/browsercontext-cookies-third-party.spec.ts | 584 | 'value': 'John Doe' |
| LOW | tests/library/headful.spec.ts | 152 | 'value': 'John Doe' |
| LOW | tests/library/headful.spec.ts | 310 | Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tincidunt |
| LOW | tests/library/headful.spec.ts | 310 | Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tincidunt |
| LOW | tests/library/browsercontext-fetch.spec.ts | 107 | value: 'John Doe', |
| LOW | tests/library/browsercontext-fetch.spec.ts | 237 | value: 'John Doe', |
| LOW | tests/library/browsercontext-fetch.spec.ts | 262 | value: 'John Doe', |
| LOW | tests/library/browsercontext-device.spec.ts | 68 | Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tinci |
| LOW | tests/library/browsercontext-device.spec.ts | 68 | Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tinci |
| LOW | tests/library/global-fetch-cookie.spec.ts | 382 | value: { id: 'foo', name: 'John Doe' } |
| LOW | tests/library/inspector/cli-codegen-1.spec.ts | 425 | page.fill('div', 'John Doe') |
| LOW | tests/library/inspector/cli-codegen-1.spec.ts | 428 | await page.locator('#content').fill('John Doe');`); |
| LOW | tests/library/inspector/cli-codegen-1.spec.ts | 429 | expect(message.text()).toBe('John Doe'); |
| LOW | tests/mcp/form.spec.ts | 67 | value: 'John Doe' |
| LOW | tests/mcp/form.spec.ts | 96 | code: `await page.getByRole('textbox', { name: 'Name' }).fill('John Doe'); |
| LOW | tests/mcp/network.spec.ts | 28 | server.setContent('/json', JSON.stringify({ name: 'John Doe' }), 'application/json'); |
| LOW | tests/mcp/network.spec.ts | 147 | res.end(JSON.stringify({ name: 'John Doe' })); |
| LOW | tests/mcp/network.spec.ts | 217 | res.end(JSON.stringify({ name: 'John Doe' })); |
| LOW | tests/mcp/network.spec.ts | 260 | expect(responseBody!.result).toBe('{"name":"John Doe"}'); |
| LOW | tests/mcp/cli-json.spec.ts | 199 | res.end(JSON.stringify({ name: 'John Doe' })); |
| LOW | tests/mcp/cli-json.spec.ts | 210 | expect(JSON.parse((await cli('--json', 'response-body', num)).output)).toEqual({ result: '{"name":"John Doe"}' }); |
| LOW | tests/mcp/verify.spec.ts | 336 | <input type="text" aria-label="Name" value="John Doe" /> |
| LOW | tests/mcp/verify.spec.ts | 352 | value: 'John Doe', |
| LOW | tests/mcp/verify.spec.ts | 356 | code: expect.stringContaining(`await expect(page.getByRole('textbox', { name: 'Name' })).toHaveValue('John Doe');`), |
| LOW | tests/mcp/verify.spec.ts | 377 | <input type="text" name="name" value="John Doe" /> |
| LOW | tests/mcp/verify.spec.ts | 396 | error: 'Expected value "Jane Smith", but got "John Doe"', |
| LOW | tests/mcp/secrets.spec.ts | 107 | value: 'John Doe' |
| LOW | tests/mcp/secrets.spec.ts | 118 | code: `await page.getByRole('textbox', { name: 'Email' }).fill('John Doe'); |
| LOW | tests/mcp/cli-devtools.spec.ts | 91 | res.end(JSON.stringify({ name: 'John Doe' })); |
| LOW | tests/mcp/cli-devtools.spec.ts | 122 | res.end(JSON.stringify({ name: 'John Doe' })); |
| LOW | tests/mcp/cli-devtools.spec.ts | 135 | expect((await cli('response-body', num)).output).toContain('{"name":"John Doe"}'); |
| LOW | tests/mcp/cli-devtools.spec.ts | 145 | res.end(JSON.stringify({ name: 'John Doe' })); |
| LOW | tests/mcp/cli-devtools.spec.ts | 170 | expect(read('res-b.json')).toBe('{"name":"John Doe"}'); |
| LOW | tests/mcp/cli-devtools.spec.ts | 177 | server.setContent('/api', JSON.stringify({ name: 'John Doe' }), 'application/json'); |
| LOW | tests/mcp/cli-devtools.spec.ts | 186 | expect(output.trim()).toBe('{"name":"John Doe"}'); |
| LOW | tests/components/ct-react-vite/tests/route.spec.tsx | 39 | return HttpResponse.json({ name: 'John Doe' }); |
| LOW | tests/components/ct-react-vite/tests/route.spec.tsx | 51 | await expect(component.getByTestId('name')).toHaveText('John Doe'); |
| LOW | tests/components/ct-react-vite/tests/route.spec.tsx | 67 | return HttpResponse.json({ name: 'John Doe' }); |
| LOW | tests/components/ct-react-vite/tests/route.spec.tsx | 72 | await expect(component.getByTestId('name')).toHaveText('John Doe'); |
| LOW | tests/electron/package.json | 6 | "author": "Jane Doe", |
| LOW | tests/assets/evals/fill-form.html | 143 | <input type="text" id="address" name="address" placeholder="123 Main Street" required> |
| LOW | tests/assets/modernizr/modernizr.js | 2 | See http://github.com/Modernizr/Modernizr/issues/1182 for more information.`),window.yepnope.apply(window,[].slice.call |
| LOW | docs/src/api/class-apirequestcontext.md | 226 | author: 'John Doe', |
| LOW | docs/src/api/class-apirequestcontext.md | 234 | data.put("body", "John Doe"); |
| LOW | docs/src/api/class-apirequestcontext.md | 241 | "body": "John Doe", |
| 20 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | docs/src/aria-snapshots.md | 0 | - banner: - heading /playwright enables reliable end-to-end/ [level=1] - link "get started": - /url: /docs/intro - link |
| HIGH | docs/src/aria-snapshots.md | 0 | - banner: - heading /playwright enables reliable end-to-end/ [level=1] - link "get started": - /url: /docs/intro - link |
| HIGH | docs/src/aria-snapshots.md | 0 | - banner: - heading /playwright enables reliable end-to-end/ [level=1] - link "get started": - /url: /docs/intro - link |
| HIGH | docs/src/api/class-locatorassertions.md | 0 | - heading "todos" - textbox "what needs to be done?" |
| HIGH | docs/src/api/class-locatorassertions.md | 0 | - heading "todos" - textbox "what needs to be done?" |
| HIGH | docs/src/api/class-locatorassertions.md | 0 | - heading "todos" - textbox "what needs to be done?" |
| HIGH | docs/src/api/class-pageassertions.md | 0 | - heading "todos" - textbox "what needs to be done?" |
| HIGH | docs/src/api/class-pageassertions.md | 0 | - heading "todos" - textbox "what needs to be done?" |
| HIGH | docs/src/api/class-pageassertions.md | 0 | - heading "todos" - textbox "what needs to be done?" |
| HIGH | docs/src/api/class-browsercontext.md | 0 | <script> async function onclick() { document.queryselector('div').textcontent = await window.pageurl(); } </script> <but |
| HIGH | docs/src/api/class-browsercontext.md | 0 | <script> async function onclick() { document.queryselector('div').textcontent = await window.pageurl(); } </script> <but |
| HIGH | docs/src/api/class-page.md | 0 | <script> async function onclick() { document.queryselector('div').textcontent = await window.pageurl(); } </script> <but |
| HIGH | docs/src/api/class-page.md | 0 | <script> async function onclick() { document.queryselector('div').textcontent = await window.pageurl(); } </script> <but |
| HIGH | docs/src/api/class-browsercontext.md | 0 | <script> async function onclick() { document.queryselector('div').textcontent = await window.sha256('playwright'); } </s |
| HIGH | docs/src/api/class-browsercontext.md | 0 | <script> async function onclick() { document.queryselector('div').textcontent = await window.sha256('playwright'); } </s |
| HIGH | docs/src/api/class-page.md | 0 | <script> async function onclick() { document.queryselector('div').textcontent = await window.sha256('playwright'); } </s |
| HIGH | docs/src/api/class-page.md | 0 | <script> async function onclick() { document.queryselector('div').textcontent = await window.sha256('playwright'); } </s |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/assets/reading-list/react-dom_15.7.0.js | 12729 | // Essentially calls `this.reconcileTransaction.perform(method, scope, a)` |
| MEDIUM | tests/assets/reading-list/react-dom_15.7.0.js | 16330 | // children. Definitely want to avoid this. |
| LOW | tests/assets/reading-list/vue_3.1.5.js | 6033 | // #1689 For inside suspense + suspense resolved case, just call it |
| MEDIUM | tests/assets/modernizr/modernizr.js | 2 | See http://github.com/Modernizr/Modernizr/issues/1182 for more information.`),window.yepnope.apply(window,[].slice.call |
| MEDIUM | tests/assets/modernizr/modernizr.js | 2 | See http://github.com/Modernizr/Modernizr/issues/1182 for more information.`),window.yepnope.apply(window,[].slice.call |
| MEDIUM | tests/assets/modernizr/modernizr.js | 6 | * Build https://modernizr.com/download?-adownload-ambientlight-aping-apng-appearance-applicationcache-areaping-arrow-as |
| MEDIUM | tests/assets/modernizr/modernizr.js | 2544 | "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-iframe-seamless" |
| MEDIUM | tests/assets/modernizr/modernizr.js | 2544 | "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-iframe-seamless" |
| MEDIUM | tests/assets/react/material-ui@5.2.2.production.min.js | 6 | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"fu |
| MEDIUM | tests/assets/stress/static/js/main.cc4a7955.js | 2 | !function(){"use strict";var e={463:function(e,n,t){var r=t(791),l=t(296);function a(e){for(var n="https://reactjs.org/d |
| MEDIUM | tests/assets/stress/static/js/main.cc4a7955.js | 2 | !function(){"use strict";var e={463:function(e,n,t){var r=t(791),l=t(296);function a(e){for(var n="https://reactjs.org/d |
| MEDIUM | packages/playwright/src/runner/taskRunner.ts | 113 | // because of the same deadline. Essentially, we're not performing any cleanup. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/assets/reading-list/react_15.7.0.js | 859 | // We need to check if it exists. |
| LOW | …rowser-dependencies/inside_docker/list_dependencies.js | 98 | // Step 1: pick libraries that are easy to pick. |
| LOW | …rowser-dependencies/inside_docker/list_dependencies.js | 195 | // Step 1: try to filter out debug, test and dev packages. |
| LOW | …rowser-dependencies/inside_docker/list_dependencies.js | 199 | // Step 2: use library name to filter packages with the same name. |
| LOW | …todomvc/tests/todo-creation/prevent-empty-todo.spec.ts | 8 | // Step 1: Navigate to the TodoMVC application |
| LOW | …todomvc/tests/todo-creation/prevent-empty-todo.spec.ts | 12 | // Step 2: Click into the input field without typing anything and press Enter |
| LOW | …omvc/tests/adding-todos/should-add-single-todo.spec.ts | 7 | // Step 1: Navigate to the TodoMVC application |
| LOW | …omvc/tests/adding-todos/should-add-single-todo.spec.ts | 11 | // Step 2: Type 'Buy groceries' into the input field |
| LOW | …omvc/tests/adding-todos/should-add-single-todo.spec.ts | 16 | // Step 3: Press Enter to submit the todo |
| LOW | packages/playwright-core/src/server/frames.ts | 1473 | // Step 1: perform locator handlers checkpoint with a specified timeout. |
| LOW | packages/playwright-core/src/server/frames.ts | 1479 | // Step 2: perform one-shot expect check without a timeout. |
| LOW | packages/playwright-core/src/server/frames.ts | 1492 | // Step 3: auto-retry expect with increasing timeouts. Bounded by the total remaining time. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tests/playwright-test/reporter-list.spec.ts | 675 | print(text[index++]); |
| HIGH | tests/playwright-test/reporter-list.spec.ts | 697 | print(text[index++]); |
| HIGH | packages/playwright/src/plugins/gitCommitInfoPlugin.ts | 41 | print(s, ...args); |
| HIGH | packages/playwright/src/plugins/gitCommitInfoPlugin.ts | 190 | print(`timeout of ${GIT_OPERATIONS_TIMEOUT_MS}ms exceeded while running "git ${args.join(' ')}"`); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/assets/reading-list/vue_3.1.5.js | 7506 | // #2078 make sure to merge refs during the clone instead of overwriting it |
| LOW | …ges/playwright-core/bin/reinstall_msedge_beta_linux.sh | 24 | # 1. make sure to remove old beta if any. |
| LOW | …ges/playwright-core/bin/reinstall_chrome_beta_linux.sh | 23 | # 1. make sure to remove old beta if any. |
| LOW | …s/playwright-core/bin/reinstall_msedge_stable_linux.sh | 24 | # 1. make sure to remove old stable if any. |
| LOW | …ages/playwright-core/bin/reinstall_msedge_dev_linux.sh | 24 | # 1. make sure to remove old dev if any. |
| LOW | …s/playwright-core/bin/reinstall_chrome_stable_linux.sh | 23 | # 1. make sure to remove old stable if any. |
| LOW | packages/playwright/src/worker/fixtureRunner.ts | 96 | // Don't forget to decrement all usages when fixture goes. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/assets/reading-list/vue_2.6.14.js | 4754 | function getData (data, vm) { |
| LOW | tests/assets/reading-list/react-dom_17.0.2.js | 6086 | function getData() { |
| LOW | tests/assets/reading-list/react-dom_16.14.0.js | 8409 | function getData() { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | utils/doclint/linting-code-snippets/python/main.py | 8 | except Exception as e: |