On Wed, Sep 24, 2014 at 5:00 PM, Matthew Flaschen <mflaschen@wikimedia.org> wrote:
On 09/24/2014 10:11 AM, Chris McMahon wrote:

https://gerrit.wikimedia.org/r/#/c/161411/3/tests/browser/features/step_definitions/moderation_steps.rb

Yeah, that's what I understood as well (that he was talking about changing from <input> to a <textarea>).

That doesn't seem correct behavior by Selenium, if so.  <input> and <textarea> are both different forms of text input.  <input> (or <input type="text">, which is equivalent) is for one-line text input, whereas <textarea> is multi-line text input.

That's what the HTML spec says, but that's not how things actually work in Selenium, and it's been like that for a long time.  They don't think it be like that but it do.  You can see the test work with "button" not "text_field" in the example above.