1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

ChromiumWebBrowser Question

Discussion in 'C, C++, C#' started by MisterNick, Aug 16, 2016.

  1. MisterNick

    MisterNick Registered Member

    Joined:
    Oct 22, 2014
    Messages:
    80
    Likes Received:
    60
    Occupation:
    Programmer
    Location:
    Tbilisi,Georgia
    Hello,

    Is it possible to click on the web object by it's tag name using Chrominium web browser? The default web control of .NET can do that, but i didn't find anything like 'GetElementById("objectID");' in Chrominium. Could you please, provide a tutorial for that. I have been using Registry key values to use IE11 in a meats of IE7, but right now, IE11 also can't read some JS so i need something different that can read Java Scripts without any problems like Chrome browser do.

    Thanks
     
  2. gsy159

    gsy159 Power Member

    Joined:
    Apr 29, 2011
    Messages:
    698
    Likes Received:
    170
    Maybe it is a little bit late but for the future you use that with "Webeventlistener"
     
  3. ZakariaeJaidi

    ZakariaeJaidi Newbie

    Joined:
    Nov 2, 2017
    Messages:
    7
    Likes Received:
    0
    Gender:
    Male
    webBrowser1.Load("javascript : document.getElementsByTagName('Tag that you want')[0].click();");
     
  4. gbotguru

    gbotguru Newbie

    Joined:
    Jun 16, 2018
    Messages:
    42
    Likes Received:
    20
    yes its possible.