Class: Watir::HTMLElement

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

Direct Known Subclasses

Anchor, Applet, Area, BR, Base, Body, Button, Canvas, DList, Data, DataList, Details, Dialog, Directory, Div, Embed, FieldSet, Font, Form, FrameSet, HR, Head, Heading, Html, IFrame, Image, Input, Keygen, LI, Label, Legend, Map, Marquee, Media, Menu, MenuItem, Meta, Meter, Mod, OList, Object, OptGroup, Option, Output, Paragraph, Param, Pre, Progress, Quote, Script, Select, Source, Span, Style, Table, TableCaption, TableCell, TableCol, TableRow, TableSection, Template, TextArea, Time, Title, Track, UList, Unknown

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

- (String) access_key

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)

- (String) access_key_label

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)

- (Boolean) command_checked?

Returns value of commandChecked property

Returns:

  • (Boolean)

    value of commandChecked property



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

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

- (Boolean) command_disabled?

Returns value of commandDisabled property

Returns:

  • (Boolean)

    value of commandDisabled property



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

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

- (Boolean) command_hidden?

Returns value of commandHidden property

Returns:

  • (Boolean)

    value of commandHidden property



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

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

- (String) command_icon

Returns value of commandIcon property

Returns:

  • (String)

    value of commandIcon property



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

attribute(String, :command_icon, :commandIcon)

- (String) command_label

Returns value of commandLabel property

Returns:

  • (String)

    value of commandLabel property



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

attribute(String, :command_label, :commandLabel)

- (String) command_type

Returns value of commandType property

Returns:

  • (String)

    value of commandType property



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

attribute(String, :command_type, :commandType)

- (String) content_editable

Returns value of contentEditable property

Returns:

  • (String)

    value of contentEditable property



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

attribute(String, :content_editable, :contentEditable)

- (Boolean) content_editable?

Returns value of isContentEditable property

Returns:

  • (Boolean)

    value of isContentEditable property



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

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

- (String) context_menu

Returns value of contextMenu property

Returns:

  • (String)

    value of contextMenu property



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

attribute(String, :context_menu, :contextMenu)

- (String) dataset

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)

- (String) dir

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)

- (Boolean) draggable?

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)

- (String) dropzone

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)

- (Boolean) hidden?

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)

- (String) item_id

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)

- (String) item_prop

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)

- (String) item_ref

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)

- (Boolean) item_scope?

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)

- (String) item_type

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)

- (String) item_value

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)

- (String) lang

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)

- (String) onabort

Returns value of onabort property

Returns:

  • (String)

    value of onabort property



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

attribute(String, :onabort, :onabort)

- (String) onautocomplete

Returns value of onautocomplete property

Returns:

  • (String)

    value of onautocomplete property



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

attribute(String, :onautocomplete, :onautocomplete)

- (String) onautocompleteerror

Returns value of onautocompleteerror property

Returns:

  • (String)

    value of onautocompleteerror property



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

attribute(String, :onautocompleteerror, :onautocompleteerror)

- (String) onblur

Returns value of onblur property

Returns:

  • (String)

    value of onblur property



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

attribute(String, :onblur, :onblur)

- (String) oncancel

Returns value of oncancel property

Returns:

  • (String)

    value of oncancel property



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

attribute(String, :oncancel, :oncancel)

- (String) oncanplay

Returns value of oncanplay property

Returns:

  • (String)

    value of oncanplay property



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

attribute(String, :oncanplay, :oncanplay)

- (String) oncanplaythrough

Returns value of oncanplaythrough property

Returns:

  • (String)

    value of oncanplaythrough property



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

attribute(String, :oncanplaythrough, :oncanplaythrough)

- (String) onchange

Returns value of onchange property

Returns:

  • (String)

    value of onchange property



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

attribute(String, :onchange, :onchange)

- (String) onclick

Returns value of onclick property

Returns:

  • (String)

    value of onclick property



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

attribute(String, :onclick, :onclick)

- (String) onclose

Returns value of onclose property

Returns:

  • (String)

    value of onclose property



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

attribute(String, :onclose, :onclose)

- (String) oncontextmenu

Returns value of oncontextmenu property

Returns:

  • (String)

    value of oncontextmenu property



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

attribute(String, :oncontextmenu, :oncontextmenu)

- (String) oncuechange

Returns value of oncuechange property

Returns:

  • (String)

    value of oncuechange property



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

attribute(String, :oncuechange, :oncuechange)

- (String) ondblclick

Returns value of ondblclick property

Returns:

  • (String)

    value of ondblclick property



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

attribute(String, :ondblclick, :ondblclick)

- (String) ondrag

Returns value of ondrag property

Returns:

  • (String)

    value of ondrag property



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

attribute(String, :ondrag, :ondrag)

- (String) ondragend

Returns value of ondragend property

Returns:

  • (String)

    value of ondragend property



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

attribute(String, :ondragend, :ondragend)

- (String) ondragenter

Returns value of ondragenter property

Returns:

  • (String)

    value of ondragenter property



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

attribute(String, :ondragenter, :ondragenter)

- (String) ondragexit

Returns value of ondragexit property

Returns:

  • (String)

    value of ondragexit property



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

attribute(String, :ondragexit, :ondragexit)

- (String) ondragleave

Returns value of ondragleave property

Returns:

  • (String)

    value of ondragleave property



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

attribute(String, :ondragleave, :ondragleave)

- (String) ondragover

Returns value of ondragover property

Returns:

  • (String)

    value of ondragover property



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

attribute(String, :ondragover, :ondragover)

- (String) ondragstart

Returns value of ondragstart property

Returns:

  • (String)

    value of ondragstart property



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

attribute(String, :ondragstart, :ondragstart)

- (String) ondrop

Returns value of ondrop property

Returns:

  • (String)

    value of ondrop property



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

attribute(String, :ondrop, :ondrop)

- (String) ondurationchange

Returns value of ondurationchange property

Returns:

  • (String)

    value of ondurationchange property



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

attribute(String, :ondurationchange, :ondurationchange)

- (String) onemptied

Returns value of onemptied property

Returns:

  • (String)

    value of onemptied property



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

attribute(String, :onemptied, :onemptied)

- (String) onended

Returns value of onended property

Returns:

  • (String)

    value of onended property



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

attribute(String, :onended, :onended)

- (String) onerror

Returns value of onerror property

Returns:

  • (String)

    value of onerror property



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

attribute(String, :onerror, :onerror)

- (String) onfocus

Returns value of onfocus property

Returns:

  • (String)

    value of onfocus property



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

attribute(String, :onfocus, :onfocus)

- (String) oninput

Returns value of oninput property

Returns:

  • (String)

    value of oninput property



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

attribute(String, :oninput, :oninput)

- (String) oninvalid

Returns value of oninvalid property

Returns:

  • (String)

    value of oninvalid property



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

attribute(String, :oninvalid, :oninvalid)

- (String) onkeydown

Returns value of onkeydown property

Returns:

  • (String)

    value of onkeydown property



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

attribute(String, :onkeydown, :onkeydown)

- (String) onkeypress

Returns value of onkeypress property

Returns:

  • (String)

    value of onkeypress property



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

attribute(String, :onkeypress, :onkeypress)

- (String) onkeyup

Returns value of onkeyup property

Returns:

  • (String)

    value of onkeyup property



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

attribute(String, :onkeyup, :onkeyup)

- (String) onload

Returns value of onload property

Returns:

  • (String)

    value of onload property



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

attribute(String, :onload, :onload)

- (String) onloadeddata

Returns value of onloadeddata property

Returns:

  • (String)

    value of onloadeddata property



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

attribute(String, :onloadeddata, :onloadeddata)

- (String) onloadedmetadata

Returns value of onloadedmetadata property

Returns:

  • (String)

    value of onloadedmetadata property



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

attribute(String, :onloadedmetadata, :onloadedmetadata)

- (String) onloadstart

Returns value of onloadstart property

Returns:

  • (String)

    value of onloadstart property



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

attribute(String, :onloadstart, :onloadstart)

- (String) onmousedown

Returns value of onmousedown property

Returns:

  • (String)

    value of onmousedown property



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

attribute(String, :onmousedown, :onmousedown)

- (String) onmouseenter

Returns value of onmouseenter property

Returns:

  • (String)

    value of onmouseenter property



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

attribute(String, :onmouseenter, :onmouseenter)

- (String) onmouseleave

Returns value of onmouseleave property

Returns:

  • (String)

    value of onmouseleave property



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

attribute(String, :onmouseleave, :onmouseleave)

- (String) onmousemove

Returns value of onmousemove property

Returns:

  • (String)

    value of onmousemove property



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

attribute(String, :onmousemove, :onmousemove)

- (String) onmouseout

Returns value of onmouseout property

Returns:

  • (String)

    value of onmouseout property



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

attribute(String, :onmouseout, :onmouseout)

- (String) onmouseover

Returns value of onmouseover property

Returns:

  • (String)

    value of onmouseover property



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

attribute(String, :onmouseover, :onmouseover)

- (String) onmouseup

Returns value of onmouseup property

Returns:

  • (String)

    value of onmouseup property



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

attribute(String, :onmouseup, :onmouseup)

- (String) onmousewheel

Returns value of onmousewheel property

Returns:

  • (String)

    value of onmousewheel property



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

attribute(String, :onmousewheel, :onmousewheel)

- (String) onpause

Returns value of onpause property

Returns:

  • (String)

    value of onpause property



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

attribute(String, :onpause, :onpause)

- (String) onplay

Returns value of onplay property

Returns:

  • (String)

    value of onplay property



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

attribute(String, :onplay, :onplay)

- (String) onplaying

Returns value of onplaying property

Returns:

  • (String)

    value of onplaying property



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

attribute(String, :onplaying, :onplaying)

- (String) onprogress

Returns value of onprogress property

Returns:

  • (String)

    value of onprogress property



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

attribute(String, :onprogress, :onprogress)

- (String) onratechange

Returns value of onratechange property

Returns:

  • (String)

    value of onratechange property



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

attribute(String, :onratechange, :onratechange)

- (String) onreset

Returns value of onreset property

Returns:

  • (String)

    value of onreset property



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

attribute(String, :onreset, :onreset)

- (String) onresize

Returns value of onresize property

Returns:

  • (String)

    value of onresize property



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

attribute(String, :onresize, :onresize)

- (String) onscroll

Returns value of onscroll property

Returns:

  • (String)

    value of onscroll property



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

attribute(String, :onscroll, :onscroll)

- (String) onseeked

Returns value of onseeked property

Returns:

  • (String)

    value of onseeked property



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

attribute(String, :onseeked, :onseeked)

- (String) onseeking

Returns value of onseeking property

Returns:

  • (String)

    value of onseeking property



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

attribute(String, :onseeking, :onseeking)

- (String) onselect

Returns value of onselect property

Returns:

  • (String)

    value of onselect property



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

attribute(String, :onselect, :onselect)

- (String) onshow

Returns value of onshow property

Returns:

  • (String)

    value of onshow property



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

attribute(String, :onshow, :onshow)

- (String) onsort

Returns value of onsort property

Returns:

  • (String)

    value of onsort property



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

attribute(String, :onsort, :onsort)

- (String) onstalled

Returns value of onstalled property

Returns:

  • (String)

    value of onstalled property



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

attribute(String, :onstalled, :onstalled)

- (String) onsubmit

Returns value of onsubmit property

Returns:

  • (String)

    value of onsubmit property



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

attribute(String, :onsubmit, :onsubmit)

- (String) onsuspend

Returns value of onsuspend property

Returns:

  • (String)

    value of onsuspend property



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

attribute(String, :onsuspend, :onsuspend)

- (String) ontimeupdate

Returns value of ontimeupdate property

Returns:

  • (String)

    value of ontimeupdate property



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

attribute(String, :ontimeupdate, :ontimeupdate)

- (String) ontoggle

Returns value of ontoggle property

Returns:

  • (String)

    value of ontoggle property



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

attribute(String, :ontoggle, :ontoggle)

- (String) onvolumechange

Returns value of onvolumechange property

Returns:

  • (String)

    value of onvolumechange property



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

attribute(String, :onvolumechange, :onvolumechange)

- (String) onwaiting

Returns value of onwaiting property

Returns:

  • (String)

    value of onwaiting property



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

attribute(String, :onwaiting, :onwaiting)

- (String) properties

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)

- (Boolean) spellcheck?

Returns value of spellcheck property

Returns:

  • (Boolean)

    value of spellcheck property



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

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

- (Fixnum) tab_index

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)

- (String) title

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)

- (Boolean) translate?

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)