Module: Watir::Container

Includes:
JSSnippets
Included in:
Browser, Element, ShadowRoot
Defined in:
lib/watir/radio_set.rb,
lib/watir/aliases.rb,
lib/watir/container.rb,
lib/watir/elements/font.rb,
lib/watir/elements/link.rb,
lib/watir/elements/image.rb,
lib/watir/elements/radio.rb,
lib/watir/elements/hidden.rb,
lib/watir/elements/iframe.rb,
lib/watir/elements/select.rb,
lib/watir/elements/checkbox.rb,
lib/watir/elements/date_field.rb,
lib/watir/elements/file_field.rb,
lib/watir/elements/text_field.rb,
lib/watir/elements/svg_elements.rb,
lib/watir/elements/html_elements.rb,
lib/watir/elements/date_time_field.rb

Overview

DateTimeField

Instance Method Summary collapse

Methods included from JSSnippets

#execute_js

Instance Method Details

#a(opts = {}) ⇒ Anchor

Returns:


872
873
874
# File 'lib/watir/elements/html_elements.rb', line 872

def a(opts = {})
  Anchor.new(self, opts.merge(tag_name: "a"))
end

#abbr(opts = {}) ⇒ HTMLElement

Returns:


882
883
884
# File 'lib/watir/elements/html_elements.rb', line 882

def abbr(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "abbr"))
end

#abbrs(opts = {}) ⇒ HTMLElementCollection


886
887
888
# File 'lib/watir/elements/html_elements.rb', line 886

def abbrs(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "abbr"))
end

#address(opts = {}) ⇒ HTMLElement

Returns:


892
893
894
# File 'lib/watir/elements/html_elements.rb', line 892

def address(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "address"))
end

#addresses(opts = {}) ⇒ HTMLElementCollection


896
897
898
# File 'lib/watir/elements/html_elements.rb', line 896

def addresses(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "address"))
end

#area(opts = {}) ⇒ Area

Returns:


902
903
904
# File 'lib/watir/elements/html_elements.rb', line 902

def area(opts = {})
  Area.new(self, opts.merge(tag_name: "area"))
end

#areas(opts = {}) ⇒ AreaCollection

Returns:


906
907
908
# File 'lib/watir/elements/html_elements.rb', line 906

def areas(opts = {})
  AreaCollection.new(self, opts.merge(tag_name: "area"))
end

#article(opts = {}) ⇒ HTMLElement

Returns:


912
913
914
# File 'lib/watir/elements/html_elements.rb', line 912

def article(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "article"))
end

#articles(opts = {}) ⇒ HTMLElementCollection


916
917
918
# File 'lib/watir/elements/html_elements.rb', line 916

def articles(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "article"))
end

#as(opts = {}) ⇒ AnchorCollection

Returns:


876
877
878
# File 'lib/watir/elements/html_elements.rb', line 876

def as(opts = {})
  AnchorCollection.new(self, opts.merge(tag_name: "a"))
end

#aside(opts = {}) ⇒ HTMLElement

Returns:


922
923
924
# File 'lib/watir/elements/html_elements.rb', line 922

def aside(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "aside"))
end

#asides(opts = {}) ⇒ HTMLElementCollection


926
927
928
# File 'lib/watir/elements/html_elements.rb', line 926

def asides(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "aside"))
end

#audio(opts = {}) ⇒ Audio

Returns:


932
933
934
# File 'lib/watir/elements/html_elements.rb', line 932

def audio(opts = {})
  Audio.new(self, opts.merge(tag_name: "audio"))
end

#audios(opts = {}) ⇒ AudioCollection

Returns:


936
937
938
# File 'lib/watir/elements/html_elements.rb', line 936

def audios(opts = {})
  AudioCollection.new(self, opts.merge(tag_name: "audio"))
end

#b(opts = {}) ⇒ HTMLElement

Returns:


942
943
944
# File 'lib/watir/elements/html_elements.rb', line 942

def b(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "b"))
end

#base(opts = {}) ⇒ Base

Returns:


952
953
954
# File 'lib/watir/elements/html_elements.rb', line 952

def base(opts = {})
  Base.new(self, opts.merge(tag_name: "base"))
end

#bases(opts = {}) ⇒ BaseCollection

Returns:


956
957
958
# File 'lib/watir/elements/html_elements.rb', line 956

def bases(opts = {})
  BaseCollection.new(self, opts.merge(tag_name: "base"))
end

#bdi(opts = {}) ⇒ HTMLElement

Returns:


962
963
964
# File 'lib/watir/elements/html_elements.rb', line 962

def bdi(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "bdi"))
end

#bdis(opts = {}) ⇒ HTMLElementCollection


966
967
968
# File 'lib/watir/elements/html_elements.rb', line 966

def bdis(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "bdi"))
end

#bdo(opts = {}) ⇒ HTMLElement

Returns:


972
973
974
# File 'lib/watir/elements/html_elements.rb', line 972

def bdo(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "bdo"))
end

#bdos(opts = {}) ⇒ HTMLElementCollection


976
977
978
# File 'lib/watir/elements/html_elements.rb', line 976

def bdos(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "bdo"))
end

#blockquote(opts = {}) ⇒ Quote

Returns:


982
983
984
# File 'lib/watir/elements/html_elements.rb', line 982

def blockquote(opts = {})
  Quote.new(self, opts.merge(tag_name: "blockquote"))
end

#blockquotes(opts = {}) ⇒ QuoteCollection

Returns:


986
987
988
# File 'lib/watir/elements/html_elements.rb', line 986

def blockquotes(opts = {})
  QuoteCollection.new(self, opts.merge(tag_name: "blockquote"))
end

#body(opts = {}) ⇒ Body

Returns:


992
993
994
# File 'lib/watir/elements/html_elements.rb', line 992

def body(opts = {})
  Body.new(self, opts.merge(tag_name: "body"))
end

#bodys(opts = {}) ⇒ BodyCollection

Returns:


996
997
998
# File 'lib/watir/elements/html_elements.rb', line 996

def bodys(opts = {})
  BodyCollection.new(self, opts.merge(tag_name: "body"))
end

#br(opts = {}) ⇒ BR

Returns:


1002
1003
1004
# File 'lib/watir/elements/html_elements.rb', line 1002

def br(opts = {})
  BR.new(self, opts.merge(tag_name: "br"))
end

#brs(opts = {}) ⇒ BRCollection

Returns:


1006
1007
1008
# File 'lib/watir/elements/html_elements.rb', line 1006

def brs(opts = {})
  BRCollection.new(self, opts.merge(tag_name: "br"))
end

#bs(opts = {}) ⇒ HTMLElementCollection


946
947
948
# File 'lib/watir/elements/html_elements.rb', line 946

def bs(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "b"))
end

#button(opts = {}) ⇒ Button

Returns:


1012
1013
1014
# File 'lib/watir/elements/html_elements.rb', line 1012

def button(opts = {})
  Button.new(self, opts.merge(tag_name: "button"))
end

#buttons(opts = {}) ⇒ ButtonCollection

Returns:


1016
1017
1018
# File 'lib/watir/elements/html_elements.rb', line 1016

def buttons(opts = {})
  ButtonCollection.new(self, opts.merge(tag_name: "button"))
end

#canvas(opts = {}) ⇒ Canvas

Returns:


1022
1023
1024
# File 'lib/watir/elements/html_elements.rb', line 1022

def canvas(opts = {})
  Canvas.new(self, opts.merge(tag_name: "canvas"))
end

#canvases(opts = {}) ⇒ CanvasCollection

Returns:


1026
1027
1028
# File 'lib/watir/elements/html_elements.rb', line 1026

def canvases(opts = {})
  CanvasCollection.new(self, opts.merge(tag_name: "canvas"))
end

#caption(opts = {}) ⇒ TableCaption

Returns:


1032
1033
1034
# File 'lib/watir/elements/html_elements.rb', line 1032

def caption(opts = {})
  TableCaption.new(self, opts.merge(tag_name: "caption"))
end

#captions(opts = {}) ⇒ TableCaptionCollection


1036
1037
1038
# File 'lib/watir/elements/html_elements.rb', line 1036

def captions(opts = {})
  TableCaptionCollection.new(self, opts.merge(tag_name: "caption"))
end

#checkbox(opts = {}) ⇒ Object


45
46
47
# File 'lib/watir/elements/checkbox.rb', line 45

def checkbox(opts = {})
  CheckBox.new(self, opts.merge(tag_name: 'input', type: 'checkbox'))
end

#checkboxes(opts = {}) ⇒ Object


