Sha256: 97592228f56aa7516db3071d0883a392f2e4f9d45b5926086dc443b43b7e6d3a

Contents?: true

Size: 298 Bytes

Versions: 1

Compression:

Stored size: 298 Bytes

Contents

function(){
    for(var i=0; i<arguments[0].options.length; i++) {
        if ( arguments[0].options[i].label.match(arguments[1]) ) {
            arguments[0].options[i].selected = true;
            if ( arguments[2] == 'single' ) {
                break;
            }
        }
    }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
watir-6.10.1 lib/watir/js_snippets/selectOptionsLabel.js