Pobieranie treści treści HTML w WinForms WebBrowser po wykonaniu zdarzenia onload

Mam formant WebBrowser w WinForms, którego właściwość URL jest ustawiona na zewnętrzną stronę internetową. Mam także moduł obsługi zdarzeń dla zdarzenia DocumentCompleted. Wewnątrz tego programu próbuję uzyskać określone elementy, ale wb.Document.Body wydaje się przechwytywać HTML przed wykonaniem onload.

{System.Windows.Forms.HtmlElement}
    All: {System.Windows.Forms.HtmlElementCollection}
    CanHaveChildren: true
    Children: {System.Windows.Forms.HtmlElementCollection}
    ClientRectangle: {X = 0 Y = 0 Width = 1200 Height = 0}
    Document: {System.Windows.Forms.HtmlDocument}
    DomElement: {mshtml.HTMLBodyClass}
    ElementShim: {System.Windows.Forms.HtmlElement.HtmlElementShim}
    Enabled: true
    FirstChild: null
    htmlElement: {mshtml.HTMLBodyClass}
    Id: null
    InnerHtml: "\n"
    InnerText: null
    Name: ""
    NativeHtmlElement: {mshtml.HTMLBodyClass}
    NextSibling: null
    OffsetParent: null
    OffsetRectangle: {X = 0 Y = 0 Width = 1200 Height = 0}
    OuterHtml: "<body onload=\"evt_Login_onload(event);\" uitheme=\"Web\">\n</body>"
    OuterText: null
    Parent: {System.Windows.Forms.HtmlElement}
    ScrollLeft: 0
    ScrollRectangle: {X = 0 Y = 0 Width = 1200 Height = 0}
    ScrollTop: 0
    shimManager: {System.Windows.Forms.HtmlShimManager}
    ShimManager: {System.Windows.Forms.HtmlShimManager}
    Style: null
    TabIndex: 0
    TagName: "BODY"

"<body onload=\"evt_Login_onload(event);\" uitheme=\"Web\">\n</body>" to zawartość pre-JavaScript. Czy istnieje sposób na przechwycenie stanu tagu body poevt_Login_onload(event); wykonuje?

Próbowałem również użyćwb.Document.GetElementById("id"), ale zwraca wartość null.

questionAnswers(1)

yourAnswerToTheQuestion