DOM.setAttributes works with "setAttribute" method, instead of "attributes" property. Needed as we want it to return attribute value, not attribute object (name/value pairs).