package hu.pazsitz.pacuse.pages;

import org.openqa.selenium.WebDriver;

/**
 * GeneralWidgetImpl.java
 *
 * @author Zoltan Pazsit <pazsitz@pazsitz.hu>
 * @copyright Copyright (c) 2014, Zoltan Pazsit
 */
public class GeneralWidgetImpl extends AbstractWidget {

	public GeneralWidgetImpl(WebDriver webDriver) {
		super(webDriver);
	}

}

@@ -54,25 +54,95 @@
 elenium.
-WebDriver
+By;%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.WebElement
 ;%0A%0A/**%0A 
@@ -324,16 +324,49 @@
 dget %7B%0A%0A
+%09private WebElement container;%0A%09%0A
 %09public 
@@ -402,16 +402,36 @@
 ebDriver
+, WebElement element
 ) %7B%0A%09%09su
@@ -446,14 +446,245 @@
 river);%0A
+%09%09this.container = element;%0A%09%7D%0A%09%0A%09public GeneralWidgetImpl(WebDriver webDriver, By by) %7B%0A%09%09super(webDriver);%0A%09%09this.container = getWebDriver().findElement(by);%0A%09%7D%0A%0A%09@Override%0A%09public WebElement getContainer() %7B%0A%09%09return container;%0A
 %09%7D%0A%0A%7D%0A

implement abstract method in GeneralWidgetImpl