I have HTML that looks like this:
<input custom_attribute="so cool" type="text" />
I would like to enter text in it using Watir.
I have HTML that looks like this:
<input custom_attribute="so cool" type="text" />
I would like to enter text in it using Watir.
browser.text_field(:xpath , "//input[@custom_attribute='so cool']/").set("even more cool")
Sources: