Sha256: 858672d07001800550895644741fca540bf2632398714cb7450ce4563ba10c60

Contents?: true

Size: 166 Bytes

Versions: 39

Compression:

Stored size: 166 Bytes

Contents

function(){
    if(arguments[1]) {
        arguments[0].style.backgroundColor = arguments[1];
    } else {
        return arguments[0].style.backgroundColor;
    }
}

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
watir-7.3.0 lib/watir/js_snippets/backgroundColor.js
watir-7.2.2 lib/watir/js_snippets/backgroundColor.js
watir-7.2.1 lib/watir/js_snippets/backgroundColor.js
watir-7.2.0 lib/watir/js_snippets/backgroundColor.js
watir-7.1.0 lib/watir/js_snippets/backgroundColor.js
watir-7.0.0 lib/watir/js_snippets/backgroundColor.js
watir-7.0.0.beta5 lib/watir/js_snippets/backgroundColor.js
watir-7.0.0.beta4 lib/watir/js_snippets/backgroundColor.js
watir-7.0.0.beta3 lib/watir/js_snippets/backgroundColor.js
watir-7.0.0.beta2 lib/watir/js_snippets/backgroundColor.js
watir-7.0.0.beta1 lib/watir/js_snippets/backgroundColor.js
watir-6.19.1 lib/watir/js_snippets/backgroundColor.js
watir-6.19.0 lib/watir/js_snippets/backgroundColor.js
watir-6.18.0 lib/watir/js_snippets/backgroundColor.js
watir-6.17.0 lib/watir/js_snippets/backgroundColor.js
watir-6.16.5 lib/watir/js_snippets/backgroundColor.js
watir-6.16.4 lib/watir/js_snippets/backgroundColor.js
watir-6.16.3 lib/watir/js_snippets/backgroundColor.js
watir-6.16.2 lib/watir/js_snippets/backgroundColor.js
watir-6.16.1 lib/watir/js_snippets/backgroundColor.js