For what it's worth, i've added the screenshot to make it more clear what i'm trying to do. As you can see there is no property or method to extract the 'default' attributes set on the form/selected element.
The method getAllCustomAttributes() or getCustomAttribute() are only the attributes you've setup yourself in the Webflow Designer, not the ones added by Webflow automatically. for e.g. data-name="Email Form test" on forms.