You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doesn't clean recorded actions. Besides, if recording is enabled again, it keeps the same actions but cleans them as soon as we record a new one.
Additional context
RecorderCollection.restart() clears its internal actions but only fires a change event if enabled, and when recorder is not recording, it is disabled, and that causes Recorder not to be notified of those changes. Those events are only sent when another action is recorded.
Version
1.49.0
Steps to reproduce
npx playwright codegen
Expected behavior
Should clear recorded actions
Actual behavior
Doesn't clean recorded actions. Besides, if recording is enabled again, it keeps the same actions but cleans them as soon as we record a new one.
Additional context
RecorderCollection.restart()
clears its internal actions but only fires achange
event if enabled, and when recorder is not recording, it is disabled, and that causes Recorder not to be notified of those changes. Those events are only sent when another action is recorded.Environment
The text was updated successfully, but these errors were encountered: