Highlight - web automation method

Highlights IHTMLElement objects.

Applies to:
Element
  elementObj.Highlight();
Arguments:
None.
Remarks:
The method will cause the border of the IHTMLElement to flash so that it can be easily located on the screen. This method can be useful for debugging IE macros when you want to verify that the correct HTML element was found.
Example:
var coreObj = new ActiveXObject("OpenTwebst.Core");
var browser = coreObj.StartBrowser("http://www.codecentrix.com");

var element = browser.FindElement("a", "text=Download");
element.Highlight();
		
See also:
Element | nativeElement | uiName

© 2017 CodeCentrix Software. All rights reserved.