Skip to content

Commit

Permalink
textarea also has a 'value'
Browse files Browse the repository at this point in the history
  • Loading branch information
V. Mark Lehky committed Nov 21, 2020
1 parent ca2f602 commit 7c71ff7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ private void throwShouldBePresentErrorWithCauseIfPresent(final Throwable timeout
throw new ElementShouldBePresentException(finalMessage, timeout);
}

private static final List<String> HTML_ELEMENTS_WITH_VALUE_ATTRIBUTE = Arrays.asList("input", "button", "option");
private static final List<String> HTML_ELEMENTS_WITH_VALUE_ATTRIBUTE = Arrays.asList("input", "button", "option", "textarea");

private boolean hasValueAttribute(WebElement element) {
String tag = element.getTagName().toLowerCase();
Expand Down

0 comments on commit 7c71ff7

Please sign in to comment.