SetAttribute - web automation method

Browser automation method that sets the value of the specified HTML attribute.

Applies to:
Element
  elementObj.SetAttribute(attrName, attrValue);
Arguments:
Remarks:
When setting the CLASS attribute using this method, set the sName to be "className", which is the corresponding Dynamic HTML (DHTML) property.
Example:

None.
		
See also:
Element | GetAttribute | nativeElement | RemoveAttribute

© 2017 CodeCentrix Software. All rights reserved.