## HorizontalScroll Testkit

### Import

- unidriver: `import { HorizontalScrollUniDriver } from '@wix/design-system/dist/testkit/unidriver';`
- vanilla: `import { HorizontalScrollTestkit } from '@wix/design-system/dist/testkit';`
- puppeteer: `import { HorizontalScrollTestkit } from '@wix/design-system/dist/testkit/puppeteer';`
- playwright: `import { HorizontalScrollTestkit } 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

### leftButtonExists
- signature: leftButtonExists()
- description: Checks if left button exists.

### rightButtonExists
- signature: rightButtonExists()
- description: Checks if right button exists.

### clickLeftButton
- signature: clickLeftButton()
- description: Clicks left button.

### clickRightButton
- signature: clickRightButton()
- description: Clicks right button.

### getScrollPosition
- signature: getScrollPosition()
- description: Retrieves scrollLeft property of the scrollable container.
