Clicks on the MatSlider at the coordinates corresponding to the given value.
(slider: webdriver.WebElement, value: number)
| 150 | |
| 151 | /** Clicks on the MatSlider at the coordinates corresponding to the given value. */ |
| 152 | async function setValueByClick(slider: webdriver.WebElement, value: number): Promise<void> { |
| 153 | return clickElementAtPoint(slider, await getCoordsForValue(slider, value)); |
| 154 | } |
| 155 | |
| 156 | /** Clicks on the MatSlider at the coordinates corresponding to the given value. */ |
| 157 | async function slideToValue( |
no test coverage detected