MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / getOptions

Method getOptions

java/src/org/openqa/selenium/support/ui/Select.java:91–94  ·  view source on GitHub ↗

@return All options belonging to this select tag

()

Source from the content-addressed store, hash-verified

89 * @return All options belonging to this select tag
90 */
91 @Override
92 public List<WebElement> getOptions() {
93 return element.findElements(By.tagName("option"));
94 }
95
96 /**
97 * @return All selected options belonging to this select tag

Calls 2

tagNameMethod · 0.95
findElementsMethod · 0.65