49
50
51
# File 'lib/watir/elements/checkbox.rb', line 49

def checkboxes(opts = {})
  CheckBoxCollection.new(self, opts.merge(tag_name: 'input', type: 'checkbox'))
end

#circle(opts = {}) ⇒ Circle

Returns:


258
259
260
# File 'lib/watir/elements/svg_elements.rb', line 258

def circle(opts = {})
  Circle.new(self, opts.merge(tag_name: "circle"))
end

#circles(opts = {}) ⇒ CircleCollection

Returns:


262
263
264
# File 'lib/watir/elements/svg_elements.rb', line 262

def circles(opts = {})
  CircleCollection.new(self, opts.merge(tag_name: "circle"))
end

#cite(opts = {}) ⇒ HTMLElement

Returns:


1042
1043
1044
# File 'lib/watir/elements/html_elements.rb', line 1042

def cite(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "cite"))
end

#cites(opts = {}) ⇒ HTMLElementCollection


1046
1047
1048
# File 'lib/watir/elements/html_elements.rb', line 1046

def cites(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "cite"))
end

#code(opts = {}) ⇒ HTMLElement

Returns:


1052
1053
1054
# File 'lib/watir/elements/html_elements.rb', line 1052

def code(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "code"))
end

#codes(opts = {}) ⇒ HTMLElementCollection


1056
1057
1058
# File 'lib/watir/elements/html_elements.rb', line 1056

def codes(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "code"))
end

#col(opts = {}) ⇒ TableCol

Returns:


1062
1063
1064
# File 'lib/watir/elements/html_elements.rb', line 1062

def col(opts = {})
  TableCol.new(self, opts.merge(tag_name: "col"))
end

#colgroup(opts = {}) ⇒ TableCol

Returns:


1072
1073
1074
# File 'lib/watir/elements/html_elements.rb', line 1072

def colgroup(opts = {})
  TableCol.new(self, opts.merge(tag_name: "colgroup"))
end

#colgroups(opts = {}) ⇒ TableColCollection

Returns:


1076
1077
1078
# File 'lib/watir/elements/html_elements.rb', line 1076

def colgroups(opts = {})
  TableColCollection.new(self, opts.merge(tag_name: "colgroup"))
end

#cols(opts = {}) ⇒ TableColCollection

Returns:


1066
1067
1068
# File 'lib/watir/elements/html_elements.rb', line 1066

def cols(opts = {})
  TableColCollection.new(self, opts.merge(tag_name: "col"))
end

#data(opts = {}) ⇒ Data

Returns:


1082
1083
1084
# File 'lib/watir/elements/html_elements.rb', line 1082

def data(opts = {})
  Data.new(self, opts.merge(tag_name: "data"))
end

#datalist(opts = {}) ⇒ DataList

Returns:


1092
1093
1094
# File 'lib/watir/elements/html_elements.rb', line 1092

def datalist(opts = {})
  DataList.new(self, opts.merge(tag_name: "datalist"))
end

#datalists(opts = {}) ⇒ DataListCollection

Returns:


1096
1097
1098
# File 'lib/watir/elements/html_elements.rb', line 1096

def datalists(opts = {})
  DataListCollection.new(self, opts.merge(tag_name: "datalist"))
end

#datas(opts = {}) ⇒ DataCollection

Returns:


1086
1087
1088
# File 'lib/watir/elements/html_elements.rb', line 1086

def datas(opts = {})
  DataCollection.new(self, opts.merge(tag_name: "data"))
end

#date_field(opts = {}) ⇒ Object


26
27
28
# File 'lib/watir/elements/date_field.rb', line 26

def date_field(opts = {})
  DateField.new(self, opts.merge(tag_name: 'input', type: 'date'))
end

#date_fields(opts = {}) ⇒ Object


30
31
32
# File 'lib/watir/elements/date_field.rb', line 30

def date_fields(opts = {})
  DateFieldCollection.new(self, opts.merge(tag_name: 'input', type: 'date'))
end

#date_time_field(opts = {}) ⇒ Object


26
27
28
# File 'lib/watir/elements/date_time_field.rb', line 26

def date_time_field(opts = {})
  DateTimeField.new(self, opts.merge(tag_name: 'input', type: 'datetime-local'))
end

#date_time_fields(opts = {}) ⇒ Object


30
31
32
# File 'lib/watir/elements/date_time_field.rb', line 30

def date_time_fields(opts = {})
  DateTimeFieldCollection.new(self, opts.merge(tag_name: 'input', type: 'datetime-local'))
end

#dd(opts = {}) ⇒ HTMLElement

Returns:


1102
1103
1104
# File 'lib/watir/elements/html_elements.rb', line 1102

def dd(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "dd"))
end

#dds(opts = {}) ⇒ HTMLElementCollection


1106
1107
1108
# File 'lib/watir/elements/html_elements.rb', line 1106

def dds(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "dd"))
end

#defs(opts = {}) ⇒ Defs

Returns:


268
269
270
# File 'lib/watir/elements/svg_elements.rb', line 268

def defs(opts = {})
  Defs.new(self, opts.merge(tag_name: "defs"))
end

#defss(opts = {}) ⇒ DefsCollection

Returns:


272
273
274
# File 'lib/watir/elements/svg_elements.rb', line 272

def defss(opts = {})
  DefsCollection.new(self, opts.merge(tag_name: "defs"))
end

#del(opts = {}) ⇒ Mod

Returns:


1112
1113
1114
# File 'lib/watir/elements/html_elements.rb', line 1112

def del(opts = {})
  Mod.new(self, opts.merge(tag_name: "del"))
end

#dels(opts = {}) ⇒ ModCollection

Returns:


1116
1117
1118
# File 'lib/watir/elements/html_elements.rb', line 1116

def dels(opts = {})
  ModCollection.new(self, opts.merge(tag_name: "del"))
end

#desc(opts = {}) ⇒ Desc

Returns:


278
279
280
# File 'lib/watir/elements/svg_elements.rb', line 278

def desc(opts = {})
  Desc.new(self, opts.merge(tag_name: "desc"))
end

#descs(opts = {}) ⇒ DescCollection

Returns:


282
283
284
# File 'lib/watir/elements/svg_elements.rb', line 282

def descs(opts = {})
  DescCollection.new(self, opts.merge(tag_name: "desc"))
end

#details(opts = {}) ⇒ Details

Returns:


1122
1123
1124
# File 'lib/watir/elements/html_elements.rb', line 1122

def details(opts = {})
  Details.new(self, opts.merge(tag_name: "details"))
end

#detailses(opts = {}) ⇒ DetailsCollection

Returns:


1126
1127
1128
# File 'lib/watir/elements/html_elements.rb', line 1126

def detailses(opts = {})
  DetailsCollection.new(self, opts.merge(tag_name: "details"))
end

#dfn(opts = {}) ⇒ HTMLElement

Returns:


1132
1133
1134
# File 'lib/watir/elements/html_elements.rb', line 1132

def dfn(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "dfn"))
end

#dfns(opts = {}) ⇒ HTMLElementCollection


1136
1137
1138
# File 'lib/watir/elements/html_elements.rb', line 1136

def dfns(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "dfn"))
end

#dialog(opts = {}) ⇒ Dialog

Returns:


1142
1143
1144
# File 'lib/watir/elements/html_elements.rb', line 1142

def dialog(opts = {})
  Dialog.new(self, opts.merge(tag_name: "dialog"))
end

#dialogs(opts = {}) ⇒ DialogCollection

Returns:


1146
1147
1148
# File 'lib/watir/elements/html_elements.rb', line 1146

def dialogs(opts = {})
  DialogCollection.new(self, opts.merge(tag_name: "dialog"))
end

#div(opts = {}) ⇒ Div

Returns:


1152
1153
1154
# File 'lib/watir/elements/html_elements.rb', line 1152

def div(opts = {})
  Div.new(self, opts.merge(tag_name: "div"))
end

#divs(opts = {}) ⇒ DivCollection

Returns:


1156
1157
1158
# File 'lib/watir/elements/html_elements.rb', line 1156

def divs(opts = {})
  DivCollection.new(self, opts.merge(tag_name: "div"))
end

#dl(opts = {}) ⇒ DList

Returns:


1162
1163
1164
# File 'lib/watir/elements/html_elements.rb', line 1162

def dl(opts = {})
  DList.new(self, opts.merge(tag_name: "dl"))
end

#dls(opts = {}) ⇒ DListCollection

Returns:


1166
1167
1168
# File 'lib/watir/elements/html_elements.rb', line 1166

def dls(opts = {})
  DListCollection.new(self, opts.merge(tag_name: "dl"))
end

#dt(opts = {}) ⇒ HTMLElement

Returns:


1172
1173
1174
# File 'lib/watir/elements/html_elements.rb', line 1172

def dt(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "dt"))
end

#dts(opts = {}) ⇒ HTMLElementCollection


1176
1177
1178
# File 'lib/watir/elements/html_elements.rb', line 1176

def dts(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "dt"))
end

#element(opts = {}) ⇒ HTMLElement

Returns element.

Examples:

browser.element(data_bind: 'func')

Returns:


16
17
18
# File 'lib/watir/container.rb', line 16

def element(opts = {})
  HTMLElement.new(self, opts)
end

#elements(opts = {}) ⇒ HTMLElementCollection

Returns element collection.

Examples:

browser.elements(data_bind: 'func')

Returns:


29
30
31
# File 'lib/watir/container.rb', line 29

def elements(opts = {})
  HTMLElementCollection.new(self, opts)
end

#ellipse(opts = {}) ⇒ Ellipse

Returns:


288
289
290
# File 'lib/watir/elements/svg_elements.rb', line 288

def ellipse(opts = {})
  Ellipse.new(self, opts.merge(tag_name: "ellipse"))
end

#ellipses(opts = {}) ⇒ EllipseCollection

Returns:


292
293
294
# File 'lib/watir/elements/svg_elements.rb', line 292

def ellipses(opts = {})
  EllipseCollection.new(self, opts.merge(tag_name: "ellipse"))
end

#em(opts = {}) ⇒ HTMLElement

Returns:


1182
1183
1184
# File 'lib/watir/elements/html_elements.rb', line 1182

def em(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "em"))
end

#embed(opts = {}) ⇒ Embed

Returns:


1192
1193
1194
# File 'lib/watir/elements/html_elements.rb', line 1192

def embed(opts = {})
  Embed.new(self, opts.merge(tag_name: "embed"))
end

#embeds(opts = {}) ⇒ EmbedCollection

Returns:


1196
1197
1198
# File 'lib/watir/elements/html_elements.rb', line 1196

def embeds(opts = {})
  EmbedCollection.new(self, opts.merge(tag_name: "embed"))
end

#ems(opts = {}) ⇒ HTMLElementCollection


1186
1187
1188
# File 'lib/watir/elements/html_elements.rb', line 1186

def ems(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "em"))
end

#field_setObject


5
# File 'lib/watir/aliases.rb', line 5

alias field_set fieldset

#field_setsObject


6
# File 'lib/watir/aliases.rb', line 6

alias field_sets fieldsets

#fieldset(opts = {}) ⇒ FieldSet

Returns:


1202
1203
1204
# File 'lib/watir/elements/html_elements.rb', line 1202

def fieldset(opts = {})
  FieldSet.new(self, opts.merge(tag_name: "fieldset"))
end

#fieldsets(opts = {}) ⇒ FieldSetCollection

Returns:


1206
1207
1208
# File 'lib/watir/elements/html_elements.rb', line 1206

def fieldsets(opts = {})
  FieldSetCollection.new(self, opts.merge(tag_name: "fieldset"))
end

#figcaption(opts = {}) ⇒ HTMLElement

Returns:


1212
1213
1214
# File 'lib/watir/elements/html_elements.rb', line 1212

def figcaption(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "figcaption"))
end

#figcaptions(opts = {}) ⇒ HTMLElementCollection


1216
1217
1218
# File 'lib/watir/elements/html_elements.rb', line 1216

def figcaptions(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "figcaption"))
end

#figure(opts = {}) ⇒ HTMLElement

Returns:


1222
1223
1224
# File 'lib/watir/elements/html_elements.rb', line 1222

def figure(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "figure"))
end

#figures(opts = {}) ⇒ HTMLElementCollection


1226
1227
1228
# File 'lib/watir/elements/html_elements.rb', line 1226

def figures(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "figure"))
end

#file_field(opts = {}) ⇒ Object


32
33
34
# File 'lib/watir/elements/file_field.rb', line 32

def file_field(opts = {})
  FileField.new(self, opts.merge(tag_name: 'input', type: 'file'))
end

#file_fields(opts = {}) ⇒ Object


36
37
38
# File 'lib/watir/elements/file_field.rb', line 36

def file_fields(opts = {})
  FileFieldCollection.new(self, opts.merge(tag_name: 'input', type: 'file'))
end

#font(opts = {}) ⇒ Object


18
19
20
# File 'lib/watir/elements/font.rb', line 18

def font(opts = {})
  Font.new(self, opts.merge(tag_name: 'font'))
end

#fonts(opts = {}) ⇒ Object


22
23
24
# File 'lib/watir/elements/font.rb', line 22

def fonts(opts = {})
  FontCollection.new(self, opts.merge(tag_name: 'font'))
end

Returns:


1232
1233
1234
# File 'lib/watir/elements/html_elements.rb', line 1232

def footer(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "footer"))
end

#footers(opts = {}) ⇒ HTMLElementCollection


1236
1237
1238
# File 'lib/watir/elements/html_elements.rb', line 1236

def footers(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "footer"))
end

#foreign_object(opts = {}) ⇒ ForeignObject

Returns:


298
299
300
# File 'lib/watir/elements/svg_elements.rb', line 298

def foreign_object(opts = {})
  ForeignObject.new(self, opts.merge(tag_name: "foreignObject"))
end

#foreign_objects(opts = {}) ⇒ ForeignObjectCollection


302
303
304
# File 'lib/watir/elements/svg_elements.rb', line 302

def foreign_objects(opts = {})
  ForeignObjectCollection.new(self, opts.merge(tag_name: "foreignObject"))
end

#form(opts = {}) ⇒ Form

Returns:


1242
1243
1244
# File 'lib/watir/elements/html_elements.rb', line 1242

def form(opts = {})
  Form.new(self, opts.merge(tag_name: "form"))
end

#forms(opts = {}) ⇒ FormCollection

Returns:


1246
1247
1248
# File 'lib/watir/elements/html_elements.rb', line 1246

def forms(opts = {})
  FormCollection.new(self, opts.merge(tag_name: "form"))
end

#frame(opts = {}) ⇒ Object


96
97
98
# File 'lib/watir/elements/iframe.rb', line 96

def frame(opts = {})
  Frame.new(self, opts.merge(tag_name: 'frame'))
end

#frames(opts = {}) ⇒ Object


100
101
102
# File 'lib/watir/elements/iframe.rb', line 100

def frames(opts = {})
  FrameCollection.new(self, opts.merge(tag_name: 'frame'))
end

#frameset(opts = {}) ⇒ FrameSet

Returns:


1252
1253
1254
# File 'lib/watir/elements/html_elements.rb', line 1252

def frameset(opts = {})
  FrameSet.new(self, opts.merge(tag_name: "frameset"))
end

#framesets(opts = {}) ⇒ FrameSetCollection

Returns:


1256
1257
1258
# File 'lib/watir/elements/html_elements.rb', line 1256

def framesets(opts = {})
  FrameSetCollection.new(self, opts.merge(tag_name: "frameset"))
end

#g(opts = {}) ⇒ G

Returns:

  • (G)

308
309
310
# File 'lib/watir/elements/svg_elements.rb', line 308

def g(opts = {})
  G.new(self, opts.merge(tag_name: "g"))
end

#gs(opts = {}) ⇒ GCollection

Returns:


312
313
314
# File 'lib/watir/elements/svg_elements.rb', line 312

def gs(opts = {})
  GCollection.new(self, opts.merge(tag_name: "g"))
end

#h1(opts = {}) ⇒ Heading

Returns:


1262
1263
1264
# File 'lib/watir/elements/html_elements.rb', line 1262

def h1(opts = {})
  Heading.new(self, opts.merge(tag_name: "h1"))
end

#h1s(opts = {}) ⇒ HeadingCollection

Returns:


1266
1267
1268
# File 'lib/watir/elements/html_elements.rb', line 1266

def h1s(opts = {})
  HeadingCollection.new(self, opts.merge(tag_name: "h1"))
end

#h2(opts = {}) ⇒ Heading

Returns:


1272
1273
1274
# File 'lib/watir/elements/html_elements.rb', line 1272

def h2(opts = {})
  Heading.new(self, opts.merge(tag_name: "h2"))
end

#h2s(opts = {}) ⇒ HeadingCollection

Returns:


1276
1277
1278
# File 'lib/watir/elements/html_elements.rb', line 1276

def h2s(opts = {})
  HeadingCollection.new(self, opts.merge(tag_name: "h2"))
end

#h3(opts = {}) ⇒ Heading

Returns:


1282
1283
1284
# File 'lib/watir/elements/html_elements.rb', line 1282

def h3(opts = {})
  Heading.new(self, opts.merge(tag_name: "h3"))
end

#h3s(opts = {}) ⇒ HeadingCollection

Returns:


1286
1287
1288
# File 'lib/watir/elements/html_elements.rb', line 1286

def h3s(opts = {})
  HeadingCollection.new(self, opts.merge(tag_name: "h3"))
end

#h4(opts = {}) ⇒ Heading

Returns:


1292
1293
1294
# File 'lib/watir/elements/html_elements.rb', line 1292

def h4(opts = {})
  Heading.new(self, opts.merge(tag_name: "h4"))
end

#h4s(opts = {}) ⇒ HeadingCollection

Returns:


1296
1297
1298
# File 'lib/watir/elements/html_elements.rb', line 1296

def h4s(opts = {})
  HeadingCollection.new(self, opts.merge(tag_name: "h4"))
end

#h5(opts = {}) ⇒ Heading

Returns:


1302
1303
1304
# File 'lib/watir/elements/html_elements.rb', line 1302

def h5(opts = {})
  Heading.new(self, opts.merge(tag_name: "h5"))
end

#h5s(opts = {}) ⇒ HeadingCollection

Returns:


1306
1307
1308
# File 'lib/watir/elements/html_elements.rb', line 1306

def h5s(opts = {})
  HeadingCollection.new(self, opts.merge(tag_name: "h5"))
end

#h6(opts = {}) ⇒ Heading

Returns:


1312
1313
1314
# File 'lib/watir/elements/html_elements.rb', line 1312

def h6(opts = {})
  Heading.new(self, opts.merge(tag_name: "h6"))
end

#h6s(opts = {}) ⇒ HeadingCollection

Returns:


1316
1317
1318
# File 'lib/watir/elements/html_elements.rb', line 1316

def h6s(opts = {})
  HeadingCollection.new(self, opts.merge(tag_name: "h6"))
end

#head(opts = {}) ⇒ Head

Returns:


1322
1323
1324
# File 'lib/watir/elements/html_elements.rb', line 1322

def head(opts = {})
  Head.new(self, opts.merge(tag_name: "head"))
end

#header(opts = {}) ⇒ HTMLElement

Returns:


1332
1333
1334
# File 'lib/watir/elements/html_elements.rb', line 1332

def header(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "header"))
end

#headers(opts = {}) ⇒ HTMLElementCollection


1336
1337
1338
# File 'lib/watir/elements/html_elements.rb', line 1336

def headers(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "header"))
end

#heads(opts = {}) ⇒ HeadCollection

Returns:


1326
1327
1328
# File 'lib/watir/elements/html_elements.rb', line 1326

def heads(opts = {})
  HeadCollection.new(self, opts.merge(tag_name: "head"))
end

#hidden(opts = {}) ⇒ Object


15
16
17
# File 'lib/watir/elements/hidden.rb', line 15

def hidden(opts = {})
  Hidden.new(self, opts.merge(tag_name: 'input', type: 'hidden'))
end

#hiddens(opts = {}) ⇒ Object


19
20
21
# File 'lib/watir/elements/hidden.rb', line 19

def hiddens(opts = {})
  HiddenCollection.new(self, opts.merge(tag_name: 'input', type: 'hidden'))
end

#hr(opts = {}) ⇒ HR

Returns:


1342
1343
1344
# File 'lib/watir/elements/html_elements.rb', line 1342

def hr(opts = {})
  HR.new(self, opts.merge(tag_name: "hr"))
end

#hrs(opts = {}) ⇒ HRCollection

Returns:


1346
1347
1348
# File 'lib/watir/elements/html_elements.rb', line 1346

def hrs(opts = {})
  HRCollection.new(self, opts.merge(tag_name: "hr"))
end

#html(opts = {}) ⇒ Html

Returns:


1352
1353
1354
# File 'lib/watir/elements/html_elements.rb', line 1352

def html(opts = {})
  Html.new(self, opts.merge(tag_name: "html"))
end

#htmls(opts = {}) ⇒ HtmlCollection

Returns:


1356
1357
1358
# File 'lib/watir/elements/html_elements.rb', line 1356

def htmls(opts = {})
  HtmlCollection.new(self, opts.merge(tag_name: "html"))
end

#i(opts = {}) ⇒ HTMLElement

Returns:


1362
1363
1364
# File 'lib/watir/elements/html_elements.rb', line 1362

def i(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "i"))
end

#iframe(opts = {}) ⇒ IFrame

Returns:


1372
1373
1374
# File 'lib/watir/elements/html_elements.rb', line 1372

def iframe(opts = {})
  IFrame.new(self, opts.merge(tag_name: "iframe"))
end

#iframes(opts = {}) ⇒ IFrameCollection

Returns:


1376
1377
1378
# File 'lib/watir/elements/html_elements.rb', line 1376

def iframes(opts = {})
  IFrameCollection.new(self, opts.merge(tag_name: "iframe"))
end

#imageObject


19
# File 'lib/watir/elements/image.rb', line 19

alias image img

#imagesObject


20
# File 'lib/watir/elements/image.rb', line 20

alias images imgs

#img(opts = {}) ⇒ Image

Returns:


1382
1383
1384
# File 'lib/watir/elements/html_elements.rb', line 1382

def img(opts = {})
  Image.new(self, opts.merge(tag_name: "img"))
end

#imgs(opts = {}) ⇒ ImageCollection

Returns:


1386
1387
1388
# File 'lib/watir/elements/html_elements.rb', line 1386

def imgs(opts = {})
  ImageCollection.new(self, opts.merge(tag_name: "img"))
end

#input(opts = {}) ⇒ Input

Returns:


1392
1393
1394
# File 'lib/watir/elements/html_elements.rb', line 1392

def input(opts = {})
  Input.new(self, opts.merge(tag_name: "input"))
end

#inputs(opts = {}) ⇒ InputCollection

Returns:


1396
1397
1398
# File 'lib/watir/elements/html_elements.rb', line 1396

def inputs(opts = {})
  InputCollection.new(self, opts.merge(tag_name: "input"))
end

#ins(opts = {}) ⇒ Mod

Returns:


1402
1403
1404
# File 'lib/watir/elements/html_elements.rb', line 1402

def ins(opts = {})
  Mod.new(self, opts.merge(tag_name: "ins"))
end

#inses(opts = {}) ⇒ ModCollection

Returns:


1406
1407
1408
# File 'lib/watir/elements/html_elements.rb', line 1406

def inses(opts = {})
  ModCollection.new(self, opts.merge(tag_name: "ins"))
end

#is(opts = {}) ⇒ HTMLElementCollection


1366
1367
1368
# File 'lib/watir/elements/html_elements.rb', line 1366

def is(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "i"))
end

#kbd(opts = {}) ⇒ HTMLElement

Returns:


1412
1413
1414
# File 'lib/watir/elements/html_elements.rb', line 1412

def kbd(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "kbd"))
end

#kbds(opts = {}) ⇒ HTMLElementCollection


1416
1417
1418
# File 'lib/watir/elements/html_elements.rb', line 1416

def kbds(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "kbd"))
end

#label(opts = {}) ⇒ Label

Returns:


1422
1423
1424
# File 'lib/watir/elements/html_elements.rb', line 1422

def label(opts = {})
  Label.new(self, opts.merge(tag_name: "label"))
end

#labels(opts = {}) ⇒ LabelCollection

Returns:


1426
1427
1428
# File 'lib/watir/elements/html_elements.rb', line 1426

def labels(opts = {})
  LabelCollection.new(self, opts.merge(tag_name: "label"))
end

#legend(opts = {}) ⇒ Legend

Returns:


1432
1433
1434
# File 'lib/watir/elements/html_elements.rb', line 1432

def legend(opts = {})
  Legend.new(self, opts.merge(tag_name: "legend"))
end

#legends(opts = {}) ⇒ LegendCollection

Returns:


1436
1437
1438
# File 'lib/watir/elements/html_elements.rb', line 1436

def legends(opts = {})
  LegendCollection.new(self, opts.merge(tag_name: "legend"))
end

#li(opts = {}) ⇒ LI

Returns:


1442
1443
1444
# File 'lib/watir/elements/html_elements.rb', line 1442

def li(opts = {})
  LI.new(self, opts.merge(tag_name: "li"))
end

#line(opts = {}) ⇒ Line

Returns:


318
319
320
# File 'lib/watir/elements/svg_elements.rb', line 318

def line(opts = {})
  Line.new(self, opts.merge(tag_name: "line"))
end

#linear_gradient(opts = {}) ⇒ LinearGradient

Returns:


328
329
330
# File 'lib/watir/elements/svg_elements.rb', line 328

def linear_gradient(opts = {})
  LinearGradient.new(self, opts.merge(tag_name: "linearGradient"))
end

#linear_gradients(opts = {}) ⇒ LinearGradientCollection


332
333
334
# File 'lib/watir/elements/svg_elements.rb', line 332

def linear_gradients(opts = {})
  LinearGradientCollection.new(self, opts.merge(tag_name: "linearGradient"))
end

#lines(opts = {}) ⇒ LineCollection

Returns:


322
323
324
# File 'lib/watir/elements/svg_elements.rb', line 322

def lines(opts = {})
  LineCollection.new(self, opts.merge(tag_name: "line"))
end

5
# File 'lib/watir/elements/link.rb', line 5

alias link a

6
# File 'lib/watir/elements/link.rb', line 6

alias links as

#lis(opts = {}) ⇒ LICollection

Returns:


1446
1447
1448
# File 'lib/watir/elements/html_elements.rb', line 1446

def lis(opts = {})
  LICollection.new(self, opts.merge(tag_name: "li"))
end

#main(opts = {}) ⇒ HTMLElement

Returns:


1452
1453
1454
# File 'lib/watir/elements/html_elements.rb', line 1452

def main(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "main"))
end

#mains(opts = {}) ⇒ HTMLElementCollection


1456
1457
1458
# File 'lib/watir/elements/html_elements.rb', line 1456

def mains(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "main"))
end

#map(opts = {}) ⇒ Map

Returns:


1462
1463
1464
# File 'lib/watir/elements/html_elements.rb', line 1462

def map(opts = {})
  Map.new(self, opts.merge(tag_name: "map"))
end

#maps(opts = {}) ⇒ MapCollection

Returns:


1466
1467
1468
# File 'lib/watir/elements/html_elements.rb', line 1466

def maps(opts = {})
  MapCollection.new(self, opts.merge(tag_name: "map"))
end

#mark(opts = {}) ⇒ HTMLElement

Returns:


1472
1473
1474
# File 'lib/watir/elements/html_elements.rb', line 1472

def mark(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "mark"))
end

#marker(opts = {}) ⇒ Marker

Returns:


338
339
340
# File 'lib/watir/elements/svg_elements.rb', line 338

def marker(opts = {})
  Marker.new(self, opts.merge(tag_name: "marker"))
end

#markers(opts = {}) ⇒ MarkerCollection

Returns:


342
343
344
# File 'lib/watir/elements/svg_elements.rb', line 342

def markers(opts = {})
  MarkerCollection.new(self, opts.merge(tag_name: "marker"))
end

#marks(opts = {}) ⇒ HTMLElementCollection


1476
1477
1478
# File 'lib/watir/elements/html_elements.rb', line 1476

def marks(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "mark"))
end

#meta(opts = {}) ⇒ Meta

Returns:


1482
1483
1484
# File 'lib/watir/elements/html_elements.rb', line 1482

def meta(opts = {})
  Meta.new(self, opts.merge(tag_name: "meta"))
end

#metadata(opts = {}) ⇒ Metadata

Returns:


348
349
350
# File 'lib/watir/elements/svg_elements.rb', line 348

def (opts = {})
  Metadata.new(self, opts.merge(tag_name: "metadata"))
end

#metadatas(opts = {}) ⇒ MetadataCollection

Returns:


352
353
354
# File 'lib/watir/elements/svg_elements.rb', line 352

def metadatas(opts = {})
  MetadataCollection.new(self, opts.merge(tag_name: "metadata"))
end

#metas(opts = {}) ⇒ MetaCollection

Returns:


1486
1487
1488
# File 'lib/watir/elements/html_elements.rb', line 1486

def metas(opts = {})
  MetaCollection.new(self, opts.merge(tag_name: "meta"))
end

#meter(opts = {}) ⇒ Meter

Returns:


1492
1493
1494
# File 'lib/watir/elements/html_elements.rb', line 1492

def meter(opts = {})
  Meter.new(self, opts.merge(tag_name: "meter"))
end

#meters(opts = {}) ⇒ MeterCollection

Returns:


1496
1497
1498
# File 'lib/watir/elements/html_elements.rb', line 1496

def meters(opts = {})
  MeterCollection.new(self, opts.merge(tag_name: "meter"))
end

Returns:


1502
1503
1504
# File 'lib/watir/elements/html_elements.rb', line 1502

def nav(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "nav"))
end

1506
1507
1508
# File 'lib/watir/elements/html_elements.rb', line 1506

def navs(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "nav"))
end

#noscript(opts = {}) ⇒ HTMLElement

Returns:


1512
1513
1514
# File 'lib/watir/elements/html_elements.rb', line 1512

def noscript(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "noscript"))
end

#noscripts(opts = {}) ⇒ HTMLElementCollection


1516
1517
1518
# File 'lib/watir/elements/html_elements.rb', line 1516

def noscripts(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "noscript"))
end

#object(opts = {}) ⇒ Object

Returns:


1522
1523
1524
# File 'lib/watir/elements/html_elements.rb', line 1522

def object(opts = {})
  Object.new(self, opts.merge(tag_name: "object"))
end

#objects(opts = {}) ⇒ ObjectCollection

Returns:


1526
1527
1528
# File 'lib/watir/elements/html_elements.rb', line 1526

def objects(opts = {})
  ObjectCollection.new(self, opts.merge(tag_name: "object"))
end

#ol(opts = {}) ⇒ OList

Returns:


1532
1533
1534
# File 'lib/watir/elements/html_elements.rb', line 1532

def ol(opts = {})
  OList.new(self, opts.merge(tag_name: "ol"))
end

#ols(opts = {}) ⇒ OListCollection

Returns:


1536
1537
1538
# File 'lib/watir/elements/html_elements.rb', line 1536

def ols(opts = {})
  OListCollection.new(self, opts.merge(tag_name: "ol"))
end

#optgroup(opts = {}) ⇒ OptGroup

Returns:


1542
1543
1544
# File 'lib/watir/elements/html_elements.rb', line 1542

def optgroup(opts = {})
  OptGroup.new(self, opts.merge(tag_name: "optgroup"))
end

#optgroups(opts = {}) ⇒ OptGroupCollection

Returns:


1546
1547
1548
# File 'lib/watir/elements/html_elements.rb', line 1546

def optgroups(opts = {})
  OptGroupCollection.new(self, opts.merge(tag_name: "optgroup"))
end

#option(opts = {}) ⇒ Option

Returns:


1552
1553
1554
# File 'lib/watir/elements/html_elements.rb', line 1552

def option(opts = {})
  Option.new(self, opts.merge(tag_name: "option"))
end

#options(opts = {}) ⇒ OptionCollection

Returns:


1556
1557
1558
# File 'lib/watir/elements/html_elements.rb', line 1556

def options(opts = {})
  OptionCollection.new(self, opts.merge(tag_name: "option"))
end

#output(opts = {}) ⇒ Output

Returns:


1562
1563
1564
# File 'lib/watir/elements/html_elements.rb', line 1562

def output(opts = {})
  Output.new(self, opts.merge(tag_name: "output"))
end

#outputs(opts = {}) ⇒ OutputCollection

Returns:


1566
1567
1568
# File 'lib/watir/elements/html_elements.rb', line 1566

def outputs(opts = {})
  OutputCollection.new(self, opts.merge(tag_name: "output"))
end

#p(opts = {}) ⇒ Paragraph

Returns:


1572
1573
1574
# File 'lib/watir/elements/html_elements.rb', line 1572

def p(opts = {})
  Paragraph.new(self, opts.merge(tag_name: "p"))
end

#param(opts = {}) ⇒ Param

Returns:


1582
1583
1584
# File 'lib/watir/elements/html_elements.rb', line 1582

def param(opts = {})
  Param.new(self, opts.merge(tag_name: "param"))
end

#params(opts = {}) ⇒ ParamCollection

Returns:


1586
1587
1588
# File 'lib/watir/elements/html_elements.rb', line 1586

def params(opts = {})
  ParamCollection.new(self, opts.merge(tag_name: "param"))
end

#path(opts = {}) ⇒ Path

Returns:


358
359
360
# File 'lib/watir/elements/svg_elements.rb', line 358

def path(opts = {})
  Path.new(self, opts.merge(tag_name: "path"))
end

#paths(opts = {}) ⇒ PathCollection

Returns:


362
363
364
# File 'lib/watir/elements/svg_elements.rb', line 362

def paths(opts = {})
  PathCollection.new(self, opts.merge(tag_name: "path"))
end

#pattern(opts = {}) ⇒ Pattern

Returns:


368
369
370
# File 'lib/watir/elements/svg_elements.rb', line 368

def pattern(opts = {})
  Pattern.new(self, opts.merge(tag_name: "pattern"))
end

#patterns(opts = {}) ⇒ PatternCollection

Returns:


372
373
374
# File 'lib/watir/elements/svg_elements.rb', line 372

def patterns(opts = {})
  PatternCollection.new(self, opts.merge(tag_name: "pattern"))
end

#picture(opts = {}) ⇒ Picture

Returns:


1592
1593
1594
# File 'lib/watir/elements/html_elements.rb', line 1592

def picture(opts = {})
  Picture.new(self, opts.merge(tag_name: "picture"))
end

#pictures(opts = {}) ⇒ PictureCollection

Returns:


1596
1597
1598
# File 'lib/watir/elements/html_elements.rb', line 1596

def pictures(opts = {})
  PictureCollection.new(self, opts.merge(tag_name: "picture"))
end

#polygon(opts = {}) ⇒ Polygon

Returns:


378
379
380
# File 'lib/watir/elements/svg_elements.rb', line 378

def polygon(opts = {})
  Polygon.new(self, opts.merge(tag_name: "polygon"))
end

#polygons(opts = {}) ⇒ PolygonCollection

Returns:


382
383
384
# File 'lib/watir/elements/svg_elements.rb', line 382

def polygons(opts = {})
  PolygonCollection.new(self, opts.merge(tag_name: "polygon"))
end

#polyline(opts = {}) ⇒ Polyline

Returns:


388
389
390
# File 'lib/watir/elements/svg_elements.rb', line 388

def polyline(opts = {})
  Polyline.new(self, opts.merge(tag_name: "polyline"))
end

#polylines(opts = {}) ⇒ PolylineCollection

Returns:


392
393
394
# File 'lib/watir/elements/svg_elements.rb', line 392

def polylines(opts = {})
  PolylineCollection.new(self, opts.merge(tag_name: "polyline"))
end

#pre(opts = {}) ⇒ Pre

Returns:


1602
1603
1604
# File 'lib/watir/elements/html_elements.rb', line 1602

def pre(opts = {})
  Pre.new(self, opts.merge(tag_name: "pre"))
end

#pres(opts = {}) ⇒ PreCollection

Returns:


1606
1607
1608
# File 'lib/watir/elements/html_elements.rb', line 1606

def pres(opts = {})
  PreCollection.new(self, opts.merge(tag_name: "pre"))
end

#progress(opts = {}) ⇒ Progress

Returns:


1612
1613
1614
# File 'lib/watir/elements/html_elements.rb', line 1612

def progress(opts = {})
  Progress.new(self, opts.merge(tag_name: "progress"))
end

#progresses(opts = {}) ⇒ ProgressCollection

Returns:


1616
1617
1618
# File 'lib/watir/elements/html_elements.rb', line 1616

def progresses(opts = {})
  ProgressCollection.new(self, opts.merge(tag_name: "progress"))
end

#ps(opts = {}) ⇒ ParagraphCollection

Returns:


1576
1577
1578
# File 'lib/watir/elements/html_elements.rb', line 1576

def ps(opts = {})
  ParagraphCollection.new(self, opts.merge(tag_name: "p"))
end

#q(opts = {}) ⇒ Quote

Returns:


1622
1623
1624
# File 'lib/watir/elements/html_elements.rb', line 1622

def q(opts = {})
  Quote.new(self, opts.merge(tag_name: "q"))
end

#qs(opts = {}) ⇒ QuoteCollection

Returns:


1626
1627
1628
# File 'lib/watir/elements/html_elements.rb', line 1626

def qs(opts = {})
  QuoteCollection.new(self, opts.merge(tag_name: "q"))
end

#radial_gradient(opts = {}) ⇒ RadialGradient

Returns:


398
399
400
# File 'lib/watir/elements/svg_elements.rb', line 398

def radial_gradient(opts = {})
  RadialGradient.new(self, opts.merge(tag_name: "radialGradient"))
end

#radial_gradients(opts = {}) ⇒ RadialGradientCollection


402
403
404
# File 'lib/watir/elements/svg_elements.rb', line 402

def radial_gradients(opts = {})
  RadialGradientCollection.new(self, opts.merge(tag_name: "radialGradient"))
end

#radio(opts = {}) ⇒ Object


44
45
46
# File 'lib/watir/elements/radio.rb', line 44

def radio(opts = {})
  Radio.new(self, opts.merge(tag_name: 'input', type: 'radio'))
end

#radio_set(opts = {}) ⇒ Object


224
225
226
# File 'lib/watir/radio_set.rb', line 224

def radio_set(opts = {})
  RadioSet.new(self, opts.merge(tag_name: 'input', type: 'radio'))
end

#radios(opts = {}) ⇒ Object


48
49
50
# File 'lib/watir/elements/radio.rb', line 48

def radios(opts = {})
  RadioCollection.new(self, opts.merge(tag_name: 'input', type: 'radio'))
end

#rb(opts = {}) ⇒ HTMLElement

Returns:


1632
1633
1634
# File 'lib/watir/elements/html_elements.rb', line 1632

def rb(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "rb"))
end

#rbs(opts = {}) ⇒ HTMLElementCollection


1636
1637
1638
# File 'lib/watir/elements/html_elements.rb', line 1636

def rbs(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "rb"))
end

#rect(opts = {}) ⇒ Rect

Returns:


408
409
410
# File 'lib/watir/elements/svg_elements.rb', line 408

def rect(opts = {})
  Rect.new(self, opts.merge(tag_name: "rect"))
end

#rects(opts = {}) ⇒ RectCollection

Returns:


412
413
414
# File 'lib/watir/elements/svg_elements.rb', line 412

def rects(opts = {})
  RectCollection.new(self, opts.merge(tag_name: "rect"))
end

#rp(opts = {}) ⇒ HTMLElement

Returns:


1642
1643
1644
# File 'lib/watir/elements/html_elements.rb', line 1642

def rp(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "rp"))
end

#rps(opts = {}) ⇒ HTMLElementCollection


1646
1647
1648
# File 'lib/watir/elements/html_elements.rb', line 1646

def rps(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "rp"))
end

#rt(opts = {}) ⇒ HTMLElement

Returns:


1652
1653
1654
# File 'lib/watir/elements/html_elements.rb', line 1652

def rt(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "rt"))
end

#rtc(opts = {}) ⇒ HTMLElement

Returns:


1662
1663
1664
# File 'lib/watir/elements/html_elements.rb', line 1662

def rtc(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "rtc"))
end

#rtcs(opts = {}) ⇒ HTMLElementCollection


1666
1667
1668
# File 'lib/watir/elements/html_elements.rb', line 1666

def rtcs(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "rtc"))
end

#rts(opts = {}) ⇒ HTMLElementCollection


1656
1657
1658
# File 'lib/watir/elements/html_elements.rb', line 1656

def rts(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "rt"))
end

#rubies(opts = {}) ⇒ HTMLElementCollection


1676
1677
1678
# File 'lib/watir/elements/html_elements.rb', line 1676

def rubies(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "ruby"))
end

#ruby(opts = {}) ⇒ HTMLElement

Returns:


1672
1673
1674
# File 'lib/watir/elements/html_elements.rb', line 1672

def ruby(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "ruby"))
end

#s(opts = {}) ⇒ HTMLElement

Returns:


1682
1683
1684
# File 'lib/watir/elements/html_elements.rb', line 1682

def s(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "s"))
end

#samp(opts = {}) ⇒ HTMLElement

Returns:


1692
1693
1694
# File 'lib/watir/elements/html_elements.rb', line 1692

def samp(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "samp"))
end

#samps(opts = {}) ⇒ HTMLElementCollection


1696
1697
1698
# File 'lib/watir/elements/html_elements.rb', line 1696

def samps(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "samp"))
end

#script(opts = {}) ⇒ Script

Returns:


1702
1703
1704
# File 'lib/watir/elements/html_elements.rb', line 1702

def script(opts = {})
  Script.new(self, opts.merge(tag_name: "script"))
end

#scripts(opts = {}) ⇒ ScriptCollection

Returns:


1706
1707
1708
# File 'lib/watir/elements/html_elements.rb', line 1706

def scripts(opts = {})
  ScriptCollection.new(self, opts.merge(tag_name: "script"))
end

#section(opts = {}) ⇒ HTMLElement

Returns:


1712
1713
1714
# File 'lib/watir/elements/html_elements.rb', line 1712

def section(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "section"))
end

#sections(opts = {}) ⇒ HTMLElementCollection


1716
1717
1718
# File 'lib/watir/elements/html_elements.rb', line 1716

def sections(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "section"))
end

#select(opts = {}) ⇒ Select

Returns:


1722
1723
1724
# File 'lib/watir/elements/html_elements.rb', line 1722

def select(opts = {})
  Select.new(self, opts.merge(tag_name: "select"))
end

#select_listObject


209
# File 'lib/watir/elements/select.rb', line 209

alias select_list select

#select_listsObject


210
# File 'lib/watir/elements/select.rb', line 210

alias select_lists selects

#selects(opts = {}) ⇒ SelectCollection

Returns:


1726
1727
1728
# File 'lib/watir/elements/html_elements.rb', line 1726

def selects(opts = {})
  SelectCollection.new(self, opts.merge(tag_name: "select"))
end

#small(opts = {}) ⇒ HTMLElement

Returns:


1732
1733
1734
# File 'lib/watir/elements/html_elements.rb', line 1732

def small(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "small"))
end

#smalls(opts = {}) ⇒ HTMLElementCollection


1736
1737
1738
# File 'lib/watir/elements/html_elements.rb', line 1736

def smalls(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "small"))
end

#source(opts = {}) ⇒ Source

Returns:


1742
1743
1744
# File 'lib/watir/elements/html_elements.rb', line 1742

def source(opts = {})
  Source.new(self, opts.merge(tag_name: "source"))
end

#sources(opts = {}) ⇒ SourceCollection

Returns:


1746
1747
1748
# File 'lib/watir/elements/html_elements.rb', line 1746

def sources(opts = {})
  SourceCollection.new(self, opts.merge(tag_name: "source"))
end

#span(opts = {}) ⇒ Span

Returns:


1752
1753
1754
# File 'lib/watir/elements/html_elements.rb', line 1752

def span(opts = {})
  Span.new(self, opts.merge(tag_name: "span"))
end

#spans(opts = {}) ⇒ SpanCollection

Returns:


1756
1757
1758
# File 'lib/watir/elements/html_elements.rb', line 1756

def spans(opts = {})
  SpanCollection.new(self, opts.merge(tag_name: "span"))
end

#ss(opts = {}) ⇒ HTMLElementCollection


1686
1687
1688
# File 'lib/watir/elements/html_elements.rb', line 1686

def ss(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "s"))
end

#stop(opts = {}) ⇒ Stop

Returns:


418
419
420
# File 'lib/watir/elements/svg_elements.rb', line 418

def stop(opts = {})
  Stop.new(self, opts.merge(tag_name: "stop"))
end

#stops(opts = {}) ⇒ StopCollection

Returns:


422
423
424
# File 'lib/watir/elements/svg_elements.rb', line 422

def stops(opts = {})
  StopCollection.new(self, opts.merge(tag_name: "stop"))
end

#strong(opts = {}) ⇒ HTMLElement

Returns:


1762
1763
1764
# File 'lib/watir/elements/html_elements.rb', line 1762

def strong(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "strong"))
end

#strongs(opts = {}) ⇒ HTMLElementCollection


1766
1767
1768
# File 'lib/watir/elements/html_elements.rb', line 1766

def strongs(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "strong"))
end

#style(opts = {}) ⇒ Style

Returns:


1772
1773
1774
# File 'lib/watir/elements/html_elements.rb', line 1772

def style(opts = {})
  Style.new(self, opts.merge(tag_name: "style"))
end

#styles(opts = {}) ⇒ StyleCollection

Returns:


1776
1777
1778
# File 'lib/watir/elements/html_elements.rb', line 1776

def styles(opts = {})
  StyleCollection.new(self, opts.merge(tag_name: "style"))
end

#sub(opts = {}) ⇒ HTMLElement

Returns:


1782
1783
1784
# File 'lib/watir/elements/html_elements.rb', line 1782

def sub(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "sub"))
end

#subs(opts = {}) ⇒ HTMLElementCollection


1786
1787
1788
# File 'lib/watir/elements/html_elements.rb', line 1786

def subs(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "sub"))
end

#summaries(opts = {}) ⇒ HTMLElementCollection


1796
1797
1798
# File 'lib/watir/elements/html_elements.rb', line 1796

def summaries(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "summary"))
end

#summary(opts = {}) ⇒ HTMLElement

Returns:


1792
1793
1794
# File 'lib/watir/elements/html_elements.rb', line 1792

def summary(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "summary"))
end

#sup(opts = {}) ⇒ HTMLElement

Returns:


1802
1803
1804
# File 'lib/watir/elements/html_elements.rb', line 1802

def sup(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "sup"))
end

#sups(opts = {}) ⇒ HTMLElementCollection


1806
1807
1808
# File 'lib/watir/elements/html_elements.rb', line 1806

def sups(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "sup"))
end

#svg(opts = {}) ⇒ SVG

Returns:


428
429
430
# File 'lib/watir/elements/svg_elements.rb', line 428

def svg(opts = {})
  SVG.new(self, opts.merge(tag_name: "svg"))
end

#svgs(opts = {}) ⇒ SVGCollection

Returns:


432
433
434
# File 'lib/watir/elements/svg_elements.rb', line 432

def svgs(opts = {})
  SVGCollection.new(self, opts.merge(tag_name: "svg"))
end

#switch(opts = {}) ⇒ Switch

Returns:


438
439
440
# File 'lib/watir/elements/svg_elements.rb', line 438

def switch(opts = {})
  Switch.new(self, opts.merge(tag_name: "switch"))
end

#switches(opts = {}) ⇒ SwitchCollection

Returns:


442
443
444
# File 'lib/watir/elements/svg_elements.rb', line 442

def switches(opts = {})
  SwitchCollection.new(self, opts.merge(tag_name: "switch"))
end

#symbol(opts = {}) ⇒ Symbol

Returns:


448
449
450
# File 'lib/watir/elements/svg_elements.rb', line 448

def symbol(opts = {})
  Symbol.new(self, opts.merge(tag_name: "symbol"))
end

#symbols(opts = {}) ⇒ SymbolCollection

Returns:


452
453
454
# File 'lib/watir/elements/svg_elements.rb', line 452

def symbols(opts = {})
  SymbolCollection.new(self, opts.merge(tag_name: "symbol"))
end

#table(opts = {}) ⇒ Table

Returns:


1812
1813
1814
# File 'lib/watir/elements/html_elements.rb', line 1812

def table(opts = {})
  Table.new(self, opts.merge(tag_name: "table"))
end

#tables(opts = {}) ⇒ TableCollection

Returns:


1816
1817
1818
# File 'lib/watir/elements/html_elements.rb', line 1816

def tables(opts = {})
  TableCollection.new(self, opts.merge(tag_name: "table"))
end

#tbody(opts = {}) ⇒ TableSection

Returns:


1822
1823
1824
# File 'lib/watir/elements/html_elements.rb', line 1822

def tbody(opts = {})
  TableSection.new(self, opts.merge(tag_name: "tbody"))
end

#tbodys(opts = {}) ⇒ TableSectionCollection


1826
1827
1828
# File 'lib/watir/elements/html_elements.rb', line 1826

def tbodys(opts = {})
  TableSectionCollection.new(self, opts.merge(tag_name: "tbody"))
end

#td(opts = {}) ⇒ TableDataCell

Returns:


1832
1833
1834
# File 'lib/watir/elements/html_elements.rb', line 1832

def td(opts = {})
  TableDataCell.new(self, opts.merge(tag_name: "td"))
end

#tds(opts = {}) ⇒ TableDataCellCollection


1836
1837
1838
# File 'lib/watir/elements/html_elements.rb', line 1836

def tds(opts = {})
  TableDataCellCollection.new(self, opts.merge(tag_name: "td"))
end

#template(opts = {}) ⇒ Template

Returns:


1842
1843
1844
# File 'lib/watir/elements/html_elements.rb', line 1842

def template(opts = {})
  Template.new(self, opts.merge(tag_name: "template"))
end

#templates(opts = {}) ⇒ TemplateCollection

Returns:


1846
1847
1848
# File 'lib/watir/elements/html_elements.rb', line 1846

def templates(opts = {})
  TemplateCollection.new(self, opts.merge(tag_name: "template"))
end

#text_field(opts = {}) ⇒ Object


23
24
25
# File 'lib/watir/elements/text_field.rb', line 23

def text_field(opts = {})
  TextField.new(self, opts.merge(tag_name: 'input'))
end

#text_fields(opts = {}) ⇒ Object


27
28
29
# File 'lib/watir/elements/text_field.rb', line 27

def text_fields(opts = {})
  TextFieldCollection.new(self, opts.merge(tag_name: 'input'))
end

#text_path(opts = {}) ⇒ TextPath

Returns:


458
459
460
# File 'lib/watir/elements/svg_elements.rb', line 458

def text_path(opts = {})
  TextPath.new(self, opts.merge(tag_name: "textPath"))
end

#text_paths(opts = {}) ⇒ TextPathCollection

Returns:


462
463
464
# File 'lib/watir/elements/svg_elements.rb', line 462

def text_paths(opts = {})
  TextPathCollection.new(self, opts.merge(tag_name: "textPath"))
end

#textarea(opts = {}) ⇒ TextArea

Returns:


1852
1853
1854
# File 'lib/watir/elements/html_elements.rb', line 1852

def textarea(opts = {})
  TextArea.new(self, opts.merge(tag_name: "textarea"))
end

#textareas(opts = {}) ⇒ TextAreaCollection

Returns:


1856
1857
1858
# File 'lib/watir/elements/html_elements.rb', line 1856

def textareas(opts = {})
  TextAreaCollection.new(self, opts.merge(tag_name: "textarea"))
end

#tfoot(opts = {}) ⇒ TableSection

Returns:


1862
1863
1864
# File 'lib/watir/elements/html_elements.rb', line 1862

def tfoot(opts = {})
  TableSection.new(self, opts.merge(tag_name: "tfoot"))
end

#tfoots(opts = {}) ⇒ TableSectionCollection


1866
1867
1868
# File 'lib/watir/elements/html_elements.rb', line 1866

def tfoots(opts = {})
  TableSectionCollection.new(self, opts.merge(tag_name: "tfoot"))
end

#th(opts = {}) ⇒ TableHeaderCell

Returns:


1872
1873
1874
# File 'lib/watir/elements/html_elements.rb', line 1872

def th(opts = {})
  TableHeaderCell.new(self, opts.merge(tag_name: "th"))
end

#thead(opts = {}) ⇒ TableSection

Returns:


1882
1883
1884
# File 'lib/watir/elements/html_elements.rb', line 1882

def thead(opts = {})
  TableSection.new(self, opts.merge(tag_name: "thead"))
end

#theads(opts = {}) ⇒ TableSectionCollection


1886
1887
1888
# File 'lib/watir/elements/html_elements.rb', line 1886

def theads(opts = {})
  TableSectionCollection.new(self, opts.merge(tag_name: "thead"))
end

#ths(opts = {}) ⇒ TableHeaderCellCollection


1876
1877
1878
# File 'lib/watir/elements/html_elements.rb', line 1876

def ths(opts = {})
  TableHeaderCellCollection.new(self, opts.merge(tag_name: "th"))
end

#time(opts = {}) ⇒ Time

Returns:


1892
1893
1894
# File 'lib/watir/elements/html_elements.rb', line 1892

def time(opts = {})
  Time.new(self, opts.merge(tag_name: "time"))
end

#times(opts = {}) ⇒ TimeCollection

Returns:


1896
1897
1898
# File 'lib/watir/elements/html_elements.rb', line 1896

def times(opts = {})
  TimeCollection.new(self, opts.merge(tag_name: "time"))
end

#title(opts = {}) ⇒ Title

Returns:


1902
1903
1904
# File 'lib/watir/elements/html_elements.rb', line 1902

def title(opts = {})
  Title.new(self, opts.merge(tag_name: "title"))
end

#titles(opts = {}) ⇒ TitleCollection

Returns:


1906
1907
1908
# File 'lib/watir/elements/html_elements.rb', line 1906

def titles(opts = {})
  TitleCollection.new(self, opts.merge(tag_name: "title"))
end

#tr(opts = {}) ⇒ TableRow

Returns:


1912
1913
1914
# File 'lib/watir/elements/html_elements.rb', line 1912

def tr(opts = {})
  TableRow.new(self, opts.merge(tag_name: "tr"))
end

#track(opts = {}) ⇒ Track

Returns:


1922
1923
1924
# File 'lib/watir/elements/html_elements.rb', line 1922

def track(opts = {})
  Track.new(self, opts.merge(tag_name: "track"))
end

#tracks(opts = {}) ⇒ TrackCollection

Returns:


1926
1927
1928
# File 'lib/watir/elements/html_elements.rb', line 1926

def tracks(opts = {})
  TrackCollection.new(self, opts.merge(tag_name: "track"))
end

#trs(opts = {}) ⇒ TableRowCollection

Returns:


1916
1917
1918
# File 'lib/watir/elements/html_elements.rb', line 1916

def trs(opts = {})
  TableRowCollection.new(self, opts.merge(tag_name: "tr"))
end

#tspan(opts = {}) ⇒ TSpan

Returns:


468
469
470
# File 'lib/watir/elements/svg_elements.rb', line 468

def tspan(opts = {})
  TSpan.new(self, opts.merge(tag_name: "tspan"))
end

#tspans(opts = {}) ⇒ TSpanCollection

Returns:


472
473
474
# File 'lib/watir/elements/svg_elements.rb', line 472

def tspans(opts = {})
  TSpanCollection.new(self, opts.merge(tag_name: "tspan"))
end

#u(opts = {}) ⇒ HTMLElement

Returns:


1932
1933
1934
# File 'lib/watir/elements/html_elements.rb', line 1932

def u(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "u"))
end

#ul(opts = {}) ⇒ UList

Returns:


1942
1943
1944
# File 'lib/watir/elements/html_elements.rb', line 1942

def ul(opts = {})
  UList.new(self, opts.merge(tag_name: "ul"))
end

#uls(opts = {}) ⇒ UListCollection

Returns:


1946
1947
1948
# File 'lib/watir/elements/html_elements.rb', line 1946

def uls(opts = {})
  UListCollection.new(self, opts.merge(tag_name: "ul"))
end

#us(opts = {}) ⇒ HTMLElementCollection


1936
1937
1938
# File 'lib/watir/elements/html_elements.rb', line 1936

def us(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "u"))
end

#use(opts = {}) ⇒ Use

Returns:


478
479
480
# File 'lib/watir/elements/svg_elements.rb', line 478

def use(opts = {})
  Use.new(self, opts.merge(tag_name: "use"))
end

#uses(opts = {}) ⇒ UseCollection

Returns:


482
483
484
# File 'lib/watir/elements/svg_elements.rb', line 482

def uses(opts = {})
  UseCollection.new(self, opts.merge(tag_name: "use"))
end

#var(opts = {}) ⇒ HTMLElement

Returns:


1952
1953
1954
# File 'lib/watir/elements/html_elements.rb', line 1952

def var(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "var"))
end

#vars(opts = {}) ⇒ HTMLElementCollection


1956
1957
1958
# File 'lib/watir/elements/html_elements.rb', line 1956

def vars(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "var"))
end

#video(opts = {}) ⇒ Video

Returns:


1962
1963
1964
# File 'lib/watir/elements/html_elements.rb', line 1962

def video(opts = {})
  Video.new(self, opts.merge(tag_name: "video"))
end

#videos(opts = {}) ⇒ VideoCollection

Returns:


1966
1967
1968
# File 'lib/watir/elements/html_elements.rb', line 1966

def videos(opts = {})
  VideoCollection.new(self, opts.merge(tag_name: "video"))
end

#view(opts = {}) ⇒ View

Returns:


488
489
490
# File 'lib/watir/elements/svg_elements.rb', line 488

def view(opts = {})
  View.new(self, opts.merge(tag_name: "view"))
end

#views(opts = {}) ⇒ ViewCollection

Returns:


492
493
494
# File 'lib/watir/elements/svg_elements.rb', line 492

def views(opts = {})
  ViewCollection.new(self, opts.merge(tag_name: "view"))
end

#wbr(opts = {}) ⇒ HTMLElement

Returns:


1972
1973
1974
# File 'lib/watir/elements/html_elements.rb', line 1972

def wbr(opts = {})
  HTMLElement.new(self, opts.merge(tag_name: "wbr"))
end

#wbrs(opts = {}) ⇒ HTMLElementCollection


1976
1977
1978
# File 'lib/watir/elements/html_elements.rb', line 1976

def wbrs(opts = {})
  HTMLElementCollection.new(self, opts.merge(tag_name: "wbr"))
end