## ColorInput Testkit

### Import

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

### cancel
- signature: cancel()
- returns: Promise<Void>
- description: Cancels color selection

### confirm
- signature: confirm()
- returns: Promise<Void>
- description: Confirms color selection

### clickColorViewer
- signature: clickColorViewer()
- returns: Promise<Void>
- description: Clicks on color viewer box

### enterText
- signature: enterText(text)
- returns: Promise<Void>
- description: Enters text to color input

### getValue
- signature: getValue()
- returns: Promise<string>
- description: Gets the input value

### getPlaceholder
- signature: getPlaceholder()
- returns: Promise<string | >
- description: Gets the placeholder of the input

### getSize
- signature: getSize()
- returns: Promise<string>
- description: Gets the input size

### isDisabled
- signature: isDisabled()
- returns: Promise<boolean>
- description: Checks whether the input is disabled

### colorPickerVisible
- signature: colorPickerVisible()
- returns: Promise<boolean>
- description: Checks whether the color picker is visible

### click
- signature: click()
- returns: Promise<Void>
- description: Clicks on input

### hasStatus
- signature: hasStatus(status)
- returns: Promise<boolean>
- description: Checks whether the given status is displayed

### getStatusMessage
- signature: getStatusMessage()
- returns: Promise<string | >
- description: Gets the status message
