Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_all
Method · 0.95
deselect_by_value
Method · 0.95
deselect_by_index
Method · 0.95
deselect_by_visible_text
Method · 0.95
Calls
2
is_selected
Method · 0.80
click
Method · 0.65
Tested by
no test coverage detected