Class: Watir::Object

Inherits:
HTMLElement show all
Defined in:
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 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, #codes, #col, #colgroup, #colgroups, #cols, #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, #labels, #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

#alignString

Returns value of align property.

Returns:

  • (String)

    value of align property



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

attribute(String, :align, :align)

#archiveString

Returns value of archive property.

Returns:

  • (String)

    value of archive property



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

attribute(String, :archive, :archive)

#borderString

Returns value of border property.

Returns:

  • (String)

    value of border property



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

attribute(String, :border, :border)

#codeString

Returns value of code property.

Returns:

  • (String)

    value of code property



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

attribute(String, :code, :code)

#codebaseString

Returns value of codeBase property.

Returns:

  • (String)

    value of codeBase property



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

attribute(String, :codebase, :codeBase)

#codetypeString

Returns value of codeType property.

Returns:

  • (String)

    value of codeType property



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

attribute(String, :codetype, :codeType)

#contentdocumentString

Returns value of contentDocument property.

Returns:

  • (String)

    value of contentDocument property



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

attribute(String, :contentdocument, :contentDocument)

#contentwindowString

Returns value of contentWindow property.

Returns:

  • (String)

    value of contentWindow property



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

attribute(String, :contentwindow, :contentWindow)

#dataString

Returns value of data property.

Returns:

  • (String)

    value of data property



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

attribute(String, :data, :data)

#declare?Boolean

Returns value of declare property.

Returns:

  • (Boolean)

    value of declare property



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

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

#formString

Returns value of form property.

Returns:

  • (String)

    value of form property



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

attribute(String, :form, :form)

#hspaceInteger

Returns value of hspace property.

Returns:

  • (Integer)

    value of hspace property



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

attribute(Integer, :hspace, :hspace)

#nameString

Returns value of name property.

Returns:

  • (String)

    value of name property



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

attribute(String, :name, :name)

#standbyString

Returns value of standby property.

Returns:

  • (String)

    value of standby property



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

attribute(String, :standby, :standby)

#typeString

Returns value of type property.

Returns:

  • (String)

    value of type property



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

attribute(String, :type, :type)

#typemustmatch?Boolean

Returns value of typeMustMatch property.

Returns:

  • (Boolean)

    value of typeMustMatch property



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

attribute("Boolean", :typemustmatch?, :typeMustMatch)

#validationmessageString

Returns value of validationMessage property.

Returns:

  • (String)

    value of validationMessage property



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

attribute(String, :validationmessage, :validationMessage)

#validityString

Returns value of validity property.

Returns:

  • (String)

    value of validity property



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

attribute(String, :validity, :validity)

#vspaceInteger

Returns value of vspace property.

Returns:

  • (Integer)

    value of vspace property



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

attribute(Integer, :vspace, :vspace)

#willvalidate?Boolean

Returns value of willValidate property.

Returns:

  • (Boolean)

    value of willValidate property



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

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