We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1988d58 commit aa18b61Copy full SHA for aa18b61
1 file changed
src/index.js
@@ -173,7 +173,7 @@ async function _getAttributeValues(element) {
173
} else if (key === "value" && !attribute.value) {
174
Object.assign(attributeValues, { value: await element.getValue() });
175
} else {
176
- Object.assign(attributeValues, { [key]: attribute.value });
+ Object.assign(attributeValues, { [key]: element.getAttribute(attribute.name) });
177
}
178
179
0 commit comments