Sha256: 9a1f47f3684b04c37e5b738927a30595a039bd677ad7d147bada397f094a6811
Contents?: true
Size: 351 Bytes
Versions: 24
Compression:
Stored size: 351 Bytes
Contents
// Original Author: Justin Ko // Source: https://stackoverflow.com/questions/12485833/how-do-i-retrieve-list-of-element-attributes-using-watir-webdriver function() { var s = {}; var attrs = arguments[0].attributes; for (var l = 0; l < attrs.length; ++l) { var a = attrs[l]; s[a.name] = a.value.trim(); } return s; }
Version data entries
24 entries across 24 versions & 1 rubygems