public CwbCookieVisitor(CwbCookieStyle style,CwbDocument document)
 {
     _style = style;
     _document = document;
 }
 internal void OnDocumentCompleted()
 {
     AppendAllElementEventListener();
     var handler = BrowserDocumentCompleted;
     if (handler != null)
     {
         handler(this, EventArgs.Empty);
     }
     _document = new CwbDocument(this.browser);
     _document.Load();
 }