playwright/packages/playwright-core
Dmitry Gozman 773202867d
feat(trace): highlight strict mode violation elements in the snapshot (#32893)
This is fixing a case where the test failed with strict mode violation,
but all the matched elements are not highlighted in the trace.

For example, all the buttons will be highlighted when the following line
fails due to strict mode violation:
```ts
await page.locator('button').click();
```

To achieve this, we mark elements during `querySelector` phase instead
of inside `onBeforeInputAction`. This allows us to only mark from inside
the `InjectedScript` and remove the other way of marking from inside the
`Snapshotter`.
2024-10-02 00:00:45 -07:00
..
bin chore: generate self-signed certificates for socks proxy (#32192) 2024-08-16 20:21:05 +02:00
bundles chore: load env from playwright.env when running codegen (#32280) 2024-08-23 10:19:36 -07:00
src feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
types feat(routeWebSocket): address api review feedback (#32850) 2024-09-27 04:01:31 -07:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
.npmignore fix(client-certificates): include socks-certs in npm package (#31872) 2024-07-26 11:04:38 +02:00
browsers.json feat(chromium): roll to r1139 (#32906) 2024-10-01 18:18:45 +02:00
cli.js chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: refactored minimum Node Major version to variable (#24188) 2023-07-18 19:57:48 +02:00
index.mjs fix: export request from index.jsm (#13158) 2022-03-30 09:35:47 -07:00
package.json chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
README.md chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00
ThirdPartyNotices.txt chore: load env from playwright.env when running codegen (#32280) 2024-08-23 10:19:36 -07:00

playwright-core

This package contains the no-browser flavor of Playwright.