public static string GetData(this GeckoElement node, string dataAttributeName) { if (string.IsNullOrEmpty(dataAttributeName)) throw new ArgumentException("attributeName"); return node.GetAttribute("data-" + dataAttributeName); }