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

[feature] mouse cursor and click visualisation #11

Open
kwladyka opened this issue Nov 20, 2019 · 1 comment
Open

[feature] mouse cursor and click visualisation #11

kwladyka opened this issue Nov 20, 2019 · 1 comment

Comments

@kwladyka
Copy link

For the reason of using GIF recording to prepare demo of using library (#10) I would like to record mouse clicks and cursor moves on GIF to let user better see what happen on the screen.

I mean action click on the button is not obviously from GIF if you didn't write tests. It would be nice to see what happen.

@sriv
Copy link
Contributor

sriv commented Dec 13, 2019

Good suggestion. I was trying to see if this were possible.

Unfortunately, taiko-screencast uses chrome-devtools-protocol which does not send any details of the events that trigger changes.

Specifically, it uses Page.screencastFrame event from the protocol which does not send any data around mouse events or keypress.

I thought of trying to capture mouse/keyboard events separately, and overlay those by matching timestamp, but it turns out that they need not necessarily have any correlation.

If there are any ideas on how this can be done, we are all ears!

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

No branches or pull requests

2 participants