3. addAttribute

This command is similar to putAttribute except that it will not replace the attribute if it is already set on the selected element.