Matterway
    Preparing search index...

    Function selectRadioButtonByValue

    • Selects a radio button.

      Parameters

      • ctx: Context
      • selector: string

        Selector for the radio button.

      • value: string

        Value of the radio button.

      • Optionaloptions: WaitForSelectorOptions

      Returns Promise<void>

      await setRadioButton(page, 'input[id="radio-btn"]', 'some value');