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

Method _unset_selected

py/selenium/webdriver/support/select.py:231–233  ·  view source on GitHub ↗
(self, option)

Source from the content-addressed store, hash-verified

229 option.click()
230
231 def _unset_selected(self, option) -> None:
232 if option.is_selected():
233 option.click()
234
235 def _escape_string(self, value: str) -> str:
236 if '"' in value and "'" in value:

Callers 4

deselect_allMethod · 0.95
deselect_by_valueMethod · 0.95
deselect_by_indexMethod · 0.95

Calls 2

is_selectedMethod · 0.80
clickMethod · 0.65

Tested by

no test coverage detected