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
|