@Test public void checkSwitchToActiveElementReturnsCorrectCode() { assertThat(driver.switchTo().activeElement(), is(equalTo("driver.switchTo().activeElement()"))); }
public TargetLocator switchTo() { return new TargetLocator(); }
WebDriverGenerator { public TargetLocator switchTo() { return new TargetLocator(); } }
WebDriverGenerator { public TargetLocator switchTo() { return new TargetLocator(); } WebDriverGenerator(String value); }
WebDriverGenerator { public TargetLocator switchTo() { return new TargetLocator(); } WebDriverGenerator(String value); String get(String value); String close(); String getCurrentUrl(); String getTitle(); String getPageSource(); String getWindowHandles(); String getWindowHandle(); WebElementGenerator findElement(String value); WebElementListGenerator findElements(String value); Options manage(); TargetLocator switchTo(); Navigation navigate(); }
WebDriverGenerator { public TargetLocator switchTo() { return new TargetLocator(); } WebDriverGenerator(String value); String get(String value); String close(); String getCurrentUrl(); String getTitle(); String getPageSource(); String getWindowHandles(); String getWindowHandle(); WebElementGenerator findElement(String value); WebElementListGenerator findElements(String value); Options manage(); TargetLocator switchTo(); Navigation navigate();  }