class-attribute value incorrect [cobra 0.98.4]
Status: Beta
Brought to you by:
trainhappy
When a HTML element specifies a class attribute indicating multiple CSS classes, f.e.: <a class="a b">...</a>, and you have a reference to the a element, such as Element aElement and call aElement.getAttribute("class"), the resulting value is only the first CSS class specified (in this example it would return "a", instead of "a b").