Sha256: 32ad6d22811f52cd1fb6424c38c2e1dab49d70c19603f7d4edbaa3a0e9f7e4d0

Contents?: true

Size: 1.56 KB

Versions: 20

Compression:

Stored size: 1.56 KB

Contents

(function(){function u(e){var t=e.tagName.toUpperCase();if("OPTION"==t)return!0;if("INPUT"!=t)return!1;var r=e.type.toLowerCase();return"checkbox"==r||"radio"==r}function s(e){var t="selected",r=e.type&&e.type.toLowerCase();return"checkbox"!=r&&"radio"!=r||(t="checked"),!!e[t]}function c(e,t){var r=e.getAttributeNode(t);return r&&r.specified?r.value:null}var i=["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","compact","complete","controls","declare","default","defaultchecked","defaultselected","defer","disabled","ended","formnovalidate","hidden","indeterminate","iscontenteditable","ismap","itemscope","loop","multiple","muted","nohref","nomodule","noresize","noshade","novalidate","nowrap","open","paused","playsinline","pubdate","readonly","required","reversed","scoped","seamless","seeking","selected","truespeed","typemustmatch","willvalidate"],d={"class":"className",readonly:"readOnly"};return function f(e,t){var r=null,a=t.toLowerCase();if("style"==a)return(r=e.style)&&"string"!=typeof r&&(r=r.cssText),r;if(("selected"==a||"checked"==a)&&u(e))return s(e)?"true":null;if(tagName=e.tagName.toUpperCase(),"IMG"==tagName&&"src"==a||"A"==tagName&&"href"==a)return(r=c(e,a))&&(r=e[a]),r;if("spellcheck"==a){if(null===!(r=c(e,a))){if("false"==r.toLowerCase())return"false";if("true"==r.toLowerCase())return"true"}return e[a]+""}var l,n=d[t]||t;if(i.some(function(e){e==a}))return(r=!(null===(r=c(e,a)))||e[n])?"true":null;try{l=e[n]}catch(o){}return null!=(r=null==l||"object"==typeof l||"function"==typeof l?c(e,t):l)?r.toString():null}})()

Version data entries

20 entries across 19 versions & 3 rubygems

Version Path
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/capybara-3.29.0/lib/capybara/selenium/atoms/getAttribute.min.js
tdiary-5.1.1 vendor/bundle/ruby/2.7.0/gems/capybara-3.31.0/lib/capybara/selenium/atoms/getAttribute.min.js
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/capybara-3.29.0/lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.31.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.30.0 lib/capybara/selenium/atoms/getAttribute.min.js
tdiary-5.1.0 vendor/bundle/gems/capybara-3.29.0/lib/capybara/selenium/atoms/getAttribute.min.js
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/selenium/atoms/getAttribute.min.js
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.29.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.28.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.27.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.26.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.25.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.24.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.23.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.22.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.21.0 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.20.2 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.20.1 lib/capybara/selenium/atoms/getAttribute.min.js
capybara-3.20.0 lib/capybara/selenium/atoms/getAttribute.min.js