import type { UserEvent } from 'vitest/browser' import type { UserEventCommand } from './utils' export const fill: UserEventCommand = async ( context, selector, text, _options = {}, ) => { const browser = context.browser await browser.$(selector).setValue(text) }