chore: explore yield typed locator (#18188)
chore: explore yield typed locator (#18188)

Fixes https://github.com/microsoft/playwright/issues/18018
microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright,microsoft/playwright