Class: Watir::HTMLElement

Inherits:
Element
  • Object
show all
Defined in:
lib/watir-webdriver/elements/generated.rb

Constant Summary

Constant Summary

Constants included from Atoms

Atoms::ATOMS

Instance Method Summary collapse

Methods inherited from Element

#==, #attribute_value, #browser, #class_name, #click, #double_click, #drag_and_drop_by, #drag_and_drop_on, #driver, #exists?, #fire_event, #flash, #focus, #focused?, #hash, #hover, #id, #initialize, #inner_html, #inspect, #outer_html, #parent, #present?, #right_click, #run_checkers, #select_text, #send_keys, #style, #tag_name, #text, #to_subtype, #value, #visible?, #wd

Methods included from AttributeHelper

#attribute, #attribute_list, #inherit_attributes_from, #method, #typed_attributes

Methods included from EventuallyPresent

#wait_until_present, #wait_while_present, #when_present

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, #cite, #cites, #code, #codes, #col, #colgroup, #colgroups, #cols, #data, #datalist, #datalists, #datas, #dd, #dds, #del, #dels, #details, #detailses, #dfn, #dfns, #dialog, #dialogs, #div, #divs, #dl, #dls, #dt, #dts, #element, #elements, #em, #embed, #embeds, #ems, #extract_selector, #field_set, #field_sets, #fieldset, #fieldsets, #figcaption, #figcaptions, #figure, #figures, #file_field, #file_fields, #font, #fonts, #footer, #footers, #form, #forms, #frame, #frames, #frameset, #framesets, #h1, #h1s, #h2, #h2s, #h3, #h3s, #h4, #h4s, #h5, #h5s, #h6, #h6s, #head, #header, #headers, #heads, #hgroup, #hgroups, #hidden, #hiddens, #hr, #hrs, #html, #htmls, #i, #iframe, #iframes, #image, #images, #img, #imgs, #input, #inputs, #ins, #inses, #is, #kbd, #kbds, #keygen, #keygens, #label, #labels, #legend, #legends, #li, #link, #links, #lis, #main, #mains, #map, #maps, #mark, #marks, #menu, #menuitem, #menuitems, #menus, #meta, #metas, #meter, #meters, #nav, #navs, #noscript, #noscripts, #object, #objects, #ol, #ols, #optgroup, #optgroups, #option, #options, #output, #outputs, #p, #param, #params, #pre, #pres, #progress, #progresses, #ps, #q, #qs, #radio, #radios, #rp, #rps, #rt, #rts, #rubies, #ruby, #s, #samp, #samps, #script, #scripts, #section, #sections, #select, #select_list, #select_lists, #selects, #small, #smalls, #source, #sources, #span, #spans, #ss, #strong, #strongs, #style, #styles, #sub, #subs, #summaries, #summary, #sup, #sups, #table, #tables, #tbody, #tbodys, #td, #tds, #template, #templates, #text_field, #text_fields, #textarea, #textareas, #tfoot, #tfoots, #th, #thead, #theads, #ths, #time, #times, #titles, #tr, #track, #tracks, #trs, #u, #ul, #uls, #us, #var, #vars, #video, #videos, #wbr, #wbrs

Methods included from Atoms

load

Methods included from XpathSupport

downcase, escape

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

#access_keyString

Returns value of accessKey property

Returns:

  • (String)

    value of accessKey property



18
# File 'lib/watir-webdriver/elements/generated.rb', line 18

attribute(String, :access_key, :accessKey)

#access_key_labelString

Returns value of accessKeyLabel property

Returns:

  • (String)

    value of accessKeyLabel property



19
# File 'lib/watir-webdriver/elements/generated.rb', line 19

attribute(String, :access_key_label, :accessKeyLabel)

#command_checked?Boolean

Returns value of commandChecked property

Returns:

  • (Boolean)

    value of commandChecked property



29
# File 'lib/watir-webdriver/elements/generated.rb', line 29

