Selenium IDE Format source for perl Selenium::WebDriver
Selenium IDE Format source for perl Selenium::WebDriver is not
support select option.
So I implemented , I'll try to pull request.
WDAPI.Element.prototype.select = function(selectLocator) { if (selectLocator.type == 'index') { return "$driver->find_child_element(" + this.ref + ", \"//option[" + selectLocator.string + "]\" , \"xpath\")->click"; } if (selectLocator.type == 'value') { return "$driver->find_child_element(" + this.ref + ", \"//*[\\@value='" + selectLocator.string+ "']\" , \"xpath\")->click"; } return "$driver->find_child_element(" + this.ref + ", \"//*[text()='" + selectLocator.string+ "']\" , \"xpath\")->click"; };