Instructs the driver to send future commands to a different frame or window.
Namespace: OpenQA.Selenium.Support.EventsAssembly: WebDriver.Support (in WebDriver.Support.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public ITargetLocator SwitchTo()
Return Value
An ITargetLocator object which can be used to select a frame or window.Implements
IWebDriver SwitchToSee Also