Class: Watir::TextArea

Inherits:
HTMLElement show all
Includes:
UserEditable
Defined in:
lib/watir/elements/text_area.rb,
lib/watir/elements/html_elements.rb

Constant Summary

Constants inherited from Element

Element::CASE_INSENSITIVE_ATTRIBUTES

Instance Attribute Summary

Attributes inherited from Element

#keyword, #selector

Instance Method Summary collapse

Methods included from UserEditable

#append, #clear, #content_editable, #set, #set!

Methods inherited from HTMLElement

#accesskey, #content_editable, #content_editable?, #dataset, #dir, #draggable?, #hidden?, #innertext, #lang, #onabort, #onblur, #oncancel, #oncanplay, #oncanplaythrough, #onchange, #onclick, #onclose, #oncopy, #oncuechange, #oncut, #ondblclick, #ondrag, #ondragend, #ondragenter, #ondragexit, #ondragleave, #ondragover, #ondragstart, #ondrop, #ondurationchange, #onemptied, #onended, #onerror, #onfocus, #oninput, #oninvalid, #onkeydown, #onkeypress, #onkeyup, #onload, #onloadeddata, #onloadedmetadata, #onloadstart, #onmousedown, #onmouseenter, #onmouseleave, #onmousemove, #onmouseout, #onmouseover, #onmouseup, #onpaste, #onpause, #onplay, #onplaying, #onprogress, #onratechange, #onreset, #onresize, #onscroll, #onseeked, #onseeking, #onselect, #onshow, #onstalled, #onsubmit, #onsuspend, #ontimeupdate, #ontoggle, #onvolumechange, #onwaiting, #onwheel, #spellcheck?, #tabindex, #title, #translate?

Methods inherited from Element

#==, #attribute_list, #attribute_value, #attribute_values, #browser, #build, #cache=, #center, #class_name, #classes, #click, #click!, #double_click, #double_click!, #drag_and_drop_by, #drag_and_drop_on, #driver, #enabled?, #focused?, #hash, #height, #hover, #id, #in_viewport?, #initialize, #inspect, #locate, #located?, #location, #obscured?, #present?, #reset!, #right_click, #selector_string, #send_keys, #set, #shadow_root, #size, #stale?, #stale_in_context?, #style, #tag_name, #text, #to_subtype, #wd, #width

Methods included from AttributeHelper

#attribute, #attribute_list, #define_attribute, #define_boolean_attribute, #define_float_attribute, #define_int_attribute, #define_string_attribute, #inherit_attributes_from, #method, #typed_attributes

Methods included from SearchContext

#assert_exists, #check_condition, #element_call, #exists?, #unknown_exception, #wait_for_exists

Methods included from Scrolling

#scroll

Methods included from Locators::ClassHelpers

#class_from_string, #element_class_name, #element_matcher_class, #locator, #locator_class, #selector_builder, #selector_builder_class

Methods included from JSExecution

#execute_script, #fire_event, #flash, #focus, #inner_html, #inner_text, #outer_html, #select_text, #selected_text, #text_content

Methods included from Adjacent

#child, #children, #following_sibling, #following_siblings, #parent, #preceding_sibling, #preceding_siblings, #siblings

Methods included from Waitable

#wait_until, #wait_while

Methods included from Container

#a, #abbr, #abbrs, #address, #addresses, #area, #areas, #article, #articles, #as, #aside, #asides, #audio, #audios, #b, #base, #bases, #bdi, #bdis, #bdo, #bdos, #blockquote, #blockquotes, #body, #bodys, #br, #brs, #bs, #button, #buttons, #canvas, #canvases, #caption, #captions, #checkbox, #checkboxes, #circle, #circles, #cite, #cites, #code, #codes, #col, #colgroup, #colgroups, #data, #datalist, #datalists, #datas, #date_field, #date_fields, #date_time_field, #date_time_fields, #dd, #dds, #defs, #defss, #del, #dels, #desc, #descs, #details, #detailses, #dfn, #dfns, #dialog, #dialogs, #div, #divs, #dl, #dls, #dt, #dts, #element, #elements, #ellipse, #ellipses, #em, #embed, #embeds, #ems, #field_set, #field_sets, #fieldset, #fieldsets, #figcaption, #figcaptions, #figure, #figures, #file_field, #file_fields, #font, #fonts, #footer, #footers, #foreign_object, #foreign_objects, #forms, #frame, #frames, #frameset, #framesets, #g, #gs, #h1, #h1s, #h2, #h2s, #h3, #h3s, #h4, #h4s, #h5, #h5s, #h6, #h6s, #head, #header, #headers, #heads, #hidden, #hiddens, #hr, #hrs, #html, #htmls, #i, #iframe, #iframes, #image, #images, #img, #imgs, #input, #inputs, #ins, #inses, #is, #kbd, #kbds, #label, #legend, #legends, #li, #line, #linear_gradient, #linear_gradients, #lines, #link, #links, #lis, #main, #mains, #map, #maps, #mark, #marker, #markers, #marks, #meta, #metadata, #metadatas, #metas, #meter, #meters, #nav, #navs, #noscript, #noscripts, #object, #objects, #ol, #ols, #optgroup, #optgroups, #option, #options, #output, #outputs, #p, #param, #params, #path, #paths, #pattern, #patterns, #picture, #pictures, #polygon, #polygons, #polyline, #polylines, #pre, #pres, #progress, #progresses, #ps, #q, #qs, #radial_gradient, #radial_gradients, #radio, #radio_set, #radios, #rb, #rbs, #rect, #rects, #rp, #rps, #rt, #rtc, #rtcs, #rts, #rubies, #ruby, #s, #samp, #samps, #script, #scripts, #section, #sections, #select, #select_list, #select_lists, #selects, #small, #smalls, #source, #sources, #span, #spans, #ss, #stop, #stops, #strong, #strongs, #style, #styles, #sub, #subs, #summaries, #summary, #sup, #sups, #svg, #svgs, #switch, #switches, #symbol, #symbols, #table, #tables, #tbody, #tbodys, #td, #tds, #template, #templates, #text_field, #text_fields, #text_path, #text_paths, #textarea, #textareas, #tfoot, #tfoots, #th, #thead, #theads, #ths, #time, #times, #title, #titles, #tr, #track, #tracks, #trs, #tspan, #tspans, #u, #ul, #uls, #us, #use, #uses, #var, #vars, #video, #videos, #view, #views, #wbr, #wbrs

Methods included from JSSnippets

#execute_js

Constructor Details

This class inherits a constructor from Watir::Element

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Watir::Element

Instance Method Details

#autocompleteString

Returns value of autocomplete property.

Returns:

  • (String)

    value of autocomplete property



242
# File 'lib/watir/elements/html_elements.rb', line 242

attribute(String, :autocomplete, :autocomplete)

#autofocus?Boolean

Returns value of autofocus property.

Returns:

  • (Boolean)

    value of autofocus property



243
# File 'lib/watir/elements/html_elements.rb', line 243

attribute("Boolean", :autofocus?, :autofocus)

#colsInteger

Returns value of cols property.

Returns:

  • (Integer)

    value of cols property



244
# File 'lib/watir/elements/html_elements.rb', line 244

attribute(Integer, :cols, :cols)

#defaultvalueString

Returns value of defaultValue property.

Returns:

  • (String)

    value of defaultValue property



256
# File 'lib/watir/elements/html_elements.rb', line 256

attribute(String, :defaultvalue, :defaultValue)

#dirnameString

Returns value of dirName property.

Returns:

  • (String)

    value of dirName property



245
# File 'lib/watir/elements/html_elements.rb', line 245

attribute(String, :dirname, :dirName)

#disabled?Boolean

Returns value of disabled property.

Returns:

  • (Boolean)

    value of disabled property



