window method Null safety
- Window window
Switches the focus of void commands for this driver to the window with the given name/handle.
Throws NoSuchWindowException if the specified window can't be found.
Implementation
void window(Window window) {
window.setAsActive();
}