These are chat archives for Behat/Behat

15th
Dec 2016
SamyOteroGlez
@SamyOteroGlez
Dec 15 2016 19:57

Hi,

In order to fill a form I need to click on a radio button but the element is like:

<div class="row question-group question ">
    <label for="radio" class="question-label ">
        The field question?
    </label>
    <div class="radio">
        <input id="radio_1" name="radio" type="radio" value="1">
        <label for="radio_1">
            Yes
        </label>
        <input id="radio_2" name="radio" type="radio" value="0">
        <label for="radio_2">
            No
        </label>
    </div>
</div>

At this moment I cant use click or press() functions.

Any Idea?