Five, Chromewebbrowser.net 1.1.0.0 released

Source: Internet
Author: User

Hello everyone, before this release 1.0.4.0, the main is to change the kernel to the CEFGLUE3,CEF version of 3.1650.1562, the other methods have nothing to change. In the previous version, to interact with the Web page basically no, interactive functions are limited to the Executescript and Evaluatescript methods, with the JavaScript method Callcsharpmethod, although it can achieve the interaction with the Web page, But it's too inconvenient for a partner who doesn't know much about JavaScript, and in this new version of the Cwbdocument and cwbelement two classes, Cwbdocument contains all the page elements and cookie content, Cwbelement will be mapped to a Web page node, you can read and write directly, the following is the method of the two classes, the shortcomings you can modify, you can also send a private message or QQ messages to me. Welcome to join the discussion group =>343517844. For more information, see the User's Guide in the source package.

Source code: Https://sourceforge.net/projects/chromewebbrowse

Class
  • cwbdocument
    cookies current page All Cookies
    Cookie Current page All cookie group composition string
    Root document root node, contains all child nodes in document
    method load is automatically called by default in the control's DocumentCompleted event, or can be called manually for overloading.
    getElementsByTagName gets all the corresponding elements according to the tag
    getElementById get elements by ID
  • Cwbelement
    Property ID element number
    TagName element Tag Name
    Indexpath element Path
    Childelements All child elements
    Iselement whether the element
    Whether Iseditable can be edited
    HasChildren has no child nodes
    HasAttributes has no attributes
    Attributes Node All Properties collection
    InnerText inside text
    HTML text in InnerHtml
    Value element values
    Method Hasattribute determine if there is a property
    GetAttribute Getting property values
    SetAttribute Setting Property values
    Click to perform an element hit event
    Attacheventhandler adding element Event listeners

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.