playwright/packages/playwright-core/src/server/webkit
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
..
protocol.d.ts feat(webkit): roll to r2065 (#32322) 2024-08-26 10:25:59 +02:00
webkit.ts chore: introduce option overrides on context/browser (#32606) 2024-09-13 17:34:34 +02:00
wkAccessibility.ts feat(webkit): roll to r1915 (#27443) 2023-10-05 17:31:40 +00:00
wkBrowser.ts chore: introduce option overrides on context/browser (#32606) 2024-09-13 17:34:34 +02:00
wkConnection.ts chore(webkit): add listeners directly without eventsHelper (#32149) 2024-08-14 08:38:49 -07:00
wkExecutionContext.ts feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
wkInput.ts Revert "feat: introduce touchscreen.touch() for dispatching raw touch… (#31823) 2024-07-23 10:29:37 -07:00
wkInterceptableRequest.ts chore: remove unused request param from route.continue (#32307) 2024-08-28 08:24:44 -07:00
wkPage.ts chore: address api review for page.forceGarbageCollection (#32824) 2024-09-26 05:08:33 -07:00
wkProvisionalPage.ts fix(webkit): reenable CrossOriginOpenerPolicy (#31765) 2024-07-23 15:02:47 -07:00
wkWorkers.ts chore: push protocol error conversion to dispatcher (#27608) 2023-10-16 13:13:00 -07:00