Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(codegen): do not commit last action on mouse move #6252

Merged
merged 1 commit into from
Apr 21, 2021

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Apr 20, 2021

On a slow page that does a lot of things before navigating upon click, it is common to move mouse away from the click point.

Previously, we would commit the click action and record a page.goto() for the navigation. Now we attribute any signals, even after accidental mouse move, to the previous action, in the 5-seconds time window.

Drive-by: emit change event upon script clear to immediately update the UI.

References #6168.

On a slow page that does a lot of things before navigating upon click,
it is common to move mouse away from the click point. Previously,
we would commit the click action and record a `page.goto()` for the
navigation. Now we attribute any signals, even after accidental mouse move,
to the previous action, in the 5-seconds time window.
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.

2 participants