## SidePanel Testkit

### Import

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

### clickHelp
- signature: clickHelp()
- description: Click help button

### clickClose
- signature: clickClose()
- description: Click close button

### clickBack
- signature: clickBack()
- description: Click back button

### getHelpButtonAriaLabel
- signature: getHelpButtonAriaLabel()
- description: Get help button aria-label

### getCloseButtonAriaLabel
- signature: getCloseButtonAriaLabel()
- description: Get close button aria-label

### getBackButtonAriaLabel
- signature: getBackButtonAriaLabel()
- description: Get back button aria-label

### getTitleText
- signature: getTitleText()
- description: Get title text

### getPrefix
- signature: getPrefix()
- description: Get Prefix element

### getSuffix
- signature: getSuffix()
- description: Get Suffix element

### getContent
- signature: getContent()
- description: Get Content Element

### getSubtitleText
- signature: getSubtitleText()
- description: Get subtitle text

### getTooltipContent
- signature: getTooltipContent()
- description: Get tooltip text

### getBackButtonTooltipContent
- signature: getBackButtonTooltipContent()
- description: Get back button tooltip content

### isHeaderDividerExists
- signature: isHeaderDividerExists()
- description: Check if divider exists

### isCloseButtonExists
- signature: isCloseButtonExists()
- description: Check if close button exists

### isHelpButtonExists
- signature: isHelpButtonExists()
- description: Check if help button exists

### isFooterDividerExists
- signature: isFooterDividerExists()
- description: Check if divider exists

### isBackButtonExists
- signature: isBackButtonExists()
- description: Check if back button exists
