switchTo property Null safety

TargetLocator switchTo

Changes focus to specified targets.

Available targets are window, frame, and the current alert.

Implementation

TargetLocator get switchTo => TargetLocator(this, _client, _handler);