@Test public void checkGetPageSourceReturnsCorrectCode() { assertThat(driver.getPageSource(), is(equalTo("driver.getPageSource()"))); }
public String getPageSource() { return driverObject + ".getPageSource()"; }
WebDriverGenerator { public String getPageSource() { return driverObject + ".getPageSource()"; } }
WebDriverGenerator { public String getPageSource() { return driverObject + ".getPageSource()"; } WebDriverGenerator(String value); }
WebDriverGenerator { public String getPageSource() { return driverObject + ".getPageSource()"; } 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 String getPageSource() { return driverObject + ".getPageSource()"; } 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();  }