head

head() returns document.head.innerHTML.trim() — a quick snapshot of the document head for assertions. The body counterpart is body. Part of pota/use/test.

Returns: the trimmed document.head.innerHTML string.