## Pagination Testkit

### Import

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

### isVisible
- signature: isVisible()
- description: Check if element is rendered

### getCurrentPage
- signature: getCurrentPage()
- description: Returns currently selected page

### getTotalPages
- signature: getTotalPages()
- description: Returns a total amount of pages available

### clickOnPage
- signature: clickOnPage(n)
- description: Clicks on gives page number

### clickNextButton
- signature: clickNextButton()
- description: Clicks on next button

### clickPreviousButton
- signature: clickPreviousButton()
- description: Clicks on previous button
