How can I get value of element custom attribute with Watir

Željko Filipin picture Željko Filipin · Sep 18, 2009 · Viewed 12.6k times · Source

I have HTML that looks like this:

<input custom_attribute="so cool" type="text" />

I would like to get value of custom_attribute using Watir.