original_string: public function selectOptionInRadioField($label, $option)
  	{
  		$this->debug("Trying to select the $option from the $label");
  		$label = $this->findField(array('xpath' => "//label[contains(normalize-space(string(.)), '$label')]"));
  		$radioId = $label->getAttribute('for');
  
  		$this->click("//fieldset[@id='$radioId']/label[contains(normalize-space(string(.)), '$option')]");
  	}
code: public function selectOptionInRadioField($label, $option)
  	{
  		$this->debug("Trying to select the $option from the $label");
  		$label = $this->findField(array('xpath' => "//label[contains(normalize-space(string(.)), '$label')]"));
  		$radioId = $label->getAttribute('for');
  
  		$this->click("//fieldset[@id='$radioId']/label[contains(normalize-space(string(.)), '$option')]");
  	}
code_tokens: public function selectOptionInRadioField ( $ label , $ option ) { $ this -> debug ( "Trying to select the $option from the $label" ) ; $ label = $ this -> findField ( array ( 'xpath' => "//label[contains(normalize-space(string(.)), '$label')]" ) ) ; $ radioId = $ label -> getAttribute ( 'for' ) ; $ this -> click ( "//fieldset[@id='$radioId']/label[contains(normalize-space(string(.)), '$option')]" ) ; }
docstring: Selects an option in a Joomla Radio Field based on its label
  
  @param   string  $label   The text in the <label> with for attribute that links to the radio element
  @param   string  $option  The text in the <option> to be selected in the chosen radio button
  
  @return  void
  
  @since   3.0.0
docstring_tokens: Selects an option in a Joomla Radio Field based on its label