playwright/packages/playwright-core/src/protocol
Dmitry Gozman 6491e5b415
chore: deprecate/remove noWaitAfter from some actions (#31739)
The following actions keep `noWaitAfter` option: `click`, `selectOption`
and `press`.

All other actions that used to have `noWaitAfter` now behave like it was
set to true, not waiting for follow-up navigations. In the docs, this
option is marked as completely ignored.

A small logic change was made to compensate for this behavior: when
waiting for the `hitTargetInterceptor`, we now race it against
navigations to avoid stalling when navigation stalls. Previously,
waiting for the interceptor was disabled when `noWaitAfter` was passed,
and since it's impossible to pass this option now, we mitigate by never
stalling instead.

Fixes #31469.
2024-07-18 00:19:08 -07:00
..
debug.ts feat: introduce touchscreen.touch() for dispatching raw touch events (#31457) 2024-06-27 14:37:36 -07:00
DEPS.list chore: use utils via index export (4) (#13404) 2022-04-07 14:36:13 -07:00
serializers.ts chore: allow evaluating Error objects (#31691) 2024-07-15 05:47:40 -07:00
transport.ts chore: ignore SIGINT inside driver process (#23028) 2023-05-17 01:44:17 +02:00
validator.ts chore: deprecate/remove noWaitAfter from some actions (#31739) 2024-07-18 00:19:08 -07:00
validatorPrimitives.ts chore: do not serialize buffers into base64 in local mode (#15316) 2022-07-05 08:58:34 -07:00