Skip to main content

waitForNoText

API

interface I {
waitForNoText(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.waitForNoText('Puppeteer', { locator: '.navbar__inner .navbar__title' })
})