【问题标题】:C# WebBrowser Control IssueC# WebBrowser 控件问题
【发布时间】:2014-10-26 21:37:36
【问题描述】:

你好,我是新手,我正在制作一个自动制作 netflix 帐户的工具,但我需要知道所有 WebBrowser Control 我只知道这个

        webBrowser1.Document.GetElementById("password").InnerText = textBox2.Text;
        webBrowser1.Document.GetElementById("regFormButton").InvokeMember("Click");

我需要知道点击我可以使用的协议复选框

webBrowser1.Document.GetElementById("agree_box").InvokeMember("Click");

有些人认为没有唯一的 ID 类和值我可以做什么?

【问题讨论】:

    标签: c# webbrowser-control


    【解决方案1】:

    您可以使用 GetElementsByTagName 然后对其进行迭代

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-07-19
      • 2010-12-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-11
      • 1970-01-01
      相关资源
      最近更新 更多