I have two radio buttons YES and NO, the step on the feature file can pass argument to the method, both radio buttons has the same name so I want to click on the radio button by finding its name and value for example:
def licenceStatus(licenceS)
licence = @driver.find_element(name:"licence_status", value:licenceS).click
end
The above method works in Watir but not Selenium how do I get this to work?