pub fn document() -> Document
Returns the global document node, panicking if no browser context exists.
document