window method Null safety

Future<void> window(
  1. 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

Future<void> window(Window window) => window.setAsActive();