The body element from the HTML document was not yet loaded at the time of accessing to it.