## ToggleButton Testkit

### Import

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

### isButtonDisabled
- signature: isButtonDisabled()
- description: Checks whether ToggleButton is disabled

### getSkin
- signature: getSkin()
- description: Gets the ToggleButton skin

### isButtonSelected
- signature: isButtonSelected()
- description: Checks whether ToggleButton is selected

### getLabelPlacement
- signature: getLabelPlacement()
- description: Gets the ToggleButton label placement

### getLabelValue
- signature: getLabelValue()
- description: Gets the ToggleButton label placement value

### getShape
- signature: getShape()
- description: Gets the ToggleButton shape
