RadioButtonGroupElement
Playwright element wrapper for<vaadin-radio-group>. Provides helpers to select by label/value and assert selected state.
Component Tag
vaadin-radio-group
Implements
HasLabelElementHasEnabledElementHasHelperElementHasValidationPropertiesElement
Factory Methods
getByLabel
RADIOGROUP.
Page
required
The Playwright page
String
required
The accessible label of the radio group
RadioButtonGroupElement
Constructor
RadioButtonGroupElement
RadioButtonGroupElement.
Locator
required
The locator for the
<vaadin-radio-group> elementMethods
selectByLabel
String
required
The label text of the radio button to select
selectByValue
String
required
The value of the radio button to select
getRadioButtonByLabel
String
required
The label text of the radio button
RadioButtonElement
setValue
String
required
The label of the radio button to select
assertValue
String
Expected label of the selected radio button, or
null/empty for no selection