Const
Test object providing the nativeDialogs fixture.
nativeDialogs
Not auto: true. An auto fixture would attach dialogclosed to every test whether or not it cares, and while that is behaviour-neutral it is still work and noise a test never asked for. Depend on nativeDialogs to get it.
auto: true
dialogclosed
import { nativeDialogTest } from 'playwright-praman';nativeDialogTest('sees the confirm', async ({ nativeDialogs }) => { // ...}); Copy
import { nativeDialogTest } from 'playwright-praman';nativeDialogTest('sees the confirm', async ({ nativeDialogs }) => { // ...});
Test object providing the
nativeDialogsfixture.