attribute("Boolean", :command_checked?, :commandChecked)

#command_disabled?Boolean

Returns value of commandDisabled property

Returns:

  • (Boolean)

    value of commandDisabled property



28
# File 'lib/watir-webdriver/elements/generated.rb', line 28

attribute("Boolean", :command_disabled?, :commandDisabled)

#command_hidden?Boolean

Returns value of commandHidden property

Returns:

  • (Boolean)

    value of commandHidden property



27
# File 'lib/watir-webdriver/elements/generated.rb', line 27

attribute("Boolean", :command_hidden?, :commandHidden)

#command_iconString

Returns value of commandIcon property

Returns:

  • (String)

    value of commandIcon property



26
# File 'lib/watir-webdriver/elements/generated.rb', line 26

attribute(String, :command_icon, :commandIcon)

#command_labelString

Returns value of commandLabel property

Returns:

  • (String)

    value of commandLabel property



25
# File 'lib/watir-webdriver/elements/generated.rb', line 25

attribute(String, :command_label, :commandLabel)

#command_typeString

Returns value of commandType property

Returns:

  • (String)

    value of commandType property



24
# File 'lib/watir-webdriver/elements/generated.rb', line 24

attribute(String, :command_type, :commandType)

#content_editableString

Returns value of contentEditable property

Returns:

  • (String)

    value of contentEditable property



93
# File 'lib/watir-webdriver/elements/generated.rb', line 93

attribute(String, :content_editable, :contentEditable)

#content_editable?Boolean

Returns value of isContentEditable property

Returns:

  • (Boolean)

    value of isContentEditable property



94
# File 'lib/watir-webdriver/elements/generated.rb', line 94

attribute("Boolean", :content_editable?, :isContentEditable)

#context_menuString

Returns value of contextMenu property

Returns:

  • (String)

    value of contextMenu property



22
# File 'lib/watir-webdriver/elements/generated.rb', line 22

attribute(String, :context_menu, :contextMenu)

#datasetString

Returns value of dataset property

Returns:

  • (String)

    value of dataset property



8
# File 'lib/watir-webdriver/elements/generated.rb', line 8

attribute(String, :dataset, :dataset)

#dirString

Returns value of dir property

Returns:

  • (String)

    value of dir property



7
# File 'lib/watir-webdriver/elements/generated.rb', line 7

attribute(String, :dir, :dir)

#draggable?Boolean

Returns value of draggable property

Returns:

  • (Boolean)

    value of draggable property



20
# File 'lib/watir-webdriver/elements/generated.rb', line 20

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

#dropzoneString

Returns value of dropzone property

Returns:

  • (String)

    value of dropzone property



21
# File 'lib/watir-webdriver/elements/generated.rb', line 21

attribute(String, :dropzone, :dropzone)

#hidden?Boolean

Returns value of hidden property

Returns:

  • (Boolean)

    value of hidden property



16
# File 'lib/watir-webdriver/elements/generated.rb', line 16

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

#item_idString

Returns value of itemId property

Returns:

  • (String)

    value of itemId property



11
# File 'lib/watir-webdriver/elements/generated.rb', line 11

attribute(String, :item_id, :itemId)

#item_propString

Returns value of itemProp property

Returns:

  • (String)

    value of itemProp property



13
# File 'lib/watir-webdriver/elements/generated.rb', line 13

attribute(String, :item_prop, :itemProp)

#item_refString

Returns value of itemRef property

Returns:

  • (String)

    value of itemRef property



12
# File 'lib/watir-webdriver/elements/generated.rb', line 12

attribute(String, :item_ref, :itemRef)

#item_scope?Boolean

Returns value of itemScope property

Returns:

  • (Boolean)

    value of itemScope property



9
# File 'lib/watir-webdriver/elements/generated.rb', line 9

attribute("Boolean", :item_scope?, :itemScope)

#item_typeString

Returns value of itemType property

Returns:

  • (String)

    value of itemType property



