You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is due to generally ignoring the element's inner content, and building it based on the JSDOM tree manually. It has to be done manually, because <head> and <body> should only be included if the source included them (but JSDOM automatically generates a "good" DOM tree, so the JSDOM instance of the page includes those pieces).