Class CdpDialog
- Namespace
 - PuppeteerSharp.Cdp
 
- Assembly
 - PuppeteerSharp.dll
 
Dialog objects are dispatched by page via the 'dialog' event.
public class CdpDialog : Dialog
  - Inheritance
 - 
      
      
      CdpDialog
 
Examples
An example of using Dialog class:
Page.Dialog += async (sender, e) =>
{
    await e.Dialog.Accept();
}
await Page.EvaluateExpressionAsync("alert('yo');");
  Constructors
CdpDialog(CDPSession, DialogType, string, string)
Initializes a new instance of the CdpDialog class.
public CdpDialog(CDPSession client, DialogType type, string message, string defaultValue)
  Parameters
clientCDPSessionClient.
typeDialogTypeType.
messagestringMessage.
defaultValuestringDefault value.