## InputWithLabel Testkit

### Import

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

### getSuffixesCount
- signature: getSuffixesCount()
- returns: Promise<number>
- description: Gets the amount of rendered suffixes

### hasErrorMessage
- signature: hasErrorMessage()
- returns: Promise<boolean>
- description: Returns true if an error status message exists

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

### getValue
- signature: getValue()
- returns: Promise<string>

### clickInput
- signature: clickInput()
- returns: Promise<void>

### enterText
- signature: enterText(value)
- returns: Promise<void>

### getLabelText
- signature: getLabelText()
- returns: Promise<string>

### isCustomInput
- signature: isCustomInput()
- returns: Promise<boolean>

### isFocusedStyle
- signature: isFocusedStyle()
- returns: Promise<boolean>

### getMaxLength
- signature: getMaxLength()
- returns: Promise<string | null>

### getPlaceholder
- signature: getPlaceholder()
- returns: Promise<string | null>
