SetAttribute - web automation method
Browser automation method that sets the value of the specified HTML attribute.
	
Applies to:
- Element
 
 
		elementObj.SetAttribute(attrName, attrValue);
	 
Arguments:
- 
-   
attrName is the name of the attribute to be set.
	     
-   
attrValue is the string, number, or boolean to assign to the attribute.
	     
 
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.