Skip to main content

seeAttribute

API

interface I {
seeAttribute(attribute: string, value: null|string, locator: string): Promise<void>
}

Example

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

test('Example', async ({ I }) => {
await I.amOnPage('https://playwright.dev')
await I.seeAttribute('href', '/docs/intro', '.getStarted_Sjon')
})