Whenever you enter anything in text input field, it will store value field in HTML. So if you want to retrieve the value entered in input field later in your program, then just use WebElement.getAttribute("Value");
i raised a similar protractor issue on this , the issue seems like
if you give a input say "one" to textbox 'A'
then you clear text box 'A'
and then sends input to textbox 'B'
and then sends input say "two" again to textbox 'A', A will get the value onetwo
If you immediately use sendKeys after using clear() , everything works fine.
if you give an input ...
Since it hasn't been mentioned so far: There is Shutterbug.
Selenium Shutterbug is a utility library written in Java for making screenshots using Selenium WebDriver and further customizing, comparing and processing them with the help of Java AWT.
Screenshot of an entire page:
* Sets the focus on a field
setFocus : ...