MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / getOptions

Method getOptions

javascript/selenium-webdriver/lib/select.js:309–311  ·  view source on GitHub ↗

* Returns a list of all options belonging to this select tag * @returns {!Promise<!Array<!WebElement>>}

()

Source from the content-addressed store, hash-verified

307 * @returns {!Promise<!Array<!WebElement>>}
308 */
309 async getOptions() {
310 return await this.element.findElements({ tagName: 'option' })
311 }
312
313 /**
314 * Returns a boolean value if the select tag is multiple

Callers 2

getAllSelectedOptionsMethod · 0.95
deselectAllMethod · 0.95

Calls 1

findElementsMethod · 0.65

Tested by

no test coverage detected