Started learning Selenium Webdriver with Java for UI automation. Are there good Git repositories with projects that I can clone and look at for good coding practices used?

I am not keen on any kind of tool that allows non-coders to generate automated tests. I would always encourage learning to code, instead. Therefore, I have no experience of these tools. If the result that playwright provides is code, that feels like further encouragement to learn code.

The reasons for my view on this feel tied up a lot with the issue you describe in your second paragraph. If you dont understand what is going on (especially as playwright generates code), you will likely struggle. It also sounds like the recording functionality of playwright isnt the focus of the playwright team. Your issue might be a defect. You could search the issues on their github, perhaps. But I think a longer term strategy would be to learn how to code.

If you do know how to code, I would not expect you to rely on recorders and would be interested in your motivations for doing so.

I have been using java for about 15 years and C / C++ for many years before that.
I’m interested in playwright codegen because it seems like a good way to learn 1) the playwright java api,
and 2) playwright locators, which seem to be very different from those in selenium.

One good thing I noticed about playwright is immediately it installed all browser drivers, whereas selenium manager, which is supposed to do similar, has already failed to upgrade chrome drivers to v128.
Maybe you’d like to mention other advantages. I notice the locators it uses are more intuitive, but I haven’t checked how effective they are