10
# File 'lib/watir-webdriver/elements/generated.rb', line 10

attribute(String, :item_type, :itemType)

#item_valueString

Returns value of itemValue property

Returns:

  • (String)

    value of itemValue property



15
# File 'lib/watir-webdriver/elements/generated.rb', line 15

attribute(String, :item_value, :itemValue)

#langString

Returns value of lang property

Returns:

  • (String)

    value of lang property



5
# File 'lib/watir-webdriver/elements/generated.rb', line 5

attribute(String, :lang, :lang)

#onabortString

Returns value of onabort property

Returns:

  • (String)

    value of onabort property



30
# File 'lib/watir-webdriver/elements/generated.rb', line 30

attribute(String, :onabort, :onabort)

#onautocompleteString

Returns value of onautocomplete property

Returns:

  • (String)

    value of onautocomplete property



31
# File 'lib/watir-webdriver/elements/generated.rb', line 31

attribute(String, :onautocomplete, :onautocomplete)

#onautocompleteerrorString

Returns value of onautocompleteerror property

Returns:

  • (String)

    value of onautocompleteerror property



32
# File 'lib/watir-webdriver/elements/generated.rb', line 32

attribute(String, :onautocompleteerror, :onautocompleteerror)

#onblurString

Returns value of onblur property

Returns:

  • (String)

    value of onblur property



33
# File 'lib/watir-webdriver/elements/generated.rb', line 33

attribute(String, :onblur, :onblur)

#oncancelString

Returns value of oncancel property

Returns:

  • (String)

    value of oncancel property



34
# File 'lib/watir-webdriver/elements/generated.rb', line 34

attribute(String, :oncancel, :oncancel)

#oncanplayString

Returns value of oncanplay property

Returns:

  • (String)

    value of oncanplay property



35
# File 'lib/watir-webdriver/elements/generated.rb', line 35

attribute(String, :oncanplay, :oncanplay)

#oncanplaythroughString

Returns value of oncanplaythrough property

Returns:

  • (String)

    value of oncanplaythrough property



36
# File 'lib/watir-webdriver/elements/generated.rb', line 36

attribute(String, :oncanplaythrough, :oncanplaythrough)

#onchangeString

Returns value of onchange property

Returns:

  • (String)

    value of onchange property



37
# File 'lib/watir-webdriver/elements/generated.rb', line 37

attribute(String, :onchange, :onchange)

#onclickString

Returns value of onclick property

Returns:

  • (String)

    value of onclick property



38
# File 'lib/watir-webdriver/elements/generated.rb', line 38

attribute(String, :onclick, :onclick)

#oncloseString

Returns value of onclose property

Returns:

  • (String)

    value of onclose property



39
# File 'lib/watir-webdriver/elements/generated.rb', line 39

attribute(String, :onclose, :onclose)

#oncontextmenuString

Returns value of oncontextmenu property

Returns:

  • (String)

    value of oncontextmenu property



40
# File 'lib/watir-webdriver/elements/generated.rb', line 40

attribute(String, :oncontextmenu, :oncontextmenu)

#oncuechangeString

Returns value of oncuechange property

Returns:

  • (String)

    value of oncuechange property



41
# File 'lib/watir-webdriver/elements/generated.rb', line 41

attribute(String, :oncuechange, :oncuechange)

#ondblclickString

Returns value of ondblclick property

Returns:

  • (String)

    value of ondblclick property



42
# File 'lib/watir-webdriver/elements/generated.rb', line 42

attribute(String, :ondblclick, :ondblclick)

#ondragString

Returns value of ondrag property

Returns:

  • (String)

    value of ondrag property



43
# File 'lib/watir-webdriver/elements/generated.rb', line 43

attribute(String, :ondrag, :ondrag)

#ondragendString

Returns value of ondragend property

Returns:

  • (String)

    value of ondragend property



44
# File 'lib/watir-webdriver/elements/generated.rb', line 44

attribute(String, :ondragend, :ondragend)

#ondragenterString

Returns value of ondragenter property

Returns:

  • (String)

    value of ondragenter property



45
# File 'lib/watir-webdriver/elements/generated.rb', line 45

attribute(String, :ondragenter, :ondragenter)

#ondragexitString

Returns value of ondragexit property

Returns:

  • (String)

    value of ondragexit property



46
# File 'lib/watir-webdriver/elements/generated.rb', line 46

attribute(String, :ondragexit, :ondragexit)

#ondragleaveString

Returns value of ondragleave property

Returns:

  • (String)

    value of ondragleave property



47
# File 'lib/watir-webdriver/elements/generated.rb', line 47

attribute(String, :ondragleave, :ondragleave)

#ondragoverString

Returns value of ondragover property

Returns:

  • (String)

    value of ondragover property



48
# File 'lib/watir-webdriver/elements/generated.rb', line 48

attribute(String, :ondragover, :ondragover)

#ondragstartString

Returns value of ondragstart property

Returns:

  • (String)

    value of ondragstart property



49
# File 'lib/watir-webdriver/elements/generated.rb', line 49

attribute(String, :ondragstart, :ondragstart)

#ondropString

Returns value of ondrop property

Returns:

  • (String)

    value of ondrop property



50
# File 'lib/watir-webdriver/elements/generated.rb', line 50

attribute(String, :ondrop, :ondrop)

#ondurationchangeString

Returns value of ondurationchange property

Returns:

  • (String)

    value of ondurationchange property



51
# File 'lib/watir-webdriver/elements/generated.rb', line 51

attribute(String, :ondurationchange, :ondurationchange)

#onemptiedString

Returns value of onemptied property

Returns:

  • (String)

    value of onemptied property



52
# File 'lib/watir-webdriver/elements/generated.rb', line 52

attribute(String, :onemptied, :onemptied)

#onendedString

Returns value of onended property

Returns:

  • (String)

    value of onended property



53
# File 'lib/watir-webdriver/elements/generated.rb', line 53

attribute(String, :onended, :onended)

#onerrorString

Returns value of onerror property

Returns:

  • (String)

    value of onerror property



54
# File 'lib/watir-webdriver/elements/generated.rb', line 54

attribute(String, :onerror, :onerror)

#onfocusString

Returns value of onfocus property

Returns:

  • (String)

    value of onfocus property



55
# File 'lib/watir-webdriver/elements/generated.rb', line 55

attribute(String, :onfocus, :onfocus)

#oninputString

Returns value of oninput property

Returns:

  • (String)

    value of oninput property



56
# File 'lib/watir-webdriver/elements/generated.rb', line 56

attribute(String, :oninput, :oninput)

#oninvalidString

Returns value of oninvalid property

Returns:

  • (String)

    value of oninvalid property



57
# File 'lib/watir-webdriver/elements/generated.rb', line 57

attribute(String, :oninvalid, :oninvalid)

#onkeydownString

Returns value of onkeydown property

Returns:

  • (String)

    value of onkeydown property



58
# File 'lib/watir-webdriver/elements/generated.rb', line 58

attribute(String, :onkeydown, :onkeydown)

#onkeypressString

Returns value of onkeypress property

Returns:

  • (String)

    value of onkeypress property



59
# File 'lib/watir-webdriver/elements/generated.rb', line 59

attribute(String, :onkeypress, :onkeypress)

#onkeyupString

Returns value of onkeyup property

Returns:

  • (String)

    value of onkeyup property



60
# File 'lib/watir-webdriver/elements/generated.rb', line 60

attribute(String, :onkeyup, :onkeyup)

#onloadString

Returns value of onload property

Returns:

  • (String)

    value of onload property



61
# File 'lib/watir-webdriver/elements/generated.rb', line 61

attribute(String, :onload, :onload)

#onloadeddataString

Returns value of onloadeddata property

Returns:

  • (String)

    value of onloadeddata property



62
# File 'lib/watir-webdriver/elements/generated.rb', line 62

attribute(String, :onloadeddata, :onloadeddata)

#onloadedmetadataString

Returns value of onloadedmetadata property

Returns:

  • (String)

    value of onloadedmetadata property



63
# File 'lib/watir-webdriver/elements/generated.rb', line 63

attribute(String, :onloadedmetadata, :onloadedmetadata)

#onloadstartString

Returns value of onloadstart property

Returns:

  • (String)

    value of onloadstart property



64
# File 'lib/watir-webdriver/elements/generated.rb', line 64

attribute(String, :onloadstart, :onloadstart)

#onmousedownString

Returns value of onmousedown property

Returns:

  • (String)

    value of onmousedown property



65
# File 'lib/watir-webdriver/elements/generated.rb', line 65

attribute(String, :onmousedown, :onmousedown)

#onmouseenterString

Returns value of onmouseenter property

Returns:

  • (String)

    value of onmouseenter property



66
# File 'lib/watir-webdriver/elements/generated.rb', line 66

attribute(String, :onmouseenter, :onmouseenter)

#onmouseleaveString

Returns value of onmouseleave property

Returns:

  • (String)

    value of onmouseleave property



67
# File 'lib/watir-webdriver/elements/generated.rb', line 67

attribute(String, :onmouseleave, :onmouseleave)

#onmousemoveString

Returns value of onmousemove property

Returns:

  • (String)

    value of onmousemove property



68
# File 'lib/watir-webdriver/elements/generated.rb', line 68

attribute(String, :onmousemove, :onmousemove)

#onmouseoutString

Returns value of onmouseout property

Returns:

  • (String)

    value of onmouseout property



69
# File 'lib/watir-webdriver/elements/generated.rb', line 69

attribute(String, :onmouseout, :onmouseout)

#onmouseoverString

Returns value of onmouseover property

Returns:

  • (String)

    value of onmouseover property



70
# File 'lib/watir-webdriver/elements/generated.rb', line 70

attribute(String, :onmouseover, :onmouseover)

#onmouseupString

Returns value of onmouseup property

Returns:

  • (String)

    value of onmouseup property



71
# File 'lib/watir-webdriver/elements/generated.rb', line 71

attribute(String, :onmouseup, :onmouseup)

#onmousewheelString

Returns value of onmousewheel property

Returns:

  • (String)

    value of onmousewheel property



72
# File 'lib/watir-webdriver/elements/generated.rb', line 72

attribute(String, :onmousewheel, :onmousewheel)

#onpauseString

Returns value of onpause property

Returns:

  • (String)

    value of onpause property



73
# File 'lib/watir-webdriver/elements/generated.rb', line 73

attribute(String, :onpause, :onpause)

#onplayString

Returns value of onplay property

Returns:

  • (String)

    value of onplay property



74
# File 'lib/watir-webdriver/elements/generated.rb', line 74

attribute(String, :onplay, :onplay)

#onplayingString

Returns value of onplaying property

Returns:

  • (String)

    value of onplaying property



75
# File 'lib/watir-webdriver/elements/generated.rb', line 75

attribute(String, :onplaying, :onplaying)

#onprogressString

Returns value of onprogress property

Returns:

  • (String)

    value of onprogress property



76
# File 'lib/watir-webdriver/elements/generated.rb', line 76

attribute(String, :onprogress, :onprogress)

#onratechangeString

Returns value of onratechange property

Returns:

  • (String)

    value of onratechange property



77
# File 'lib/watir-webdriver/elements/generated.rb', line 77

attribute(String, :onratechange, :onratechange)

#onresetString

Returns value of onreset property

Returns:

  • (String)

    value of onreset property



78
# File 'lib/watir-webdriver/elements/generated.rb', line 78

attribute(String, :onreset, :onreset)

#onresizeString

Returns value of onresize property

Returns:

  • (String)

    value of onresize property



79
# File 'lib/watir-webdriver/elements/generated.rb', line 79

attribute(String, :onresize, :onresize)

#onscrollString

Returns value of onscroll property

Returns:

  • (String)

    value of onscroll property



80
# File 'lib/watir-webdriver/elements/generated.rb', line 80

attribute(String, :onscroll, :onscroll)

#onseekedString

Returns value of onseeked property

Returns:

  • (String)

    value of onseeked property



81
# File 'lib/watir-webdriver/elements/generated.rb', line 81

attribute(String, :onseeked, :onseeked)

#onseekingString

Returns value of onseeking property

Returns:

  • (String)

    value of onseeking property



82
# File 'lib/watir-webdriver/elements/generated.rb', line 82

attribute(String, :onseeking, :onseeking)

#onselectString

Returns value of onselect property

Returns:

  • (String)

    value of onselect property



83
# File 'lib/watir-webdriver/elements/generated.rb', line 83

attribute(String, :onselect, :onselect)

#onshowString

Returns value of onshow property

Returns:

  • (String)

    value of onshow property



84
# File 'lib/watir-webdriver/elements/generated.rb', line 84

attribute(String, :onshow, :onshow)

#onsortString

Returns value of onsort property

Returns:

  • (String)

    value of onsort property



85
# File 'lib/watir-webdriver/elements/generated.rb', line 85

attribute(String, :onsort, :onsort)

#onstalledString

Returns value of onstalled property

Returns:

  • (String)

    value of onstalled property



86
# File 'lib/watir-webdriver/elements/generated.rb', line 86

attribute(String, :onstalled, :onstalled)

#onsubmitString

Returns value of onsubmit property

Returns:

  • (String)

    value of onsubmit property



87
# File 'lib/watir-webdriver/elements/generated.rb', line 87

attribute(String, :onsubmit, :onsubmit)

#onsuspendString

Returns value of onsuspend property

Returns:

  • (String)

    value of onsuspend property



88
# File 'lib/watir-webdriver/elements/generated.rb', line 88

attribute(String, :onsuspend, :onsuspend)

#ontimeupdateString

Returns value of ontimeupdate property

Returns:

  • (String)

    value of ontimeupdate property



89
# File 'lib/watir-webdriver/elements/generated.rb', line 89

attribute(String, :ontimeupdate, :ontimeupdate)

#ontoggleString

Returns value of ontoggle property

Returns:

  • (String)

    value of ontoggle property



90
# File 'lib/watir-webdriver/elements/generated.rb', line 90

attribute(String, :ontoggle, :ontoggle)

#onvolumechangeString

Returns value of onvolumechange property

Returns:

  • (String)

    value of onvolumechange property



91
# File 'lib/watir-webdriver/elements/generated.rb', line 91

attribute(String, :onvolumechange, :onvolumechange)

#onwaitingString

Returns value of onwaiting property

Returns:

  • (String)

    value of onwaiting property



92
# File 'lib/watir-webdriver/elements/generated.rb', line 92

attribute(String, :onwaiting, :onwaiting)

#propertiesString

Returns value of properties property

Returns:

  • (String)

    value of properties property



14
# File 'lib/watir-webdriver/elements/generated.rb', line 14

attribute(String, :properties, :properties)

#spellcheck?Boolean

Returns value of spellcheck property

Returns:

  • (Boolean)

    value of spellcheck property



23
# File 'lib/watir-webdriver/elements/generated.rb', line 23

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

#tab_indexFixnum

Returns value of tabIndex property

Returns:

  • (Fixnum)

    value of tabIndex property



17
# File 'lib/watir-webdriver/elements/generated.rb', line 17

attribute(Fixnum, :tab_index, :tabIndex)

#titleString

Returns value of title property

Returns:

  • (String)

    value of title property



4
# File 'lib/watir-webdriver/elements/generated.rb', line 4

attribute(String, :title, :title)

#translate?Boolean

Returns value of translate property

Returns:

  • (Boolean)

    value of translate property



6
# File 'lib/watir-webdriver/elements/generated.rb', line 6

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