Method to give you access to switch frames and windows
Namespace: OpenQA.Selenium.RemoteAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public ITargetLocator SwitchTo()
Return Value
Returns an Object that allows you to Switch Frames and WindowsImplements
IWebDriver SwitchToExamples
IWebDriver driver = new InternetExplorerDriver(); driver.SwitchTo().Frame("FrameName");
See Also