Skip to main content

appendField

API

interface I {
appendField(text: string, options: { locator: string }): Promise<void>
}

Example

import { test } from '@pw-codeceptjs/test'

test('Example', async ({ I }) => {
await I.amOnPage('https://playwright.dev')
await I.click('.DocSearch-Button')

await I.appendField('api', { locator: '.DocSearch-Input' })
})