code: func (remote *RemoteDebugger) HandleJavaScriptDialog(accept bool, promptText string) error {
  	_, err := remote.SendRequest("Page.handleJavaScriptDialog", Params{
  		"accept":     accept,
  		"promptText": promptText,
  	})
  
  	return err
  }
docs: // HandleJavaScriptDialog accepts or dismisses a Javascript initiated dialog.