Skip to content

Commit ab53ac0

Browse files
rbrishs96c
authored andcommitted
cleanup; remove no longer needed check
Signed-off-by: Simon Stewart <[email protected]>
1 parent 6e00b76 commit ab53ac0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

java/client/src/org/openqa/selenium/htmlunit/HtmlUnitWebElement.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import com.gargoylesoftware.htmlunit.html.HtmlButton;
2929
import com.gargoylesoftware.htmlunit.html.HtmlElement;
3030
import com.gargoylesoftware.htmlunit.html.HtmlForm;
31-
import com.gargoylesoftware.htmlunit.html.HtmlHiddenInput;
3231
import com.gargoylesoftware.htmlunit.html.HtmlImageInput;
3332
import com.gargoylesoftware.htmlunit.html.HtmlInput;
3433
import com.gargoylesoftware.htmlunit.html.HtmlLabel;
@@ -500,7 +499,7 @@ public boolean isDisplayed() {
500499
return true;
501500
}
502501

503-
return !(element instanceof HtmlHiddenInput) && element.isDisplayed();
502+
return element.isDisplayed();
504503
}
505504

506505
@Override

0 commit comments

Comments
 (0)