Class: Watir::HTMLElement

Inherits:
Object
  • Object
show all
Defined in:
lib/watir-formhandler/watir.rb

Overview

Adds the placeholder attribute to input fields to allow them to be searched by it. I tried to call the attribute method on Input and even TextField at first, but HTMLElement was the only one with which it was successfully added. This should surely be fixed some day.

Direct Known Subclasses

OptionGroup