I am fairly sure you can use `element.getAttribute('value');` to figure out what the current value is.