Sha256: b3859c73006074ff986004986da0c6d821f9fe62f531a320b8062ab36456d7f7
Contents?: true
Size: 169 Bytes
Versions: 1
Compression:
Stored size: 169 Bytes
Contents
def select_by_value(id, value) option_xpath = "//*[@id='#{id}']/option[@value='#{value}']" option = find(:xpath, option_xpath).text select(option, :from => id) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_bind-0.1.1 | spec/support/select_by_value.rb |