We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3da347f commit 5d9b5d1Copy full SHA for 5d9b5d1
java/src/org/openqa/selenium/support/ui/Select.java
@@ -130,7 +130,7 @@ public void selectByVisibleText(String text) {
130
By.xpath(".//option[normalize-space(.) = " + Quotes.escape(text) + "]"));
131
132
for (WebElement option : options) {
133
- if(!hasCssPropertyAndVisible(option)) {
+ if (!hasCssPropertyAndVisible(option)) {
134
throw new NoSuchElementException("Invisible option with text: " + text);
135
}
136
setSelected(option, true);
0 commit comments