Skip to main content

window

Function window 

Source
pub fn window() -> Option<Window>
Expand description

The page this shell is running in, or nothing where there is no page.

Off the browser every one of these calls is a JavaScript import that is not there, so asking at all would panic rather than answer — which is what would happen in the snapshot tests, where the chrome is rendered with no browser under it at all.