nativeElement - web automation property

Returns a native HTML element ( IHTMLElement ) represented by the current web automation library Element object.

Applies to:
Element
  var native = elementObj.nativeElement;
Arguments:
None.
Remarks:
With this Internet Explorer automation property, get access to all methods and properties of the IHTMLElement native object from C#, VB.Net, VBScript web macros.
Example:
var coreObj    = new ActiveXObject("Twebst.Core");
var newBrowser = coreObj.StartBrowser("http://www.codecentrix.com/");

var e = newBrowser.FindElement("a", "text=Download");
var native = e.nativeElement;
WScript.Echo(native.outerHTML);
		
See also:
Element | nativeBrowser | nativeFrame

© 2014 CodeCentrix Software. All rights reserved.