C# Webbrowser/IE 状态栏多次显示 "Done",完成的真正含义是什么?

C# Webbrowser/IE statusbar says "Done" mant times, what does done really mean?

C# webbrowser 中的 StatusTextChanged 事件显示多次完成,准确地说是 31 次,我看到 几乎 与 [=21= 中 x 的总和一样多].

我怎么知道什么时候真正完成了?或者,如果这不可能,我怎么知道特定元素何时呈现。

网上还有其他类似的问题,但只有一半的 hackey 结果。

status 
status 
status 
status 
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Waiting for https://www.google.com/maps/search/restaurants%20in%20Mahé%20Seychelles...
status Done
status (7 item(s) remaining) Downloading picture https://www.google.com/images/branding/mapslogo/1x/googlelogo_62x24_with_2_stroke_color_66x26dp.png...
status Done
status (24 item(s) remaining) Downloading picture https://maps.gstatic.com/tactile/icons/pane-info-6fe7b51d16ef9c34e2c80167eb77e587.png...
status Done
status Done
status (3 item(s) remaining) Downloading picture https://maps.gstatic.com/tactile/runway/icon-add-photo-1x.png...
status Done
status Done
status (3 item(s) remaining) Downloading picture 
https://maps.gstatic.com/tactile/mylocation/mylocation-sprite-cookieless-v2-1x.png...
status Done
status Done
status Done
status Downloading picture https://maps.gstatic.com/tactile/pegman_v3/default/runway-1x.png...
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done
status Done

谢谢@Golda,

您链接的 exact 答案无效,因为加载不是异步的,如果您添加周期性暂停,网络浏览器将不会继续加载。 该线程上标记为答案的回复不是我要求的,但是结合这两个答案让我得到了我想要的东西, 每隔 n 秒检查是否呈现具有特定属性的特定标记的代码。

  private void button1_Click(object sender, EventArgs e)
        {
            Navigate n = new Navigate();
            n.Done += delegate
            {
                MessageBox.Show("");
            };
    //wb is the webbrowser, nav is the url
            n.Wait(wb, nav, 1);

        }

        public class Navigate
        {
            public delegate void NavigateDoneEvent();
            public event NavigateDoneEvent Done;

            private Timer wait;
            HtmlElement e2 = null;

            public void Wait(WebBrowser Browser, string Url, double Seconds)
            {
                Browser.Navigate(Url);

                wait = new Timer();
                wait.Interval = Convert.ToInt32(Seconds * 1000);

                wait.Tick += (s, args) =>
                {
                    if (Form1.wb.Document != null)
                    {
                        HtmlElementCollection c1 = Form1.wb.Document.GetElementsByTagName("element tag type");

                        foreach (HtmlElement e3 in c1)
                        {
                            if (e3.GetAttribute("className") == "class name")
                            {
                                if (e3.InnerText.Contains("something"))
                                {
                                    e2 = e3;
                                    wait.Enabled = false;
                                    MessageBox.Show(e2.InnerText);
                                    Done();
                                }
                            }
                        }
                    }
                };

                wait.Enabled = true;
            }
        }