Skip to main content
Module

x/puppeteer/mod.ts>Dialog#accept

A port of puppeteer running on Deno
Latest
method Dialog.prototype.accept
Re-export
import { Dialog } from "https://deno.land/x/puppeteer@16.2.0/mod.ts";

Parameters

optional
promptText: string
  • optional text that will be entered in the dialog prompt. Has no effect if the dialog's type is not prompt.

Returns

Promise<void>

A promise that resolves when the dialog has been accepted.