playwright/packages/playwright-core/src
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
..
cli chore: iterate towards recording into trace (4) (#32743) 2024-09-20 16:56:05 -07:00
client feat(routeWebSocket): address api review feedback (#32850) 2024-09-27 04:01:31 -07:00
common chore: move urlMatch to isomorphic (#32142) 2024-08-13 12:47:02 -07:00
image_tools Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
protocol feat(routeWebSocket): address api review feedback (#32850) 2024-09-27 04:01:31 -07:00
remote chore: extract ws server util (#29247) 2024-01-30 14:36:51 -08:00
server feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
third_party chore: organize fake timers (#31156) 2024-06-05 09:25:12 -07:00
utils chore: style action list in tv mode (#32845) 2024-09-27 17:52:03 -07:00
androidServerImpl.ts feat(api): add host option in launchServer options (#30999) 2024-05-27 11:24:23 +02:00
browserServerImpl.ts feat(api): add host option in launchServer options (#30999) 2024-05-27 11:24:23 +02:00
DEPS.list feat(android): add Android.{launchServer,connect} (#18263) 2022-10-24 17:23:11 -07:00
inprocess.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
inProcessFactory.ts chore: move urlMatch to isomorphic (#32142) 2024-08-13 12:47:02 -07:00
outofprocess.ts chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
utilsBundle.ts chore: load env from playwright.env when running codegen (#32280) 2024-08-23 10:19:36 -07:00
zipBundle.ts chore(har): allow replaying from zip har (#14962) 2022-06-17 16:11:22 -07:00