Webbrowser Click On Button In FRAME

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Komal101
    New Member
    • Jun 2014
    • 1

    #1

    Webbrowser Click On Button In FRAME

    I have a web page loaded in a webbrowser control.
    The page has Frames.
    I know the frame name, but need to click on a button called find in frame 1 of the page.

    I am able to find that button but not able to get the imformation back in webbrowser.

    Would appreciate the exact code syntax to click on a button in a Frame
  • Luk3r
    Contributor
    • Jan 2014
    • 300

    #2
    I assume you mean that the page you load in your browser has a button (submit, for example), and you want to click that button programmaticall y? If so, you'll be using something like this:
    Code:
    webBrowser1.Document.GetElementById("elementID").InvokeMember("submit");

    Comment

    Working...