microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
65.48k stars 3.57k forks source link

[Feature] `MUCH BETTER` Record at Cursor #28571

Open daenamkim opened 9 months ago

daenamkim commented 9 months ago

Let us know what functionality you'd like to see in Playwright and what your use case is

Record at Cursor is amazing feature but I think it can be better. What I think is running all tests codes including fixtures just before the cursor then users will not need to run themselves to add more test in the middle of tests. I am sure that it will be more efficient and new experience for writing tests since if there are so many tests just before the cursor, users will not use that feature but just run the test repeatedly.

Screenshot 2023-12-11 at 12 36 46

Do you think others might benefit from this as well? Of course I do 😄

Please correct me if I misunderstood or have more better idea!

daenamkim commented 9 months ago

I have found an alternative way to do that:

but it needs switching windows and menus many times so single click would be great!

tomaskikutis commented 7 months ago

Thanks for posting the alternative @daenamkim. I've opened https://github.com/microsoft/playwright/pull/28970 to improve documentation.

vkWeb commented 4 months ago

+1 for this.

trigunam commented 1 month ago
  • start record at cursor from the opening browser

This works like a charm! Thanks for the suggestion @daenamkim. Just the thing I needed right now.