246
# File 'lib/watir/elements/html_elements.rb', line 246

attribute("Boolean", :disabled?, :disabled)

#formString

Returns value of form property.

Returns:

  • (String)

    value of form property



247
# File 'lib/watir/elements/html_elements.rb', line 247

attribute(String, :form, :form)

#labelsString

Returns value of labels property.

Returns:

  • (String)

    value of labels property



262
# File 'lib/watir/elements/html_elements.rb', line 262

attribute(String, :labels, :labels)

#maxlengthInteger

Returns value of maxLength property.

Returns:

  • (Integer)

    value of maxLength property



248
# File 'lib/watir/elements/html_elements.rb', line 248

attribute(Integer, :maxlength, :maxLength)

#minlengthInteger

Returns value of minLength property.

Returns:

  • (Integer)

    value of minLength property



249
# File 'lib/watir/elements/html_elements.rb', line 249

attribute(Integer, :minlength, :minLength)

#nameString

Returns value of name property.

Returns:

  • (String)

    value of name property



250
# File 'lib/watir/elements/html_elements.rb', line 250

attribute(String, :name, :name)

#placeholderString

Returns value of placeholder property.

Returns:

  • (String)

    value of placeholder property



251
# File 'lib/watir/elements/html_elements.rb', line 251

attribute(String, :placeholder, :placeholder)

#readonly?Boolean

Returns value of readOnly property.

Returns:

  • (Boolean)

    value of readOnly property



252
# File 'lib/watir/elements/html_elements.rb', line 252

attribute("Boolean", :readonly?, :readOnly)

#required?Boolean

Returns value of required property.

Returns:

  • (Boolean)

    value of required property



253
# File 'lib/watir/elements/html_elements.rb', line 253

attribute("Boolean", :required?, :required)

#selectiondirectionString

Returns value of selectionDirection property.

Returns:

  • (String)

    value of selectionDirection property



265
# File 'lib/watir/elements/html_elements.rb', line 265

attribute(String, :selectiondirection, :selectionDirection)

#selectionendInteger

Returns value of selectionEnd property.

Returns:

  • (Integer)

    value of selectionEnd property



264
# File 'lib/watir/elements/html_elements.rb', line 264

attribute(Integer, :selectionend, :selectionEnd)

#selectionstartInteger

Returns value of selectionStart property.

Returns:

  • (Integer)

    value of selectionStart property



263
# File 'lib/watir/elements/html_elements.rb', line 263

attribute(Integer, :selectionstart, :selectionStart)

#textlengthInteger

Returns value of textLength property.

Returns:

  • (Integer)

    value of textLength property



258
# File 'lib/watir/elements/html_elements.rb', line 258

attribute(Integer, :textlength, :textLength)

#typeString

Returns value of type property.

Returns:

  • (String)

    value of type property



255
# File 'lib/watir/elements/html_elements.rb', line 255

attribute(String, :type, :type)

#validationmessageString

Returns value of validationMessage property.

Returns:

  • (String)

    value of validationMessage property



261
# File 'lib/watir/elements/html_elements.rb', line 261

attribute(String, :validationmessage, :validationMessage)

#validityString

Returns value of validity property.

Returns:

  • (String)

    value of validity property



260
# File 'lib/watir/elements/html_elements.rb', line 260

attribute(String, :validity, :validity)

#valueString

Returns value of value property.

Returns:

  • (String)

    value of value property



257
# File 'lib/watir/elements/html_elements.rb', line 257

attribute(String, :value, :value)

#willvalidate?Boolean

Returns value of willValidate property.

Returns:

  • (Boolean)

    value of willValidate property



259
# File 'lib/watir/elements/html_elements.rb', line 259

attribute("Boolean", :willvalidate?, :willValidate)

#wrapString

Returns value of wrap property.

Returns:

  • (String)

    value of wrap property



254
# File 'lib/watir/elements/html_elements.rb', line 254

attribute(String, :wrap, :wrap)