I know that there is a record and playback option, but as to the quality of those tests I’m note sure since I haven’t tried it yet, but I assume it would be similar to Selenium IDE where it can generate the code for your recorded actions, such code would usually need some tweaking, but it can be a good starting point and a potential time saver: Test generator | Playwright.
It can be good to use to have some prewritten code.
You can consider it like a template.
From there you need to understand, delete, and refactor.
But for most applications, it isn’t as useful as they are generated.
One thing I found useful sometimes was the locator generator. I now use the VSCode extension for that, to ease the search of some locators.