mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

This enables filling the input based on the connected label: ```html <label for=target>Name</label><input id=target> ``` ```js await page.fill('text=Name', 'Alice'); ```