Taiko
Documentation

Home / API Reference

accept

Accept action to perform on dialogs

Examples

prompt('Message', async () => await accept('Something'))
prompt('Message', async () => await accept())

Parameters


text string

Expected text of the dialog (optional)


Returns