## RadioGroup Testkit

### Import

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

### selectByValue
- signature: selectByValue(value)
- description: Selects the radio that matches the provided value

### selectByIndex
- signature: selectByIndex(index)
- description: Selects the radio in the provided index

### getRadioValueAt
- signature: getRadioValueAt(index)
- description: Get the radio value in the provided index

### getRadioAtIndex
- signature: getRadioAtIndex(index)
- description: Get the radio element in the provided index, returns an element merged with the RadioButton driver methods

### getSelectedValue
- signature: getSelectedValue()
- description: Get the value of the selected radio

### isRadioDisabled
- signature: isRadioDisabled(index)
- description: Checks if the radio in the provided index is disabled

### getNumberOfRadios
- signature: getNumberOfRadios()
- description: Get the number of rendered radios

### getRadioIdAt
- signature: getRadioIdAt(index)
- description: Get the value of radio button id at the provided index

### getRadioName
- signature: getRadioName()
- description: Get the value of radio button name at the provided index

### isRadioChecked
- signature: isRadioChecked(index)
- description: Checks if the radio with the provided index is checked
