## Slider Testkit

### Import

- unidriver: `import { SliderUniDriver } from '@wix/design-system/dist/testkit/unidriver';`
- vanilla: `import { SliderTestkit } from '@wix/design-system/dist/testkit';`
- puppeteer: `import { SliderTestkit } from '@wix/design-system/dist/testkit/puppeteer';`
- playwright: `import { SliderTestkit } from '@wix/design-system/dist/testkit/playwright';`

### API

### exists
- signature: exists()
- returns: Promise<boolean>
- description: Checks whether the component found with the given data hook

### element
- signature: element()
- returns: Promise<any>
- description: Gets the component root element

### click
- signature: click()
- returns: Promise<void>
- description: Clicks on the component root element

### base
- signature: base()
- returns: UniDriver
- description: Returns UniDriver for the base element

### isDotSelected
- signature: isDotSelected(number)
- description: returns true if slider grade is selected

### numOfSliderDots
- signature: numOfSliderDots()
- description: returns number of slider grades

### numOfSliderHandles
- signature: numOfSliderHandles()
- description: returns number of slider handles

### numOfSliderMarksLabels
- signature: numOfSliderMarksLabels()
- description: returns number of slider marks labels

### getValue
- signature: getValue()
- description: returns slider value

### decreaseValueOnce
- signature: decreaseValueOnce()
- description: decreases value of the slider once

### increaseValueOnce
- signature: increaseValueOnce()
- description: increases value of the slider once

### getToolTipValue
- signature: getToolTipValue(index)
- description: returns slider tooltip value

### isDisabled
- signature: isDisabled()
- description: returns if the slider is disabled

### getDirection
- signature: getDirection()
- description: returns direction either horizontal or vertical
