playwright/packages/protocol/src
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
..
callMetadata.ts fix: match client step and server action by explicit stepId (#30641) 2024-05-14 12:10:46 -07:00
channels.ts chore: deprecate/remove noWaitAfter from some actions (#31739) 2024-07-18 00:19:08 -07:00
DEPS.list chore: run check-deps for all packages (#21395) 2023-03-03 14:50:43 -08:00
protocol.yml chore: deprecate/remove noWaitAfter from some actions (#31739) 2024-07-18 00:19:08 -07:00