Skip to content

Commit 0a48d48

Browse files
refactor(java): remove comment line in selectByVisibleText
1 parent 01e619f commit 0a48d48

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

java/src/org/openqa/selenium/support/ui/Select.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ public void selectByVisibleText(String text) {
134134

135135
for (WebElement option : options) {
136136
if (hasCssPropertyAndVisible(option)) {
137-
// throw new NoSuchElementException("Invisible option with text: " + text);
138137
setSelected(option, true);
139138
selectedAnyVisible = true;
140139
if (!isMultiple()) {

0 commit comments

Comments
 (0)