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