I don't know if the documentation has changed since, but the trick here is that you need to start the test first. In your test runner, tick "Show browser", then start the test you want to extend. Once that test completes, the browser window will stay open. Put your cursor where you want it and then start recording from cursor.
See here: https://playwright.dev/docs/codegen#record-at-cursor