getAllRadioButtons

getAllRadioButtons returns all radio button elements in a page. It’s based on the getAllButtons() that is stock in Selenium.

Selenium.prototype.getAllRadios = function() {
var elements = this.browserbot.getDocument().getElementsByTagName('input');
var result = [];
for (var i = 0; i < elements.length; i++) {
if (elements[i].type == 'radio') {
result.push(elements[i].id);
}
}
return result;
};

File: 

AttachmentSize
Plain text icon getAllRadioButtons.txt278 bytes

Type: 

User-Extension