Sha256: 2d1d1d78578b17946961f3eff611200969aac8edde5a5407284b1eb5c35961e0

Contents?: true

Size: 288 Bytes

Versions: 39

Compression:

Stored size: 288 Bytes

Contents

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

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
watir-6.16.0 lib/watir/js_snippets/selectOptionsValue.js
watir-6.15.1 lib/watir/js_snippets/selectOptionsValue.js
watir-6.15.0 lib/watir/js_snippets/selectOptionsValue.js
watir-6.14.0 lib/watir/js_snippets/selectOptionsValue.js
watir-6.13.0 lib/watir/js_snippets/selectOptionsValue.js
watir-6.12.0 lib/watir/js_snippets/selectOptionsValue.js
watir-6.11.0 lib/watir/js_snippets/selectOptionsValue.js
watir-6.11.0.beta2 lib/watir/js_snippets/selectOptionsValue.js
watir-6.11.0.beta1 lib/watir/js_snippets/selectOptionsValue.js
watir-6.10.3 lib/watir/js_snippets/selectOptionsValue.js
watir-6.10.2 lib/watir/js_snippets/selectOptionsValue.js
watir-6.10.0 lib/watir/js_snippets/selectOptionsValue.js
watir-6.9.1 lib/watir/js_snippets/selectOptionsValue.js
watir-6.9.0 lib/watir/js_snippets/selectOptionsValue.js
watir-6.8.4 lib/watir/js_snippets/selectOptionsValue.js
watir-6.8.3 lib/watir/js_snippets/selectOptionsValue.js
watir-6.8.2 lib/watir/js_snippets/selectOptionsValue.js
watir-6.8.1 lib/watir/js_snippets/selectOptionsValue.js
watir-6.8.0 lib/watir/js_snippets/selectOptionsValue.js