Fill an input, textarea or contenteditable element with the provided value.
page .goto('https://test.k6.io/browser.php') .then(() => { const textbox = page.locator("#text1"); textbox.fill('hello world!'); });