/*** Returns when the dialog has been accepted.** <example>:dialogAccept.jsawait 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.*/// actual implementation is located in packages/webdriverio/src/dialog.ts