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] Inspector Recorder Raw Mouse/Screenshot tools #5816

Closed
BryonLewis opened this issue Mar 13, 2021 · 6 comments
Closed

[Feature] Inspector Recorder Raw Mouse/Screenshot tools #5816

BryonLewis opened this issue Mar 13, 2021 · 6 comments

Comments

@BryonLewis
Copy link

BryonLewis commented Mar 13, 2021

Let us know what functionality you'd like to see in Playwright and what is your use case.
Really looking for some more tools in the inspector to streamline some of the recording/debug mode processes as well as support for canvas/webGL interactions. End goal is some sanity integration testing and during the process recording screenshots for documentation.

  • Raw mouse input mode (move mouse followed by mousedown/mouseup). This helpse immensely with canvas based elements
  • Screenshots from recorder (fullscreen | selector based | rect based)

I imagine this is somewhere in the backlog already and I tried searching but didn't find anything.

I hope this doesn't go against any policy, but a video (yay github update) describes it much better:

Playwright.mp4

I kind of did that quickly and probably not in the right way regarding passing data between the browser and the inspector.

Do you think others might benefit from this as well?
Ease of creating automated actions I think will always be a benefit.

@pavelfeldman
Copy link
Member

These look like great ideas. Would you be interested in giving it a try and landing it in our repo? That would require adding the tests as an overhead though.

@BryonLewis
Copy link
Author

Sorry I've just been a bit busy for the past few days. I can work on cleaning this up and providing tests. It may take me a little while, because I want to make sure the info passing between the Inspector Recorder and the page doesn't seem too hacky.

I'll probably split it into two parts, one for raw mouse input and another for the screenshot capability.

@pavelfeldman
Copy link
Member

Please file a new bug and link this one if you are still open to doing it! Closing all non-actionable bugs...

@letsgotomars
Copy link

Hey @BryonLewis our team is very interested in these features and agree they could be quite useful. Are you still planning on working these 2 Inspector improvements and if so do you have a timeframe or would like some assistance?

@mxschmitt
Copy link
Member

We track it now in #6737

@BryonLewis
Copy link
Author

Sorry, I've just been really busy with work so I haven't had time to work on this at all. I'm likely going to be very busy for the next few months.

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

4 participants