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.
head()
document.head.innerHTML.trim()
body
pota/use/test
Returns: the trimmed document.head.innerHTML string.
document.head.innerHTML