# InputWithOptions Testkit

### Import

```jsx
import { InputWithOptionsTestkit } from 'wix-style-react/dist/testkit';
import { InputWithOptionsTestkit } from 'wix-style-react/dist/testkit/enzyme';
import { InputWithOptionsTestkit } from 'wix-style-react/dist/testkit/puppeteer';
```

### API

| method | arguments | returned value | description |
|--------|-----------|----------------|-------------|
| focus | - | - | focus the input element |
| blur | - | - | click outside the dropdown element |
| pressDownKey | - | - | press down key on the input element |
| pressUpKey | - | - | press up key on the input element |
| pressAnyKey | - | - | press any key on the input element |
| pressEnterKey | - | - | press enter key on the input element |
| pressTabKey | - | - | press tab key on the input element |
| pressEscKey | - | - | press esc key on the input element |
| setProps | json | element | returns a clone of this element with the new props from the json |
