(self, option)
| 223 | raise NoSuchElementException(f"Could not locate element with visible text: {text}") |
| 224 | |
| 225 | def _set_selected(self, option) -> None: |
| 226 | if not option.is_selected(): |
| 227 | if not option.is_enabled(): |
| 228 | raise NotImplementedError("You may not select a disabled option") |
| 229 | option.click() |
| 230 | |
| 231 | def _unset_selected(self, option) -> None: |
| 232 | if option.is_selected(): |
no test coverage detected