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

Method selectByIndex

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

* Select the option at the given index. This is done by examining the "index" attribute of an * element, and not merely by counting. * * @param {Number} index The option at this index will be selected * @return {Promise }

(index)

Source from the content-addressed store, hash-verified

99 * @return {Promise<void>}
100 */
101 selectByIndex(index) {} // eslint-disable-line
102
103 /**
104 * Clear all selected entries. This is only valid when the SELECT supports multiple selections.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected