Remove Custom Attribute
element.removeCustomAttribute(name)
Remove an attribute from an element.
Previously, this method removed only custom HTML attributes on an element, but now it can remove any attribute.
This method is equivalent to the element.removeAttribute(name) method.
Syntax
Parameters
name: String - The name of the custom attribute.
Returns
Promise<null>
A Promise that resolves to null