@@ -0,0 +1,816 @@
+package capture;%0A%0Aimport org.openqa.selenium.WebElement;%0A%0Apublic class Command %7B%0A%0A%09public String action;%0A%09public String using;%0A%09public String value;%0A%09%0A%09public Command(final String action, final String using, final String value)%0A%09%7B%0A%09%09this.action = action;%0A%09%09this.using = using;%0A%09%09this.value = value;%0A%09%7D%0A%09%0A%09public Command(final String action, final WebElement element)%0A%09%7B%0A%09%09this.action = action;%0A%09%09%0A%09%09String using = null;%0A%09%09String value = null;%0A%09%09String id;%0A%09%09String text;%0A%09%09if(!(id = element.getAttribute(%22id%22)).isEmpty())%0A%09%09%7B%0A%09%09%09using = %22id%22;%0A%09%09%09value = id;%0A%09%09%7D%0A%09%09else if (!(text = element.getText()).isEmpty())%0A%09%09%7B%0A%09%09%09using = %22linktext%22;%0A%09%09%09value = text;%0A%09%09%7D%0A%09%09else%0A%09%09%7B%0A%09%09%09using = %22css%22;%0A%09%09%09value = element.getTagName() + %22.%22 + element.getAttribute(%22class%22);%0A%09%09%7D%0A%09%09%0A%09%09this.using = using;%0A%09%09this.value = value;%0A%09%7D%0A%7D%0A

Create Command.java