(option)
| 452 | } |
| 453 | |
| 454 | async setSelected(option) { |
| 455 | if (!(await option.isSelected())) { |
| 456 | if (!(await option.isEnabled())) { |
| 457 | throw new error.UnsupportedOperationError(`You may not select a disabled option`) |
| 458 | } |
| 459 | await option.click() |
| 460 | } |
| 461 | } |
| 462 | } |
| 463 | |
| 464 | function escapeQuotes(toEscape) { |
no test coverage detected