/** * Returns when the dialog has been accepted. * * :dialogAccept.js await dialog.accept(); await dialog.accept(promptText); * * * @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