@Test public void checkWebElementIsEnableReturnsCorrectCode() { assertThat(driver.findElement(locator).isEnabled(), is(equalTo("driver.findElement(" + locator + ").isEnabled()"))); }
public String isEnabled() { return callingCommand + "(" + passedValue + ").isEnabled()"; }
WebElementGenerator { public String isEnabled() { return callingCommand + "(" + passedValue + ").isEnabled()"; } }
WebElementGenerator { public String isEnabled() { return callingCommand + "(" + passedValue + ").isEnabled()"; } WebElementGenerator(String command, String value);  WebElementGenerator(String command); }
WebElementGenerator { public String isEnabled() { return callingCommand + "(" + passedValue + ").isEnabled()"; } WebElementGenerator(String command, String value);  WebElementGenerator(String command); String getAttribute(String value); String isSelected(); String isEnabled(); String getText(); String isDisplayed(); GetLocation getLocation(); GetSize getSize(); String click(); String getCssValue(String value); String sendKeys(String value); String submit(); String toString(); }
WebElementGenerator { public String isEnabled() { return callingCommand + "(" + passedValue + ").isEnabled()"; } WebElementGenerator(String command, String value);  WebElementGenerator(String command); String getAttribute(String value); String isSelected(); String isEnabled(); String getText(); String isDisplayed(); GetLocation getLocation(); GetSize getSize(); String click(); String getCssValue(String value); String sendKeys(String value); String submit(); String toString();  }