Home > Net >  Refer to how to obtain the WebView2 DOM object
Refer to how to obtain the WebView2 DOM object

Time:12-27

Used that access to the Document object for page elements to increase deleted, how to implement it after use WebView2 now, can only see run JS code, but JS results cannot be passed to the c #,

Thank you!

CodePudding user response:

Such as access to & lt; Select id="mySelect" & gt; . All option within the text to WinForm is used, how to implement?

CodePudding user response:

Exclude top, ~ ~ ~ ~

CodePudding user response:

HTML agility pack
Use this to read HTML content, you can then select specifies the id of the object and its value for each attribute, etc.

CodePudding user response:

Thank you, could you tell me the HTML agility pack with WebView2 exactly how tie-in use? Now don't even know how WebView2 get HTML code,
  •  Tags:  
  • C#
  • Related