How do you find the attributes on a Protractor?
To find the attributes of a Protractor, use the getAttribute() method. If the attribute is not set to any value, it returns null as a value (except for boolean values). Therefore, if you are looking for a boolean value that is not set, getAttribute() returns true.