Repository Analysis

microsoft/playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

2.0 Likely human-written View on GitHub
2.0
Adjusted Score
2.0
Raw Score
100%
Time Factor
2026-05-30
Last Push
89,839
Stars
TypeScript
Language
687,242
Lines of Code
2524
Files
1153
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 16HIGH 21MEDIUM 85LOW 1031

Pattern Findings

1153 matches across 12 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers783 hits · 616 pts
SeverityFileLineSnippet
LOWbrowser_patches/firefox/juggler/TargetRegistry.js872function fromProtocolReducedMotion(reducedMotion) {
LOWtests/config/utils.ts92export function suppressCertificateWarning() {
LOWtests/config/proxy.ts145export async function setupSocksForwardingServer({
LOWtests/playwright-test/reporter-blob.spec.ts1595function readAllFromStreamAsString(stream: NodeJS.ReadableStream): Promise<string> {
LOWtests/playwright-test/reporter-blob.spec.ts1743 function patchPathSeparatorsRecursive(obj: any) {
LOWtests/playwright-test/playwright-test-fixtures.ts133function startPlaywrightChildProcess(childProcess: CommonFixtures['childProcess'], baseDir: string, args: string[], env:
LOWtests/playwright-test/reporter-html.spec.ts2184 function calculateTotalTestDuration(testNames: string[]) {
LOWtests/playwright-test/loader.spec.ts926 export async function utilityModuleThatImportsNodeModule() {
LOWtests/library/resource-timing.spec.ts135function verifyConnectionTimingConsistency(timing) {
LOW…sts/library/browsercontext-cookies-third-party.spec.ts556async function testThirdPartyCookiesAreBlocked(page: Page, context: BrowserContext, server: TestServer, allowsThirdParty
LOWtests/mcp/cli-fixtures.ts264export async function installSaveFilePickerMock(page: import('playwright-core').Page): Promise<() => Promise<Buffer>> {
LOWtests/installation/playwright-test-plugin.spec.ts21function patchPackageJsonForPreReleaseIfNeeded(tmpWorkspace: string) {
LOWtests/assets/input/handle-locator.html66 function setupAnnoyingInterstitial(event, times, capture) {
LOWtests/assets/reading-list/react-dom_15.7.0.js1212function getTargetInstForClickEvent(topLevelType, targetInst, nativeEvent) {
LOWtests/assets/reading-list/react-dom_15.7.0.js1218function getTargetInstForInputOrChangeEvent(topLevelType, targetInst, nativeEvent) {
LOWtests/assets/reading-list/react-dom_15.7.0.js1224function handleControlledInputBlur(inst, node) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3191function accumulateDirectDispatchesSingle(event) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3197function accumulateTwoPhaseDispatches(events) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3201function accumulateTwoPhaseDispatchesSkipTarget(events) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3205function accumulateEnterLeaveDispatches(leave, enter, from, to) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3209function accumulateDirectDispatches(events) {
LOWtests/assets/reading-list/react-dom_15.7.0.js246function isFallbackCompositionStart(topLevelType, nativeEvent) {
LOWtests/assets/reading-list/react-dom_15.7.0.js351function getNativeBeforeInputChars(topLevelType, nativeEvent) {
LOWtests/assets/reading-list/react-dom_15.7.0.js405function getFallbackBeforeInputChars(topLevelType, nativeEvent) {
LOWtests/assets/reading-list/react-dom_15.7.0.js1024function createAndAccumulateChangeEvent(inst, nativeEvent, target) {
LOWtests/assets/reading-list/react-dom_15.7.0.js1050function manualDispatchChangeEvent(nativeEvent) {
LOWtests/assets/reading-list/react-dom_15.7.0.js1096function getTargetInstForChangeEvent(topLevelType, targetInst) {
LOWtests/assets/reading-list/react-dom_15.7.0.js1129function startWatchingForValueChange(target, targetInst) {
LOWtests/assets/reading-list/react-dom_15.7.0.js1139function stopWatchingForValueChange() {
LOWtests/assets/reading-list/react-dom_15.7.0.js1162function handleEventsForInputEventPolyfill(topLevelType, target, targetInst) {
LOWtests/assets/reading-list/react-dom_15.7.0.js1185function getTargetInstForInputEventPolyfill(topLevelType, targetInst, nativeEvent) {
LOWtests/assets/reading-list/react-dom_15.7.0.js2995function executeDispatchesInOrderStopAtTrueImpl(event) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3022function executeDispatchesInOrderStopAtTrue(event) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3135function accumulateDirectionalDispatches(inst, phase, event) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3153function accumulateTwoPhaseDispatchesSingle(event) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3162function accumulateTwoPhaseDispatchesSingleSkipTarget(event) {
LOWtests/assets/reading-list/react-dom_15.7.0.js3679function getDeclarationErrorAddendum(owner) {
LOWtests/assets/reading-list/react-dom_15.7.0.js5477function getDeclarationErrorAddendum(internalInstance) {
LOWtests/assets/reading-list/react-dom_15.7.0.js5516function checkAndWarnForMutatedStyle(style1, style2, component) {
LOWtests/assets/reading-list/react-dom_15.7.0.js6478function getRenderedHostOrTextFromComponent(component) {
LOWtests/assets/reading-list/react-dom_15.7.0.js6551function getClosestInstanceFromNode(node) {
LOWtests/assets/reading-list/react-dom_15.7.0.js7330function updateOptionsIfPendingUpdateAndMounted() {
LOWtests/assets/reading-list/react-dom_15.7.0.js7343function getDeclarationErrorAddendum(owner) {
LOWtests/assets/reading-list/react-dom_15.7.0.js8460function pauseCurrentLifeCycleTimer() {
LOWtests/assets/reading-list/react-dom_15.7.0.js8474function resumeCurrentLifeCycleTimer() {
LOWtests/assets/reading-list/react-dom_15.7.0.js8701function ReactDefaultBatchingStrategyTransaction() {
LOWtests/assets/reading-list/react-dom_15.7.0.js9011function TopLevelCallbackBookKeeping(topLevelType, nativeEvent) {
LOWtests/assets/reading-list/react-dom_15.7.0.js9610function getReactRootElementInContainer(container) {
LOWtests/assets/reading-list/react-dom_15.7.0.js9664function batchedMountComponentIntoNode(componentInstance, container, shouldReuseMarkup, context) {
LOWtests/assets/reading-list/react-dom_15.7.0.js9726function nodeIsRenderedByOtherInstance(container) {
LOWtests/assets/reading-list/react-dom_15.7.0.js9753function getHostRootInstanceInContainer(container) {
LOWtests/assets/reading-list/react-dom_15.7.0.js9759function getTopLevelWrapperInContainer(container) {
LOWtests/assets/reading-list/react-dom_15.7.0.js11100function getMeasurementsSummaryMap(measurements) {
LOWtests/assets/reading-list/react-dom_15.7.0.js11300function ReactReconcileTransaction(useCreateElement) {
LOWtests/assets/reading-list/react-dom_15.7.0.js11657function ReactServerRenderingTransaction(renderToStaticMarkup) {
LOWtests/assets/reading-list/react-dom_15.7.0.js12030function createRendererWithWarning() {
LOWtests/assets/reading-list/react-dom_15.7.0.js12041function findAllInRenderedTreeInternal(inst, test) {
LOWtests/assets/reading-list/react-dom_15.7.0.js12450function getInternalInstanceReadyForUpdate(publicInstance, callerName) {
LOWtests/assets/reading-list/react-dom_15.7.0.js12707function ReactUpdatesFlushTransaction() {
LOWtests/assets/reading-list/react-dom_15.7.0.js13715function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {
723 more matches not shown…
Decorative Section Separators74 hits · 234 pts
SeverityFileLineSnippet
MEDIUMtests/playwright-test/reporter-attachment.spec.ts35 expect(text).toContain(' attachment #1: attachment (text/plain) ───────────────────────────────────────────────────
MEDIUMtests/playwright-test/reporter-attachment.spec.ts56 expect(text).toContain(' attachment #1: screenshot (image/png) ────────────────────────────────────────────────────
MEDIUMtests/playwright-test/reporter-attachment.spec.ts77 expect(text).toContain(' attachment #1: trace (application/zip) ───────────────────────────────────────────────────
MEDIUMtests/playwright-test/reporter-attachment.spec.ts175 expect(result.output).toMatch(/^.*attachment #1: name \(text\/plain\).*\n.*\n.*──────/gm);
MEDIUMtests/playwright-test/reporter-attachment.spec.ts190 expect(result.output).toMatch(/^.*attachment #1: Full name \(text\/plain\).*\n.*──────/gm);
MEDIUMtests/playwright-test/reporter-attachment.spec.ts205 expect(result.output).toMatch(/^.*attachment #1: name \(text\/plain\).*\n.*\n.*──────/gm);
MEDIUMtests/playwright-test/reporter-attachment.spec.ts318 expect(text).toContain(' attachment #1: attachment (text/plain) ───────────────────────────────────────────────────
MEDIUMtests/webview/expectations/webkit-webview-page.txt118# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt122# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt126# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt131# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt135# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt140# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt143# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt147# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt150# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt155# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt161# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt165# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt168# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt173# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt178# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt186# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt194# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt200# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt472# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt477# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt481# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt486# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt491# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt496# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt523# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt527# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt534# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt538# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt9# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt15# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt73# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt77# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt213# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt218# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt375# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt379# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt568# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt575# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt687# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt693# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt710# ============================================================================
MEDIUMtests/webview/expectations/webkit-webview-page.txt715# ============================================================================
MEDIUMtests/library/inspector/cli-codegen-1.spec.ts851 # ---------------------
MEDIUMtests/library/inspector/cli-codegen-1.spec.ts858 # ---------------------
MEDIUMtests/library/inspector/cli-codegen-1.spec.ts912 # ---------------------
MEDIUMtests/library/inspector/cli-codegen-1.spec.ts920 # ---------------------
MEDIUMtests/library/inspector/cli-codegen-python.spec.ts88 # ---------------------
MEDIUMtests/library/inspector/cli-codegen-python.spec.ts113 # ---------------------
MEDIUM…sts/library/inspector/cli-codegen-python-async.spec.ts93 # ---------------------
MEDIUM…sts/library/inspector/cli-codegen-python-async.spec.ts123 # ---------------------
MEDIUMpackages/playwright-core/src/tools/mcp/browserModel.ts79 // ─── Extension → model inputs ─────────────────────────────────────────
MEDIUMpackages/playwright-core/src/tools/mcp/browserModel.ts120 // ─── Playwright → model commands ──────────────────────────────────────
MEDIUMpackages/playwright-core/src/tools/mcp/browserModel.ts189 // ─── Internals ────────────────────────────────────────────────────────
14 more matches not shown…
Hallucination Indicators16 hits · 160 pts
SeverityFileLineSnippet
CRITICALpackages/playwright-core/src/server/dom.ts90 const sdkLanguage = this.frame._page.browserContext._browser.sdkLanguage();
CRITICALpackages/playwright-core/src/server/frameSelectors.ts142 const locator = asLocator(this.frame._page.browserContext._browser.sdkLanguage(), selector);
CRITICALpackages/playwright-core/src/server/network.ts395 const buffer = this._request._context.fetchRequest.fetchResponses.get(overrides.fetchResponseUid) || APIRequestC
CRITICALpackages/playwright-core/src/server/videoRecorder.ts49 const ffmpegPath = registry.findExecutable('ffmpeg')!.executablePathOrDie(this._screencast.page.browserContext._brow
CRITICALpackages/playwright-core/src/client/browser.ts119 this._browserType._playwright.selectors._contextsForSelectors.add(context);
CRITICALpackages/isomorphic/cssTokenizer.ts696 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);
CRITICALpackages/isomorphic/cssTokenizer.ts716 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);
CRITICALpackages/isomorphic/cssTokenizer.ts775 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);
CRITICALpackages/isomorphic/cssTokenizer.ts850 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);
CRITICALpackages/isomorphic/cssTokenizer.ts873 const json = this.constructor.prototype.constructor.prototype.toJSON.call(this);
CRITICALpackages/injected/src/recorder/recorder.ts290 timeout: this._recorder.injectedScript.utils.builtins.setTimeout(() => this._commitPendingClickAction(), 200)
CRITICALpackages/injected/src/recorder/recorder.ts329 this._recorder.injectedScript.utils.builtins.clearTimeout(this._pendingClickAction.timeout);
CRITICALpackages/injected/src/recorder/recorder.ts1302 this._recorder.injectedScript.utils.builtins.setTimeout(() => element.classList.remove('succeeded'), 2000);
CRITICALpackages/injected/src/recorder/pollingRecorder.ts57 this._recorder.injectedScript.utils.builtins.clearTimeout(this._pollRecorderModeTimer);
CRITICALpackages/injected/src/recorder/pollingRecorder.ts60 this._pollRecorderModeTimer = this._recorder.injectedScript.utils.builtins.setTimeout(() => this._pollRecorderMode
CRITICALpackages/injected/src/recorder/pollingRecorder.ts76 this._pollRecorderModeTimer = this._recorder.injectedScript.utils.builtins.setTimeout(() => this._pollRecorderMode()
Over-Commented Block144 hits · 117 pts
SeverityFileLineSnippet
LOWbrowser_patches/firefox/juggler/TargetRegistry.js341
LOWbrowser_patches/firefox/juggler/NetworkObserver.js121 this.navigationId = redirectedFrom.navigationId;
LOW…patches/firefox/juggler/pipe/nsRemoteDebuggingPipe.cpp1/* This Source Code Form is subject to the terms of the Mozilla Public
LOW…hes/firefox/juggler/screencast/nsScreencastService.cpp1/* This Source Code Form is subject to the terms of the Mozilla Public
LOWbrowser_patches/firefox/preferences/playwright.cfg181// Dislabe newtabpage
LOWbrowser_patches/webkit/embedder/Playwright/win/stdafx.h21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
LOWbrowser_patches/webkit/embedder/Playwright/win/stdafx.h41#define __STDC_LIMIT_MACROS
LOWbrowser_patches/webkit/embedder/Playwright/win/stdafx.h61
LOW…webkit/embedder/Playwright/win/WebKitBrowserWindow.cpp21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
LOW…ser_patches/webkit/embedder/Playwright/win/WinMain.cpp21 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
LOW…wser_patches/webkit/embedder/Playwright/win/resource.h1//{{NO_DEPENDENCIES}}
LOW…wser_patches/webkit/embedder/Playwright/win/resource.h21#define _APS_NEXT_COMMAND_VALUE 32771
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h1//{{NO_DEPENDENCIES}}
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h21#define IDM_HISTORY_LINK2 152
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h41#define IDC_CHECK1 1003
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h61#define IDC_TOTAL_LIVE_COUNT 1025
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h81#define IDC_Message 1044
LOW…webkit/embedder/Playwright/win/PlaywrightLibResource.h101#define IDM_RELOAD 32779
LOW…es/webkit/embedder/Playwright/win/PlaywrightResource.h1//{{NO_DEPENDENCIES}}
LOW…bkit/embedder/Playwright/mac/BrowserWindowController.m21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
LOW…r_patches/webkit/embedder/Playwright/mac/AppDelegate.m21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
LOWtests/webview/expectations/webkit-webview-page.txt1# WebView (iOS Simulator) expected failures.
LOWtests/webview/expectations/webkit-webview-page.txt121# script path needs to be extended with a binding bridge over Runtime.evaluate.
LOWtests/webview/expectations/webkit-webview-page.txt141page/page-click-scroll.spec.ts › should scroll into view element in iframe [fail]
LOWtests/webview/expectations/webkit-webview-page.txt161# ============================================================================
LOWtests/webview/expectations/webkit-webview-page.txt181# navigation triggers a process swap and the provisional target arrives
LOWtests/webview/expectations/webkit-webview-page.txt481# ============================================================================
LOWtests/library/events/subclass.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/remove-all-listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/add-listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/check-listener-leaks.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/remove-listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/method-names.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/special-event-names.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/listeners-side-effects.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/num-args.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/max-listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/symbols.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/once.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/utils.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/prepend.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/listener-count.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/listeners.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/events-list.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/library/events/modify-in-emit.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOW…/library/events/set-max-listeners-side-effects.spec.ts1// Copyright Joyent, Inc. and other Node contributors.
LOWtests/assets/offscreenbuttons.html21 right: 0;
LOWtests/assets/prefetch.js1// Scripts will be pre-fetched
LOWtests/assets/webfont/generate_font.py1#!/usr/bin/env python3
LOWtests/assets/reading-list/react-dom_15.7.0.js1161
LOWtests/assets/reading-list/react-dom_15.7.0.js1181 }
LOWtests/assets/reading-list/react-dom_15.7.0.js12761
LOWtests/assets/reading-list/react-dom_15.7.0.js12921// We use attributes for everything SVG so let's avoid some duplication and run
LOWtests/assets/reading-list/react-dom_15.7.0.js16621var _assign = _dereq_(160);
LOWtests/assets/reading-list/react_18.1.0.js461 }
LOWtests/assets/reading-list/react_18.1.0.js1881 for (; s >= 1 && c >= 0; s--, c--) {
LOWtests/assets/reading-list/vue_2.6.14.js1921 var copies = callbacks.slice(0);
LOWtests/assets/reading-list/vue_2.6.14.js1941 // The nextTick behavior leverages the microtask queue, which can be accessed
LOWtests/assets/reading-list/vue_2.6.14.js2341 }
LOWtests/assets/reading-list/react-dom_17.0.2.js3861 this.onError(error);
84 more matches not shown…
Fake / Example Data80 hits · 90 pts
SeverityFileLineSnippet
LOWtests/page/elementhandle-click.spec.ts45 <div id='inner' style="max-width: 50px">Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer cura
LOWtests/page/elementhandle-click.spec.ts45 <div id='inner' style="max-width: 50px">Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer cura
LOWtests/playwright-test/reporter-html.spec.ts1918 test('@finally @oddly @questioningly @sleepily @warmly @healthily @smoke @flaky this is a very long test tit
LOWtests/playwright-test/reporter-html.spec.ts1918 test('@finally @oddly @questioningly @sleepily @warmly @healthily @smoke @flaky this is a very long test tit
LOWtests/library/browsercontext-add-cookies.spec.ts35 value: 'John Doe',
LOWtests/library/defaultbrowsercontext-1.spec.ts38 value: 'John Doe',
LOWtests/library/defaultbrowsercontext-1.spec.ts54 value: 'John Doe',
LOWtests/library/defaultbrowsercontext-1.spec.ts60 value: 'John Doe',
LOWtests/library/browsercontext-cookies.spec.ts33 value: 'John Doe',
LOWtests/library/browsercontext-cookies.spec.ts57 value: 'John Doe',
LOWtests/library/browsercontext-cookies.spec.ts85 value: 'John Doe',
LOWtests/library/browsercontext-cookies.spec.ts99 value: 'John Doe',
LOWtests/library/browsercontext-cookies.spec.ts166 value: 'John Doe',
LOWtests/library/browsercontext-pages.spec.ts147 await page.setContent('<div id="container">lorem ipsum dolor sit amet</div>');
LOWtests/library/browsercontext-pages.spec.ts147 await page.setContent('<div id="container">lorem ipsum dolor sit amet</div>');
LOW…sts/library/browsercontext-cookies-third-party.spec.ts584 'value': 'John Doe'
LOWtests/library/headful.spec.ts152 'value': 'John Doe'
LOWtests/library/headful.spec.ts310 Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tincidunt
LOWtests/library/headful.spec.ts310 Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tincidunt
LOWtests/library/browsercontext-fetch.spec.ts107 value: 'John Doe',
LOWtests/library/browsercontext-fetch.spec.ts237 value: 'John Doe',
LOWtests/library/browsercontext-fetch.spec.ts262 value: 'John Doe',
LOWtests/library/browsercontext-device.spec.ts68 Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tinci
LOWtests/library/browsercontext-device.spec.ts68 Lorem ipsum dolor sit amet consectetur adipiscing elit proin, integer curabitur imperdiet rhoncus cursus tinci
LOWtests/library/global-fetch-cookie.spec.ts382 value: { id: 'foo', name: 'John Doe' }
LOWtests/library/inspector/cli-codegen-1.spec.ts425 page.fill('div', 'John Doe')
LOWtests/library/inspector/cli-codegen-1.spec.ts428 await page.locator('#content').fill('John Doe');`);
LOWtests/library/inspector/cli-codegen-1.spec.ts429 expect(message.text()).toBe('John Doe');
LOWtests/mcp/form.spec.ts67 value: 'John Doe'
LOWtests/mcp/form.spec.ts96 code: `await page.getByRole('textbox', { name: 'Name' }).fill('John Doe');
LOWtests/mcp/network.spec.ts28 server.setContent('/json', JSON.stringify({ name: 'John Doe' }), 'application/json');
LOWtests/mcp/network.spec.ts147 res.end(JSON.stringify({ name: 'John Doe' }));
LOWtests/mcp/network.spec.ts217 res.end(JSON.stringify({ name: 'John Doe' }));
LOWtests/mcp/network.spec.ts260 expect(responseBody!.result).toBe('{"name":"John Doe"}');
LOWtests/mcp/cli-json.spec.ts199 res.end(JSON.stringify({ name: 'John Doe' }));
LOWtests/mcp/cli-json.spec.ts210 expect(JSON.parse((await cli('--json', 'response-body', num)).output)).toEqual({ result: '{"name":"John Doe"}' });
LOWtests/mcp/verify.spec.ts336 <input type="text" aria-label="Name" value="John Doe" />
LOWtests/mcp/verify.spec.ts352 value: 'John Doe',
LOWtests/mcp/verify.spec.ts356 code: expect.stringContaining(`await expect(page.getByRole('textbox', { name: 'Name' })).toHaveValue('John Doe');`),
LOWtests/mcp/verify.spec.ts377 <input type="text" name="name" value="John Doe" />
LOWtests/mcp/verify.spec.ts396 error: 'Expected value "Jane Smith", but got "John Doe"',
LOWtests/mcp/secrets.spec.ts107 value: 'John Doe'
LOWtests/mcp/secrets.spec.ts118 code: `await page.getByRole('textbox', { name: 'Email' }).fill('John Doe');
LOWtests/mcp/cli-devtools.spec.ts91 res.end(JSON.stringify({ name: 'John Doe' }));
LOWtests/mcp/cli-devtools.spec.ts122 res.end(JSON.stringify({ name: 'John Doe' }));
LOWtests/mcp/cli-devtools.spec.ts135 expect((await cli('response-body', num)).output).toContain('{"name":"John Doe"}');
LOWtests/mcp/cli-devtools.spec.ts145 res.end(JSON.stringify({ name: 'John Doe' }));
LOWtests/mcp/cli-devtools.spec.ts170 expect(read('res-b.json')).toBe('{"name":"John Doe"}');
LOWtests/mcp/cli-devtools.spec.ts177 server.setContent('/api', JSON.stringify({ name: 'John Doe' }), 'application/json');
LOWtests/mcp/cli-devtools.spec.ts186 expect(output.trim()).toBe('{"name":"John Doe"}');
LOWtests/components/ct-react-vite/tests/route.spec.tsx39 return HttpResponse.json({ name: 'John Doe' });
LOWtests/components/ct-react-vite/tests/route.spec.tsx51 await expect(component.getByTestId('name')).toHaveText('John Doe');
LOWtests/components/ct-react-vite/tests/route.spec.tsx67 return HttpResponse.json({ name: 'John Doe' });
LOWtests/components/ct-react-vite/tests/route.spec.tsx72 await expect(component.getByTestId('name')).toHaveText('John Doe');
LOWtests/electron/package.json6 "author": "Jane Doe",
LOWtests/assets/evals/fill-form.html143 <input type="text" id="address" name="address" placeholder="123 Main Street" required>
LOWtests/assets/modernizr/modernizr.js2 See http://github.com/Modernizr/Modernizr/issues/1182 for more information.`),window.yepnope.apply(window,[].slice.call
LOWdocs/src/api/class-apirequestcontext.md226 author: 'John Doe',
LOWdocs/src/api/class-apirequestcontext.md234data.put("body", "John Doe");
LOWdocs/src/api/class-apirequestcontext.md241 "body": "John Doe",
20 more matches not shown…
Cross-File Repetition17 hits · 85 pts
SeverityFileLineSnippet
HIGHdocs/src/aria-snapshots.md0- banner: - heading /playwright enables reliable end-to-end/ [level=1] - link "get started": - /url: /docs/intro - link
HIGHdocs/src/aria-snapshots.md0- banner: - heading /playwright enables reliable end-to-end/ [level=1] - link "get started": - /url: /docs/intro - link
HIGHdocs/src/aria-snapshots.md0- banner: - heading /playwright enables reliable end-to-end/ [level=1] - link "get started": - /url: /docs/intro - link
HIGHdocs/src/api/class-locatorassertions.md0- heading "todos" - textbox "what needs to be done?"
HIGHdocs/src/api/class-locatorassertions.md0- heading "todos" - textbox "what needs to be done?"
HIGHdocs/src/api/class-locatorassertions.md0- heading "todos" - textbox "what needs to be done?"
HIGHdocs/src/api/class-pageassertions.md0- heading "todos" - textbox "what needs to be done?"
HIGHdocs/src/api/class-pageassertions.md0- heading "todos" - textbox "what needs to be done?"
HIGHdocs/src/api/class-pageassertions.md0- heading "todos" - textbox "what needs to be done?"
HIGHdocs/src/api/class-browsercontext.md0<script> async function onclick() { document.queryselector('div').textcontent = await window.pageurl(); } </script> <but
HIGHdocs/src/api/class-browsercontext.md0<script> async function onclick() { document.queryselector('div').textcontent = await window.pageurl(); } </script> <but
HIGHdocs/src/api/class-page.md0<script> async function onclick() { document.queryselector('div').textcontent = await window.pageurl(); } </script> <but
HIGHdocs/src/api/class-page.md0<script> async function onclick() { document.queryselector('div').textcontent = await window.pageurl(); } </script> <but
HIGHdocs/src/api/class-browsercontext.md0<script> async function onclick() { document.queryselector('div').textcontent = await window.sha256('playwright'); } </s
HIGHdocs/src/api/class-browsercontext.md0<script> async function onclick() { document.queryselector('div').textcontent = await window.sha256('playwright'); } </s
HIGHdocs/src/api/class-page.md0<script> async function onclick() { document.queryselector('div').textcontent = await window.sha256('playwright'); } </s
HIGHdocs/src/api/class-page.md0<script> async function onclick() { document.queryselector('div').textcontent = await window.sha256('playwright'); } </s
AI Slop Vocabulary12 hits · 31 pts
SeverityFileLineSnippet
MEDIUMtests/assets/reading-list/react-dom_15.7.0.js12729 // Essentially calls `this.reconcileTransaction.perform(method, scope, a)`
MEDIUMtests/assets/reading-list/react-dom_15.7.0.js16330 // children. Definitely want to avoid this.
LOWtests/assets/reading-list/vue_3.1.5.js6033 // #1689 For inside suspense + suspense resolved case, just call it
MEDIUMtests/assets/modernizr/modernizr.js2 See http://github.com/Modernizr/Modernizr/issues/1182 for more information.`),window.yepnope.apply(window,[].slice.call
MEDIUMtests/assets/modernizr/modernizr.js2 See http://github.com/Modernizr/Modernizr/issues/1182 for more information.`),window.yepnope.apply(window,[].slice.call
MEDIUMtests/assets/modernizr/modernizr.js6 * Build https://modernizr.com/download?-adownload-ambientlight-aping-apng-appearance-applicationcache-areaping-arrow-as
MEDIUMtests/assets/modernizr/modernizr.js2544 "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-iframe-seamless"
MEDIUMtests/assets/modernizr/modernizr.js2544 "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#attr-iframe-seamless"
MEDIUMtests/assets/react/material-ui@5.2.2.production.min.js6!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react"),require("react-dom")):"fu
MEDIUMtests/assets/stress/static/js/main.cc4a7955.js2!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
MEDIUMtests/assets/stress/static/js/main.cc4a7955.js2!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
MEDIUMpackages/playwright/src/runner/taskRunner.ts113 // because of the same deadline. Essentially, we're not performing any cleanup.
Verbosity Indicators12 hits · 20 pts
SeverityFileLineSnippet
LOWtests/assets/reading-list/react_15.7.0.js859 // We need to check if it exists.
LOW…rowser-dependencies/inside_docker/list_dependencies.js98 // Step 1: pick libraries that are easy to pick.
LOW…rowser-dependencies/inside_docker/list_dependencies.js195 // Step 1: try to filter out debug, test and dev packages.
LOW…rowser-dependencies/inside_docker/list_dependencies.js199 // Step 2: use library name to filter packages with the same name.
LOW…todomvc/tests/todo-creation/prevent-empty-todo.spec.ts8 // Step 1: Navigate to the TodoMVC application
LOW…todomvc/tests/todo-creation/prevent-empty-todo.spec.ts12 // Step 2: Click into the input field without typing anything and press Enter
LOW…omvc/tests/adding-todos/should-add-single-todo.spec.ts7 // Step 1: Navigate to the TodoMVC application
LOW…omvc/tests/adding-todos/should-add-single-todo.spec.ts11 // Step 2: Type 'Buy groceries' into the input field
LOW…omvc/tests/adding-todos/should-add-single-todo.spec.ts16 // Step 3: Press Enter to submit the todo
LOWpackages/playwright-core/src/server/frames.ts1473 // Step 1: perform locator handlers checkpoint with a specified timeout.
LOWpackages/playwright-core/src/server/frames.ts1479 // Step 2: perform one-shot expect check without a timeout.
LOWpackages/playwright-core/src/server/frames.ts1492 // Step 3: auto-retry expect with increasing timeouts. Bounded by the total remaining time.
Cross-Language Confusion (JS/TS)4 hits · 20 pts
SeverityFileLineSnippet
HIGHtests/playwright-test/reporter-list.spec.ts675 print(text[index++]);
HIGHtests/playwright-test/reporter-list.spec.ts697 print(text[index++]);
HIGHpackages/playwright/src/plugins/gitCommitInfoPlugin.ts41 print(s, ...args);
HIGHpackages/playwright/src/plugins/gitCommitInfoPlugin.ts190 print(`timeout of ${GIT_OPERATIONS_TIMEOUT_MS}ms exceeded while running "git ${args.join(' ')}"`);
Slop Phrases7 hits · 10 pts
SeverityFileLineSnippet
LOWtests/assets/reading-list/vue_3.1.5.js7506 // #2078 make sure to merge refs during the clone instead of overwriting it
LOW…ges/playwright-core/bin/reinstall_msedge_beta_linux.sh24# 1. make sure to remove old beta if any.
LOW…ges/playwright-core/bin/reinstall_chrome_beta_linux.sh23# 1. make sure to remove old beta if any.
LOW…s/playwright-core/bin/reinstall_msedge_stable_linux.sh24# 1. make sure to remove old stable if any.
LOW…ages/playwright-core/bin/reinstall_msedge_dev_linux.sh24# 1. make sure to remove old dev if any.
LOW…s/playwright-core/bin/reinstall_chrome_stable_linux.sh23# 1. make sure to remove old stable if any.
LOWpackages/playwright/src/worker/fixtureRunner.ts96 // Don't forget to decrement all usages when fixture goes.
Overly Generic Function Names3 hits · 2 pts
SeverityFileLineSnippet
LOWtests/assets/reading-list/vue_2.6.14.js4754 function getData (data, vm) {
LOWtests/assets/reading-list/react-dom_17.0.2.js6086 function getData() {
LOWtests/assets/reading-list/react-dom_16.14.0.js8409 function getData() {
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippet
LOWutils/doclint/linting-code-snippets/python/main.py8 except Exception as e: