Skip to content

Conversation

Yyunfan
Copy link

@Yyunfan Yyunfan commented Sep 2, 2025

When recording is stopped for the first time, mainFrame receives the recording:stop message, and destroyRecordEvents clears the operation event listener bound to the document. At this time, when recording is started for the second time on the current page, the document will be monitored again. However, due to the existence of the #automa-recording element, runtime.onMessage will not listen. As a result, when recording is stopped for the second time, the recording:stop message cannot be received as expected, and the destroyRecordEvents operation cannot be performed, resulting in the document not destroying the listener. At this time, when recording is started for the third time, click and other operations will cause repeated listening.

…e, need to listen to the corresponding runtime.onMessage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant