@testplane/webdriverio
Version:
Next-gen browser and mobile automation test framework for Node.js
14 lines (13 loc) • 331 B
TypeScript
export {};
/**
* Returns when the dialog has been accepted.
*
* <example>
:dialogAccept.js
await dialog.accept();
await dialog.accept(promptText);
* </example>
*
* @alias dialog.accept
* @param {string=} promptText A text to enter into prompt. Does not cause any effects if the dialog's type is not prompt.
*/