Module: Watir::Container

Includes:
Atoms, XpathSupport
Included in:
Browser, Element
Defined in:
lib/watir-webdriver/elements/image.rb,
lib/watir-webdriver/aliases.rb,
lib/watir-webdriver/container.rb,
lib/watir-webdriver/elements/font.rb,
lib/watir-webdriver/elements/link.rb,
lib/watir-webdriver/elements/radio.rb,
lib/watir-webdriver/elements/hidden.rb,
lib/watir-webdriver/elements/iframe.rb,
lib/watir-webdriver/elements/select.rb,
lib/watir-webdriver/elements/checkbox.rb,
lib/watir-webdriver/elements/file_field.rb,
lib/watir-webdriver/elements/text_field.rb,
lib/watir-webdriver/elements/svg_elements.rb,
lib/watir-webdriver/elements/html_elements.rb

Overview

TextField

Constant Summary

Constants included from Atoms

Atoms::ATOMS

Instance Method Summary collapse

Methods included from Atoms

load

Methods included from XpathSupport

downcase, escape

Instance Method Details

#a(*args) ⇒ Anchor

Returns:



944
945
946
# File 'lib/watir-webdriver/elements/html_elements.rb', line 944

def a(*args)
  Anchor.new(self, extract_selector(args).merge(tag_name: "a"))
end

#abbr(*args) ⇒ HTMLElement

Returns:



954
955
956
# File 'lib/watir-webdriver/elements/html_elements.rb', line 954

def abbr(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "abbr"))
end

#abbrs(*args) ⇒ HTMLElementCollection



958
959
960
# File 'lib/watir-webdriver/elements/html_elements.rb', line 958

def abbrs(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "abbr"))
end

#address(*args) ⇒ HTMLElement

Returns:



964
965
966
# File 'lib/watir-webdriver/elements/html_elements.rb', line 964

def address(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "address"))
end

#addresses(*args) ⇒ HTMLElementCollection



968
969
970
# File 'lib/watir-webdriver/elements/html_elements.rb', line 968

def addresses(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "address"))
end

#animate(*args) ⇒ Animate

Returns:



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

def animate(*args)
  Animate.new(self, extract_selector(args).merge(tag_name: "animate"))
end

#animate_motion(*args) ⇒ AnimateMotion

Returns:



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

def animate_motion(*args)
  AnimateMotion.new(self, extract_selector(args).merge(tag_name: "animateMotion"))
end

#animate_motions(*args) ⇒ AnimateMotionCollection



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

def animate_motions(*args)
  AnimateMotionCollection.new(self, extract_selector(args).merge(tag_name: "animateMotion"))
end

#animate_transform(*args) ⇒ AnimateTransform

Returns:



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

def animate_transform(*args)
  AnimateTransform.new(self, extract_selector(args).merge(tag_name: "animateTransform"))
end

#animate_transforms(*args) ⇒ AnimateTransformCollection



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

def animate_transforms(*args)
  AnimateTransformCollection.new(self, extract_selector(args).merge(tag_name: "animateTransform"))
end

#animates(*args) ⇒ AnimateCollection

Returns:



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

def animates(*args)
  AnimateCollection.new(self, extract_selector(args).merge(tag_name: "animate"))
end

#area(*args) ⇒ Area

Returns:



974
975
976
# File 'lib/watir-webdriver/elements/html_elements.rb', line 974

def area(*args)
  Area.new(self, extract_selector(args).merge(tag_name: "area"))
end

#areas(*args) ⇒ AreaCollection

Returns:



978
979
980
# File 'lib/watir-webdriver/elements/html_elements.rb', line 978

def areas(*args)
  AreaCollection.new(self, extract_selector(args).merge(tag_name: "area"))
end

#article(*args) ⇒ HTMLElement

Returns:



984
985
986
# File 'lib/watir-webdriver/elements/html_elements.rb', line 984

def article(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "article"))
end

#articles(*args) ⇒ HTMLElementCollection



988
989
990
# File 'lib/watir-webdriver/elements/html_elements.rb', line 988

def articles(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "article"))
end

#as(*args) ⇒ AnchorCollection

Returns:



948
949
950
# File 'lib/watir-webdriver/elements/html_elements.rb', line 948

def as(*args)
  AnchorCollection.new(self, extract_selector(args).merge(tag_name: "a"))
end

#aside(*args) ⇒ HTMLElement

Returns:



994
995
996
# File 'lib/watir-webdriver/elements/html_elements.rb', line 994

def aside(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "aside"))
end

#asides(*args) ⇒ HTMLElementCollection



998
999
1000
# File 'lib/watir-webdriver/elements/html_elements.rb', line 998

def asides(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "aside"))
end

#audio(*args) ⇒ Audio

Returns:



1004
1005
1006
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1004

def audio(*args)
  Audio.new(self, extract_selector(args).merge(tag_name: "audio"))
end

#audios(*args) ⇒ AudioCollection

Returns:



1008
1009
1010
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1008

def audios(*args)
  AudioCollection.new(self, extract_selector(args).merge(tag_name: "audio"))
end

#b(*args) ⇒ HTMLElement

Returns:



1014
1015
1016
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1014

def b(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "b"))
end

#base(*args) ⇒ Base

Returns:



1024
1025
1026
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1024

def base(*args)
  Base.new(self, extract_selector(args).merge(tag_name: "base"))
end

#bases(*args) ⇒ BaseCollection

Returns:



1028
1029
1030
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1028

def bases(*args)
  BaseCollection.new(self, extract_selector(args).merge(tag_name: "base"))
end

#bdi(*args) ⇒ HTMLElement

Returns:



1034
1035
1036
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1034

def bdi(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "bdi"))
end

#bdis(*args) ⇒ HTMLElementCollection



1038
1039
1040
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1038

def bdis(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "bdi"))
end

#bdo(*args) ⇒ HTMLElement

Returns:



1044
1045
1046
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1044

def bdo(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "bdo"))
end

#bdos(*args) ⇒ HTMLElementCollection



1048
1049
1050
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1048

def bdos(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "bdo"))
end

#blockquote(*args) ⇒ Quote

Returns:



1054
1055
1056
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1054

def blockquote(*args)
  Quote.new(self, extract_selector(args).merge(tag_name: "blockquote"))
end

#blockquotes(*args) ⇒ QuoteCollection

Returns:



1058
1059
1060
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1058

def blockquotes(*args)
  QuoteCollection.new(self, extract_selector(args).merge(tag_name: "blockquote"))
end

#body(*args) ⇒ Body

Returns:



1064
1065
1066
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1064

def body(*args)
  Body.new(self, extract_selector(args).merge(tag_name: "body"))
end

#bodys(*args) ⇒ BodyCollection

Returns:



1068
1069
1070
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1068

def bodys(*args)
  BodyCollection.new(self, extract_selector(args).merge(tag_name: "body"))
end

#br(*args) ⇒ BR

Returns:



1074
1075
1076
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1074

def br(*args)
  BR.new(self, extract_selector(args).merge(tag_name: "br"))
end

#brs(*args) ⇒ BRCollection

Returns:



1078
1079
1080
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1078

def brs(*args)
  BRCollection.new(self, extract_selector(args).merge(tag_name: "br"))
end

#bs(*args) ⇒ HTMLElementCollection



1018
1019
1020
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1018

def bs(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "b"))
end

#button(*args) ⇒ Button

Returns:



1084
1085
1086
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1084

def button(*args)
  Button.new(self, extract_selector(args).merge(tag_name: "button"))
end

#buttons(*args) ⇒ ButtonCollection

Returns:



1088
1089
1090
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1088

def buttons(*args)
  ButtonCollection.new(self, extract_selector(args).merge(tag_name: "button"))
end

#canvas(*args) ⇒ Canvas

Returns:



1094
1095
1096
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1094

def canvas(*args)
  Canvas.new(self, extract_selector(args).merge(tag_name: "canvas"))
end

#canvases(*args) ⇒ CanvasCollection

Returns:



1098
1099
1100
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1098

def canvases(*args)
  CanvasCollection.new(self, extract_selector(args).merge(tag_name: "canvas"))
end

#caption(*args) ⇒ TableCaption

Returns:



1104
1105
1106
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1104

def caption(*args)
  TableCaption.new(self, extract_selector(args).merge(tag_name: "caption"))
end

#captions(*args) ⇒ TableCaptionCollection



1108
1109
1110
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1108

def captions(*args)
  TableCaptionCollection.new(self, extract_selector(args).merge(tag_name: "caption"))
end

#checkbox(*args) ⇒ Object



43
44
45
# File 'lib/watir-webdriver/elements/checkbox.rb', line 43

def checkbox(*args)
  CheckBox.new(self, extract_selector(args).merge(tag_name: "input", type: "checkbox"))
end

#checkboxes(*args) ⇒ Object



47
48
49
# File 'lib/watir-webdriver/elements/checkbox.rb', line 47

def checkboxes(*args)
  CheckBoxCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "checkbox"))
end

#circle(*args) ⇒ Circle

Returns:



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

def circle(*args)
  Circle.new(self, extract_selector(args).merge(tag_name: "circle"))
end

#circles(*args) ⇒ CircleCollection

Returns:



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

def circles(*args)
  CircleCollection.new(self, extract_selector(args).merge(tag_name: "circle"))
end

#cite(*args) ⇒ HTMLElement

Returns:



1114
1115
1116
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1114

def cite(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "cite"))
end

#cites(*args) ⇒ HTMLElementCollection



1118
1119
1120
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1118

def cites(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "cite"))
end

#code(*args) ⇒ HTMLElement

Returns:



1124
1125
1126
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1124

def code(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "code"))
end

#codes(*args) ⇒ HTMLElementCollection



1128
1129
1130
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1128

def codes(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "code"))
end

#col(*args) ⇒ TableCol

Returns:



1134
1135
1136
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1134

def col(*args)
  TableCol.new(self, extract_selector(args).merge(tag_name: "col"))
end

#colgroup(*args) ⇒ TableCol

Returns:



1144
1145
1146
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1144

def colgroup(*args)
  TableCol.new(self, extract_selector(args).merge(tag_name: "colgroup"))
end

#colgroups(*args) ⇒ TableColCollection

Returns:



1148
1149
1150
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1148

def colgroups(*args)
  TableColCollection.new(self, extract_selector(args).merge(tag_name: "colgroup"))
end

#cols(*args) ⇒ TableColCollection

Returns:



1138
1139
1140
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1138

def cols(*args)
  TableColCollection.new(self, extract_selector(args).merge(tag_name: "col"))
end

#cursor(*args) ⇒ Cursor

Returns:



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

def cursor(*args)
  Cursor.new(self, extract_selector(args).merge(tag_name: "cursor"))
end

#cursors(*args) ⇒ CursorCollection

Returns:



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

def cursors(*args)
  CursorCollection.new(self, extract_selector(args).merge(tag_name: "cursor"))
end

#data(*args) ⇒ Data

Returns:



1154
1155
1156
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1154

def data(*args)
  Data.new(self, extract_selector(args).merge(tag_name: "data"))
end

#datalist(*args) ⇒ DataList

Returns:



1164
1165
1166
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1164

def datalist(*args)
  DataList.new(self, extract_selector(args).merge(tag_name: "datalist"))
end

#datalists(*args) ⇒ DataListCollection

Returns:



1168
1169
1170
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1168

def datalists(*args)
  DataListCollection.new(self, extract_selector(args).merge(tag_name: "datalist"))
end

#datas(*args) ⇒ DataCollection

Returns:



1158
1159
1160
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1158

def datas(*args)
  DataCollection.new(self, extract_selector(args).merge(tag_name: "data"))
end

#dd(*args) ⇒ HTMLElement

Returns:



1174
1175
1176
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1174

def dd(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "dd"))
end

#dds(*args) ⇒ HTMLElementCollection



1178
1179
1180
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1178

def dds(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dd"))
end

#defs(*args) ⇒ Defs

Returns:



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

def defs(*args)
  Defs.new(self, extract_selector(args).merge(tag_name: "defs"))
end

#defss(*args) ⇒ DefsCollection

Returns:



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

def defss(*args)
  DefsCollection.new(self, extract_selector(args).merge(tag_name: "defs"))
end

#del(*args) ⇒ Mod

Returns:



1184
1185
1186
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1184

def del(*args)
  Mod.new(self, extract_selector(args).merge(tag_name: "del"))
end

#dels(*args) ⇒ ModCollection

Returns:



1188
1189
1190
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1188

def dels(*args)
  ModCollection.new(self, extract_selector(args).merge(tag_name: "del"))
end

#desc(*args) ⇒ Desc

Returns:



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

def desc(*args)
  Desc.new(self, extract_selector(args).merge(tag_name: "desc"))
end

#descs(*args) ⇒ DescCollection

Returns:



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

def descs(*args)
  DescCollection.new(self, extract_selector(args).merge(tag_name: "desc"))
end

#details(*args) ⇒ Details

Returns:



1194
1195
1196
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1194

def details(*args)
  Details.new(self, extract_selector(args).merge(tag_name: "details"))
end

#detailses(*args) ⇒ DetailsCollection

Returns:



1198
1199
1200
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1198

def detailses(*args)
  DetailsCollection.new(self, extract_selector(args).merge(tag_name: "details"))
end

#dfn(*args) ⇒ HTMLElement

Returns:



1204
1205
1206
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1204

def dfn(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "dfn"))
end

#dfns(*args) ⇒ HTMLElementCollection



1208
1209
1210
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1208

def dfns(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dfn"))
end

#dialog(*args) ⇒ Dialog

Returns:



1214
1215
1216
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1214

def dialog(*args)
  Dialog.new(self, extract_selector(args).merge(tag_name: "dialog"))
end

#dialogs(*args) ⇒ DialogCollection

Returns:



1218
1219
1220
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1218

def dialogs(*args)
  DialogCollection.new(self, extract_selector(args).merge(tag_name: "dialog"))
end

#discard(*args) ⇒ Metadata

Returns:



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

def discard(*args)
  Metadata.new(self, extract_selector(args).merge(tag_name: "discard"))
end

#discards(*args) ⇒ MetadataCollection

Returns:



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

def discards(*args)
  MetadataCollection.new(self, extract_selector(args).merge(tag_name: "discard"))
end

#div(*args) ⇒ Div

Returns:



1224
1225
1226
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1224

def div(*args)
  Div.new(self, extract_selector(args).merge(tag_name: "div"))
end

#divs(*args) ⇒ DivCollection

Returns:



1228
1229
1230
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1228

def divs(*args)
  DivCollection.new(self, extract_selector(args).merge(tag_name: "div"))
end

#dl(*args) ⇒ DList

Returns:



1234
1235
1236
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1234

def dl(*args)
  DList.new(self, extract_selector(args).merge(tag_name: "dl"))
end

#dls(*args) ⇒ DListCollection

Returns:



1238
1239
1240
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1238

def dls(*args)
  DListCollection.new(self, extract_selector(args).merge(tag_name: "dl"))
end

#dt(*args) ⇒ HTMLElement

Returns:



1244
1245
1246
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1244

def dt(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "dt"))
end

#dts(*args) ⇒ HTMLElementCollection



1248
1249
1250
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1248

def dts(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dt"))
end

#element(*args) ⇒ HTMLElement

Returns element.

Examples:

browser.element(data_bind: 'func')

Returns:



15
16
17
# File 'lib/watir-webdriver/container.rb', line 15

def element(*args)
  HTMLElement.new(self, extract_selector(args))
end

#elements(*args) ⇒ HTMLElementCollection

Returns element collection.

Examples:

browser.elements(data_bind: 'func')

Returns:



28
29
30
# File 'lib/watir-webdriver/container.rb', line 28

def elements(*args)
  HTMLElementCollection.new(self, extract_selector(args))
end

#ellipse(*args) ⇒ Ellipse

Returns:



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

def ellipse(*args)
  Ellipse.new(self, extract_selector(args).merge(tag_name: "ellipse"))
end

#ellipses(*args) ⇒ EllipseCollection

Returns:



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

def ellipses(*args)
  EllipseCollection.new(self, extract_selector(args).merge(tag_name: "ellipse"))
end

#em(*args) ⇒ HTMLElement

Returns:



1254
1255
1256
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1254

def em(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "em"))
end

#embed(*args) ⇒ Embed

Returns:



1264
1265
1266
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1264

def embed(*args)
  Embed.new(self, extract_selector(args).merge(tag_name: "embed"))
end

#embeds(*args) ⇒ EmbedCollection

Returns:



1268
1269
1270
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1268

def embeds(*args)
  EmbedCollection.new(self, extract_selector(args).merge(tag_name: "embed"))
end

#ems(*args) ⇒ HTMLElementCollection



1258
1259
1260
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1258

def ems(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "em"))
end

#extract_selector(selectors) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Raises:

  • (ArgumentError)


36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/watir-webdriver/container.rb', line 36

def extract_selector(selectors)
  case selectors.size
  when 2
    return { selectors[0] => selectors[1] }
  when 1
    obj = selectors.first
    return obj if obj.kind_of? Hash
  when 0
    return {}
  end

  raise ArgumentError, "expected Hash or (:how, 'what'), got #{selectors.inspect}"
end

#field_setObject



3
# File 'lib/watir-webdriver/aliases.rb', line 3

alias_method :field_set, :fieldset

#field_setsObject



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

alias_method :field_sets, :fieldsets

#fieldset(*args) ⇒ FieldSet

Returns:



1274
1275
1276
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1274

def fieldset(*args)
  FieldSet.new(self, extract_selector(args).merge(tag_name: "fieldset"))
end

#fieldsets(*args) ⇒ FieldSetCollection

Returns:



1278
1279
1280
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1278

def fieldsets(*args)
  FieldSetCollection.new(self, extract_selector(args).merge(tag_name: "fieldset"))
end

#figcaption(*args) ⇒ HTMLElement

Returns:



1284
1285
1286
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1284

def figcaption(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "figcaption"))
end

#figcaptions(*args) ⇒ HTMLElementCollection



1288
1289
1290
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1288

def figcaptions(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "figcaption"))
end

#figure(*args) ⇒ HTMLElement

Returns:



1294
1295
1296
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1294

def figure(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "figure"))
end

#figures(*args) ⇒ HTMLElementCollection



1298
1299
1300
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1298

def figures(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "figure"))
end

#file_field(*args) ⇒ Object



30
31
32
# File 'lib/watir-webdriver/elements/file_field.rb', line 30

def file_field(*args)
  FileField.new(self, extract_selector(args).merge(tag_name: "input", type: "file"))
end

#file_fields(*args) ⇒ Object



34
35
36
# File 'lib/watir-webdriver/elements/file_field.rb', line 34

def file_fields(*args)
  FileFieldCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "file"))
end

#font(*args) ⇒ Object



3
4
5
# File 'lib/watir-webdriver/elements/font.rb', line 3

def font(*args)
  Font.new(self, extract_selector(args).merge(tag_name: "font"))
end

#fonts(*args) ⇒ Object



7
8
9
# File 'lib/watir-webdriver/elements/font.rb', line 7

def fonts(*args)
  FontCollection.new(self, extract_selector(args).merge(tag_name: "font"))
end

Returns:



1304
1305
1306
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1304

def footer(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "footer"))
end

#footers(*args) ⇒ HTMLElementCollection



1308
1309
1310
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1308

def footers(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "footer"))
end

#foreign_object(*args) ⇒ ForeignObject

Returns:



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

def foreign_object(*args)
  ForeignObject.new(self, extract_selector(args).merge(tag_name: "foreignObject"))
end

#foreign_objects(*args) ⇒ ForeignObjectCollection



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

def foreign_objects(*args)
  ForeignObjectCollection.new(self, extract_selector(args).merge(tag_name: "foreignObject"))
end

#form(*args) ⇒ Form

Returns:



1314
1315
1316
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1314

def form(*args)
  Form.new(self, extract_selector(args).merge(tag_name: "form"))
end

#forms(*args) ⇒ FormCollection

Returns:



1318
1319
1320
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1318

def forms(*args)
  FormCollection.new(self, extract_selector(args).merge(tag_name: "form"))
end

#frame(*args) ⇒ Object



107
108
109
# File 'lib/watir-webdriver/elements/iframe.rb', line 107

def frame(*args)
  Frame.new(self, extract_selector(args).merge(tag_name: "frame"))
end

#frames(*args) ⇒ Object



111
112
113
# File 'lib/watir-webdriver/elements/iframe.rb', line 111

def frames(*args)
  FrameCollection.new(self, extract_selector(args).merge(tag_name: "frame"))
end

#frameset(*args) ⇒ FrameSet

Returns:



1324
1325
1326
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1324

def frameset(*args)
  FrameSet.new(self, extract_selector(args).merge(tag_name: "frameset"))
end

#framesets(*args) ⇒ FrameSetCollection

Returns:



1328
1329
1330
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1328

def framesets(*args)
  FrameSetCollection.new(self, extract_selector(args).merge(tag_name: "frameset"))
end

#g(*args) ⇒ G

Returns:

  • (G)


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

def g(*args)
  G.new(self, extract_selector(args).merge(tag_name: "g"))
end

#gs(*args) ⇒ GCollection

Returns:



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

def gs(*args)
  GCollection.new(self, extract_selector(args).merge(tag_name: "g"))
end

#h1(*args) ⇒ Heading

Returns:



1334
1335
1336
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1334

def h1(*args)
  Heading.new(self, extract_selector(args).merge(tag_name: "h1"))
end

#h1s(*args) ⇒ HeadingCollection

Returns:



1338
1339
1340
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1338

def h1s(*args)
  HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h1"))
end

#h2(*args) ⇒ Heading

Returns:



1344
1345
1346
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1344

def h2(*args)
  Heading.new(self, extract_selector(args).merge(tag_name: "h2"))
end

#h2s(*args) ⇒ HeadingCollection

Returns:



1348
1349
1350
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1348

def h2s(*args)
  HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h2"))
end

#h3(*args) ⇒ Heading

Returns:



1354
1355
1356
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1354

def h3(*args)
  Heading.new(self, extract_selector(args).merge(tag_name: "h3"))
end

#h3s(*args) ⇒ HeadingCollection

Returns:



1358
1359
1360
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1358

def h3s(*args)
  HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h3"))
end

#h4(*args) ⇒ Heading

Returns:



1364
1365
1366
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1364

def h4(*args)
  Heading.new(self, extract_selector(args).merge(tag_name: "h4"))
end

#h4s(*args) ⇒ HeadingCollection

Returns:



1368
1369
1370
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1368

def h4s(*args)
  HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h4"))
end

#h5(*args) ⇒ Heading

Returns:



1374
1375
1376
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1374

def h5(*args)
  Heading.new(self, extract_selector(args).merge(tag_name: "h5"))
end

#h5s(*args) ⇒ HeadingCollection

Returns:



1378
1379
1380
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1378

def h5s(*args)
  HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h5"))
end

#h6(*args) ⇒ Heading

Returns:



1384
1385
1386
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1384

def h6(*args)
  Heading.new(self, extract_selector(args).merge(tag_name: "h6"))
end

#h6s(*args) ⇒ HeadingCollection

Returns:



1388
1389
1390
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1388

def h6s(*args)
  HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h6"))
end

#head(*args) ⇒ Head

Returns:



1394
1395
1396
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1394

def head(*args)
  Head.new(self, extract_selector(args).merge(tag_name: "head"))
end

#header(*args) ⇒ HTMLElement

Returns:



1404
1405
1406
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1404

def header(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "header"))
end

#headers(*args) ⇒ HTMLElementCollection



1408
1409
1410
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1408

def headers(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "header"))
end

#heads(*args) ⇒ HeadCollection

Returns:



1398
1399
1400
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1398

def heads(*args)
  HeadCollection.new(self, extract_selector(args).merge(tag_name: "head"))
end

#hgroup(*args) ⇒ HTMLElement

Returns:



1414
1415
1416
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1414

def hgroup(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "hgroup"))
end

#hgroups(*args) ⇒ HTMLElementCollection



1418
1419
1420
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1418

def hgroups(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "hgroup"))
end

#hidden(*args) ⇒ Object



9
10
11
# File 'lib/watir-webdriver/elements/hidden.rb', line 9

def hidden(*args)
  Hidden.new(self, extract_selector(args).merge(tag_name: "input", type: "hidden"))
end

#hiddens(*args) ⇒ Object



13
14
15
# File 'lib/watir-webdriver/elements/hidden.rb', line 13

def hiddens(*args)
  HiddenCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "hidden"))
end

#hr(*args) ⇒ HR

Returns:



1424
1425
1426
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1424

def hr(*args)
  HR.new(self, extract_selector(args).merge(tag_name: "hr"))
end

#hrs(*args) ⇒ HRCollection

Returns:



1428
1429
1430
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1428

def hrs(*args)
  HRCollection.new(self, extract_selector(args).merge(tag_name: "hr"))
end

#html(*args) ⇒ Html

Returns:



1434
1435
1436
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1434

def html(*args)
  Html.new(self, extract_selector(args).merge(tag_name: "html"))
end

#htmls(*args) ⇒ HtmlCollection

Returns:



1438
1439
1440
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1438

def htmls(*args)
  HtmlCollection.new(self, extract_selector(args).merge(tag_name: "html"))
end

#i(*args) ⇒ HTMLElement

Returns:



1444
1445
1446
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1444

def i(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "i"))
end

#iframe(*args) ⇒ IFrame

Returns:



1454
1455
1456
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1454

def iframe(*args)
  IFrame.new(self, extract_selector(args).merge(tag_name: "iframe"))
end

#iframes(*args) ⇒ IFrameCollection

Returns:



1458
1459
1460
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1458

def iframes(*args)
  IFrameCollection.new(self, extract_selector(args).merge(tag_name: "iframe"))
end

#imageObject



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

alias_method :image, :img

#imagesObject



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

alias_method :images, :imgs

#img(*args) ⇒ Image

Returns:



1464
1465
1466
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1464

def img(*args)
  Image.new(self, extract_selector(args).merge(tag_name: "img"))
end

#imgs(*args) ⇒ ImageCollection

Returns:



1468
1469
1470
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1468

def imgs(*args)
  ImageCollection.new(self, extract_selector(args).merge(tag_name: "img"))
end

#input(*args) ⇒ Input

Returns:



1474
1475
1476
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1474

def input(*args)
  Input.new(self, extract_selector(args).merge(tag_name: "input"))
end

#inputs(*args) ⇒ InputCollection

Returns:



1478
1479
1480
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1478

def inputs(*args)
  InputCollection.new(self, extract_selector(args).merge(tag_name: "input"))
end

#ins(*args) ⇒ Mod

Returns:



1484
1485
1486
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1484

def ins(*args)
  Mod.new(self, extract_selector(args).merge(tag_name: "ins"))
end

#inses(*args) ⇒ ModCollection

Returns:



1488
1489
1490
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1488

def inses(*args)
  ModCollection.new(self, extract_selector(args).merge(tag_name: "ins"))
end

#is(*args) ⇒ HTMLElementCollection



1448
1449
1450
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1448

def is(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "i"))
end

#kbd(*args) ⇒ HTMLElement

Returns:



1494
1495
1496
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1494

def kbd(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "kbd"))
end

#kbds(*args) ⇒ HTMLElementCollection



1498
1499
1500
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1498

def kbds(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "kbd"))
end

#keygen(*args) ⇒ Keygen

Returns:



1504
1505
1506
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1504

def keygen(*args)
  Keygen.new(self, extract_selector(args).merge(tag_name: "keygen"))
end

#keygens(*args) ⇒ KeygenCollection

Returns:



1508
1509
1510
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1508

def keygens(*args)
  KeygenCollection.new(self, extract_selector(args).merge(tag_name: "keygen"))
end

#label(*args) ⇒ Label

Returns:



1514
1515
1516
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1514

def label(*args)
  Label.new(self, extract_selector(args).merge(tag_name: "label"))
end

#labels(*args) ⇒ LabelCollection

Returns:



1518
1519
1520
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1518

def labels(*args)
  LabelCollection.new(self, extract_selector(args).merge(tag_name: "label"))
end

#legend(*args) ⇒ Legend

Returns:



1524
1525
1526
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1524

def legend(*args)
  Legend.new(self, extract_selector(args).merge(tag_name: "legend"))
end

#legends(*args) ⇒ LegendCollection

Returns:



1528
1529
1530
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1528

def legends(*args)
  LegendCollection.new(self, extract_selector(args).merge(tag_name: "legend"))
end

#li(*args) ⇒ LI

Returns:



1534
1535
1536
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1534

def li(*args)
  LI.new(self, extract_selector(args).merge(tag_name: "li"))
end

#line(*args) ⇒ Line

Returns:



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

def line(*args)
  Line.new(self, extract_selector(args).merge(tag_name: "line"))
end

#linear_gradient(*args) ⇒ LinearGradient

Returns:



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

def linear_gradient(*args)
  LinearGradient.new(self, extract_selector(args).merge(tag_name: "linearGradient"))
end

#linear_gradients(*args) ⇒ LinearGradientCollection



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

def linear_gradients(*args)
  LinearGradientCollection.new(self, extract_selector(args).merge(tag_name: "linearGradient"))
end

#lines(*args) ⇒ LineCollection

Returns:



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

def lines(*args)
  LineCollection.new(self, extract_selector(args).merge(tag_name: "line"))
end


3
# File 'lib/watir-webdriver/elements/link.rb', line 3

alias_method :link,  :a


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

alias_method :links, :as

#lis(*args) ⇒ LICollection

Returns:



1538
1539
1540
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1538

def lis(*args)
  LICollection.new(self, extract_selector(args).merge(tag_name: "li"))
end

#main(*args) ⇒ HTMLElement

Returns:



1544
1545
1546
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1544

def main(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "main"))
end

#mains(*args) ⇒ HTMLElementCollection



1548
1549
1550
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1548

def mains(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "main"))
end

#map(*args) ⇒ Map

Returns:



1554
1555
1556
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1554

def map(*args)
  Map.new(self, extract_selector(args).merge(tag_name: "map"))
end

#maps(*args) ⇒ MapCollection

Returns:



1558
1559
1560
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1558

def maps(*args)
  MapCollection.new(self, extract_selector(args).merge(tag_name: "map"))
end

#mark(*args) ⇒ HTMLElement

Returns:



1564
1565
1566
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1564

def mark(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "mark"))
end

#marker(*args) ⇒ Marker

Returns:



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

def marker(*args)
  Marker.new(self, extract_selector(args).merge(tag_name: "marker"))
end

#markers(*args) ⇒ MarkerCollection

Returns:



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

def markers(*args)
  MarkerCollection.new(self, extract_selector(args).merge(tag_name: "marker"))
end

#marks(*args) ⇒ HTMLElementCollection



1568
1569
1570
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1568

def marks(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "mark"))
end

Returns:



1574
1575
1576
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1574

def menu(*args)
  Menu.new(self, extract_selector(args).merge(tag_name: "menu"))
end

Returns:



1584
1585
1586
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1584

def menuitem(*args)
  MenuItem.new(self, extract_selector(args).merge(tag_name: "menuitem"))
end

Returns:



1588
1589
1590
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1588

def menuitems(*args)
  MenuItemCollection.new(self, extract_selector(args).merge(tag_name: "menuitem"))
end

Returns:



1578
1579
1580
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1578

def menus(*args)
  MenuCollection.new(self, extract_selector(args).merge(tag_name: "menu"))
end

#mesh_gradient(*args) ⇒ MeshGradient

Returns:



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

def mesh_gradient(*args)
  MeshGradient.new(self, extract_selector(args).merge(tag_name: "meshGradient"))
end

#mesh_gradients(*args) ⇒ MeshGradientCollection



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

def mesh_gradients(*args)
  MeshGradientCollection.new(self, extract_selector(args).merge(tag_name: "meshGradient"))
end

#mesh_patch(*args) ⇒ MeshPatch

Returns:



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

def mesh_patch(*args)
  MeshPatch.new(self, extract_selector(args).merge(tag_name: "meshPatch"))
end

#mesh_patches(*args) ⇒ MeshPatchCollection

Returns:



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

def mesh_patches(*args)
  MeshPatchCollection.new(self, extract_selector(args).merge(tag_name: "meshPatch"))
end

#mesh_row(*args) ⇒ MeshRow

Returns:



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

def mesh_row(*args)
  MeshRow.new(self, extract_selector(args).merge(tag_name: "meshRow"))
end

#mesh_rows(*args) ⇒ MeshRowCollection

Returns:



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

def mesh_rows(*args)
  MeshRowCollection.new(self, extract_selector(args).merge(tag_name: "meshRow"))
end

#meta(*args) ⇒ Meta

Returns:



1594
1595
1596
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1594

def meta(*args)
  Meta.new(self, extract_selector(args).merge(tag_name: "meta"))
end

#metadata(*args) ⇒ Metadata

Returns:



498
499
500
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 498

def (*args)
  Metadata.new(self, extract_selector(args).merge(tag_name: "metadata"))
end

#metadatas(*args) ⇒ MetadataCollection

Returns:



502
503
504
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 502

def metadatas(*args)
  MetadataCollection.new(self, extract_selector(args).merge(tag_name: "metadata"))
end

#metas(*args) ⇒ MetaCollection

Returns:



1598
1599
1600
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1598

def metas(*args)
  MetaCollection.new(self, extract_selector(args).merge(tag_name: "meta"))
end

#meter(*args) ⇒ Meter

Returns:



1604
1605
1606
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1604

def meter(*args)
  Meter.new(self, extract_selector(args).merge(tag_name: "meter"))
end

#meters(*args) ⇒ MeterCollection

Returns:



1608
1609
1610
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1608

def meters(*args)
  MeterCollection.new(self, extract_selector(args).merge(tag_name: "meter"))
end

#mpath(*args) ⇒ MPath

Returns:



508
509
510
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 508

def mpath(*args)
  MPath.new(self, extract_selector(args).merge(tag_name: "mpath"))
end

#mpaths(*args) ⇒ MPathCollection

Returns:



512
513
514
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 512

def mpaths(*args)
  MPathCollection.new(self, extract_selector(args).merge(tag_name: "mpath"))
end

Returns:



1614
1615
1616
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1614

def nav(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "nav"))
end


1618
1619
1620
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1618

def navs(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "nav"))
end

#noscript(*args) ⇒ HTMLElement

Returns:



1624
1625
1626
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1624

def noscript(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "noscript"))
end

#noscripts(*args) ⇒ HTMLElementCollection



1628
1629
1630
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1628

def noscripts(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "noscript"))
end

#object(*args) ⇒ Object

Returns:



1634
1635
1636
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1634

def object(*args)
  Object.new(self, extract_selector(args).merge(tag_name: "object"))
end

#objects(*args) ⇒ ObjectCollection

Returns:



1638
1639
1640
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1638

def objects(*args)
  ObjectCollection.new(self, extract_selector(args).merge(tag_name: "object"))
end

#ol(*args) ⇒ OList

Returns:



1644
1645
1646
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1644

def ol(*args)
  OList.new(self, extract_selector(args).merge(tag_name: "ol"))
end

#ols(*args) ⇒ OListCollection

Returns:



1648
1649
1650
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1648

def ols(*args)
  OListCollection.new(self, extract_selector(args).merge(tag_name: "ol"))
end

#optgroup(*args) ⇒ OptGroup

Returns:



1654
1655
1656
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1654

def optgroup(*args)
  OptGroup.new(self, extract_selector(args).merge(tag_name: "optgroup"))
end

#optgroups(*args) ⇒ OptGroupCollection

Returns:



1658
1659
1660
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1658

def optgroups(*args)
  OptGroupCollection.new(self, extract_selector(args).merge(tag_name: "optgroup"))
end

#option(*args) ⇒ Option

Returns:



1664
1665
1666
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1664

def option(*args)
  Option.new(self, extract_selector(args).merge(tag_name: "option"))
end

#options(*args) ⇒ OptionCollection

Returns:



1668
1669
1670
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1668

def options(*args)
  OptionCollection.new(self, extract_selector(args).merge(tag_name: "option"))
end

#output(*args) ⇒ Output

Returns:



1674
1675
1676
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1674

def output(*args)
  Output.new(self, extract_selector(args).merge(tag_name: "output"))
end

#outputs(*args) ⇒ OutputCollection

Returns:



1678
1679
1680
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1678

def outputs(*args)
  OutputCollection.new(self, extract_selector(args).merge(tag_name: "output"))
end

#p(*args) ⇒ Paragraph

Returns:



1684
1685
1686
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1684

def p(*args)
  Paragraph.new(self, extract_selector(args).merge(tag_name: "p"))
end

#param(*args) ⇒ Param

Returns:



1694
1695
1696
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1694

def param(*args)
  Param.new(self, extract_selector(args).merge(tag_name: "param"))
end

#params(*args) ⇒ ParamCollection

Returns:



1698
1699
1700
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1698

def params(*args)
  ParamCollection.new(self, extract_selector(args).merge(tag_name: "param"))
end

#path(*args) ⇒ Path

Returns:



518
519
520
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 518

def path(*args)
  Path.new(self, extract_selector(args).merge(tag_name: "path"))
end

#paths(*args) ⇒ PathCollection

Returns:



522
523
524
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 522

def paths(*args)
  PathCollection.new(self, extract_selector(args).merge(tag_name: "path"))
end

#pattern(*args) ⇒ Pattern

Returns:



528
529
530
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 528

def pattern(*args)
  Pattern.new(self, extract_selector(args).merge(tag_name: "pattern"))
end

#patterns(*args) ⇒ PatternCollection

Returns:



532
533
534
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 532

def patterns(*args)
  PatternCollection.new(self, extract_selector(args).merge(tag_name: "pattern"))
end

#polygon(*args) ⇒ Polygon

Returns:



538
539
540
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 538

def polygon(*args)
  Polygon.new(self, extract_selector(args).merge(tag_name: "polygon"))
end

#polygons(*args) ⇒ PolygonCollection

Returns:



542
543
544
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 542

def polygons(*args)
  PolygonCollection.new(self, extract_selector(args).merge(tag_name: "polygon"))
end

#polyline(*args) ⇒ Polyline

Returns:



548
549
550
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 548

def polyline(*args)
  Polyline.new(self, extract_selector(args).merge(tag_name: "polyline"))
end

#polylines(*args) ⇒ PolylineCollection

Returns:



552
553
554
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 552

def polylines(*args)
  PolylineCollection.new(self, extract_selector(args).merge(tag_name: "polyline"))
end

#pre(*args) ⇒ Pre

Returns:



1704
1705
1706
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1704

def pre(*args)
  Pre.new(self, extract_selector(args).merge(tag_name: "pre"))
end

#pres(*args) ⇒ PreCollection

Returns:



1708
1709
1710
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1708

def pres(*args)
  PreCollection.new(self, extract_selector(args).merge(tag_name: "pre"))
end

#progress(*args) ⇒ Progress

Returns:



1714
1715
1716
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1714

def progress(*args)
  Progress.new(self, extract_selector(args).merge(tag_name: "progress"))
end

#progresses(*args) ⇒ ProgressCollection

Returns:



1718
1719
1720
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1718

def progresses(*args)
  ProgressCollection.new(self, extract_selector(args).merge(tag_name: "progress"))
end

#ps(*args) ⇒ ParagraphCollection

Returns:



1688
1689
1690
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1688

def ps(*args)
  ParagraphCollection.new(self, extract_selector(args).merge(tag_name: "p"))
end

#q(*args) ⇒ Quote

Returns:



1724
1725
1726
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1724

def q(*args)
  Quote.new(self, extract_selector(args).merge(tag_name: "q"))
end

#qs(*args) ⇒ QuoteCollection

Returns:



1728
1729
1730
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1728

def qs(*args)
  QuoteCollection.new(self, extract_selector(args).merge(tag_name: "q"))
end

#radial_gradient(*args) ⇒ RadialGradient

Returns:



558
559
560
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 558

def radial_gradient(*args)
  RadialGradient.new(self, extract_selector(args).merge(tag_name: "radialGradient"))
end

#radial_gradients(*args) ⇒ RadialGradientCollection



562
563
564
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 562

def radial_gradients(*args)
  RadialGradientCollection.new(self, extract_selector(args).merge(tag_name: "radialGradient"))
end

#radio(*args) ⇒ Object



26
27
28
# File 'lib/watir-webdriver/elements/radio.rb', line 26

def radio(*args)
  Radio.new(self, extract_selector(args).merge(tag_name: "input", type: "radio"))
end

#radios(*args) ⇒ Object



30
31
32
# File 'lib/watir-webdriver/elements/radio.rb', line 30

def radios(*args)
  RadioCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "radio" ))
end

#rect(*args) ⇒ Rect

Returns:



568
569
570
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 568

def rect(*args)
  Rect.new(self, extract_selector(args).merge(tag_name: "rect"))
end

#rects(*args) ⇒ RectCollection

Returns:



572
573
574
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 572

def rects(*args)
  RectCollection.new(self, extract_selector(args).merge(tag_name: "rect"))
end

#rp(*args) ⇒ HTMLElement

Returns:



1734
1735
1736
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1734

def rp(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "rp"))
end

#rps(*args) ⇒ HTMLElementCollection



1738
1739
1740
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1738

def rps(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rp"))
end

#rt(*args) ⇒ HTMLElement

Returns:



1744
1745
1746
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1744

def rt(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "rt"))
end

#rts(*args) ⇒ HTMLElementCollection



1748
1749
1750
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1748

def rts(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rt"))
end

#rubies(*args) ⇒ HTMLElementCollection



1758
1759
1760
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1758

def rubies(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "ruby"))
end

#ruby(*args) ⇒ HTMLElement

Returns:



1754
1755
1756
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1754

def ruby(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "ruby"))
end

#s(*args) ⇒ HTMLElement

Returns:



1764
1765
1766
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1764

def s(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "s"))
end

#samp(*args) ⇒ HTMLElement

Returns:



1774
1775
1776
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1774

def samp(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "samp"))
end

#samps(*args) ⇒ HTMLElementCollection



1778
1779
1780
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1778

def samps(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "samp"))
end

#script(*args) ⇒ Script

Returns:



1784
1785
1786
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1784

def script(*args)
  Script.new(self, extract_selector(args).merge(tag_name: "script"))
end

#scripts(*args) ⇒ ScriptCollection

Returns:



1788
1789
1790
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1788

def scripts(*args)
  ScriptCollection.new(self, extract_selector(args).merge(tag_name: "script"))
end

#section(*args) ⇒ HTMLElement

Returns:



1794
1795
1796
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1794

def section(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "section"))
end

#sections(*args) ⇒ HTMLElementCollection



1798
1799
1800
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1798

def sections(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "section"))
end

#select(*args) ⇒ Select

Returns:



1804
1805
1806
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1804

def select(*args)
  Select.new(self, extract_selector(args).merge(tag_name: "select"))
end

#select_listObject



233
# File 'lib/watir-webdriver/elements/select.rb', line 233

alias_method :select_list,  :select

#select_listsObject



234
# File 'lib/watir-webdriver/elements/select.rb', line 234

alias_method :select_lists, :selects

#selects(*args) ⇒ SelectCollection

Returns:



1808
1809
1810
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1808

def selects(*args)
  SelectCollection.new(self, extract_selector(args).merge(tag_name: "select"))
end

#set(*args) ⇒ Set

Returns:



578
579
580
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 578

def set(*args)
  Set.new(self, extract_selector(args).merge(tag_name: "set"))
end

#sets(*args) ⇒ SetCollection

Returns:



582
583
584
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 582

def sets(*args)
  SetCollection.new(self, extract_selector(args).merge(tag_name: "set"))
end

#small(*args) ⇒ HTMLElement

Returns:



1814
1815
1816
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1814

def small(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "small"))
end

#smalls(*args) ⇒ HTMLElementCollection



1818
1819
1820
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1818

def smalls(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "small"))
end

#source(*args) ⇒ Source

Returns:



1824
1825
1826
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1824

def source(*args)
  Source.new(self, extract_selector(args).merge(tag_name: "source"))
end

#sources(*args) ⇒ SourceCollection

Returns:



1828
1829
1830
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1828

def sources(*args)
  SourceCollection.new(self, extract_selector(args).merge(tag_name: "source"))
end

#span(*args) ⇒ Span

Returns:



1834
1835
1836
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1834

def span(*args)
  Span.new(self, extract_selector(args).merge(tag_name: "span"))
end

#spans(*args) ⇒ SpanCollection

Returns:



1838
1839
1840
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1838

def spans(*args)
  SpanCollection.new(self, extract_selector(args).merge(tag_name: "span"))
end

#ss(*args) ⇒ HTMLElementCollection



1768
1769
1770
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1768

def ss(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "s"))
end

#stop(*args) ⇒ Stop

Returns:



588
589
590
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 588

def stop(*args)
  Stop.new(self, extract_selector(args).merge(tag_name: "stop"))
end

#stops(*args) ⇒ StopCollection

Returns:



592
593
594
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 592

def stops(*args)
  StopCollection.new(self, extract_selector(args).merge(tag_name: "stop"))
end

#strong(*args) ⇒ HTMLElement

Returns:



1844
1845
1846
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1844

def strong(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "strong"))
end

#strongs(*args) ⇒ HTMLElementCollection



1848
1849
1850
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1848

def strongs(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "strong"))
end

#style(*args) ⇒ Style

Returns:



1854
1855
1856
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1854

def style(*args)
  Style.new(self, extract_selector(args).merge(tag_name: "style"))
end

#styles(*args) ⇒ StyleCollection

Returns:



1858
1859
1860
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1858

def styles(*args)
  StyleCollection.new(self, extract_selector(args).merge(tag_name: "style"))
end

#sub(*args) ⇒ HTMLElement

Returns:



1864
1865
1866
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1864

def sub(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "sub"))
end

#subs(*args) ⇒ HTMLElementCollection



1868
1869
1870
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1868

def subs(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "sub"))
end

#summaries(*args) ⇒ HTMLElementCollection



1878
1879
1880
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1878

def summaries(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "summary"))
end

#summary(*args) ⇒ HTMLElement

Returns:



1874
1875
1876
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1874

def summary(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "summary"))
end

#sup(*args) ⇒ HTMLElement

Returns:



1884
1885
1886
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1884

def sup(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "sup"))
end

#sups(*args) ⇒ HTMLElementCollection



1888
1889
1890
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1888

def sups(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "sup"))
end

#svg(*args) ⇒ SVG

Returns:



598
599
600
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 598

def svg(*args)
  SVG.new(self, extract_selector(args).merge(tag_name: "svg"))
end

#svgs(*args) ⇒ SVGCollection

Returns:



602
603
604
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 602

def svgs(*args)
  SVGCollection.new(self, extract_selector(args).merge(tag_name: "svg"))
end

#switch(*args) ⇒ Switch

Returns:



608
609
610
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 608

def switch(*args)
  Switch.new(self, extract_selector(args).merge(tag_name: "switch"))
end

#switches(*args) ⇒ SwitchCollection

Returns:



612
613
614
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 612

def switches(*args)
  SwitchCollection.new(self, extract_selector(args).merge(tag_name: "switch"))
end

#symbol(*args) ⇒ Symbol

Returns:



618
619
620
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 618

def symbol(*args)
  Symbol.new(self, extract_selector(args).merge(tag_name: "symbol"))
end

#symbols(*args) ⇒ SymbolCollection

Returns:



622
623
624
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 622

def symbols(*args)
  SymbolCollection.new(self, extract_selector(args).merge(tag_name: "symbol"))
end

#table(*args) ⇒ Table

Returns:



1894
1895
1896
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1894

def table(*args)
  Table.new(self, extract_selector(args).merge(tag_name: "table"))
end

#tables(*args) ⇒ TableCollection

Returns:



1898
1899
1900
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1898

def tables(*args)
  TableCollection.new(self, extract_selector(args).merge(tag_name: "table"))
end

#tbody(*args) ⇒ TableSection

Returns:



1904
1905
1906
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1904

def tbody(*args)
  TableSection.new(self, extract_selector(args).merge(tag_name: "tbody"))
end

#tbodys(*args) ⇒ TableSectionCollection



1908
1909
1910
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1908

def tbodys(*args)
  TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "tbody"))
end

#td(*args) ⇒ TableDataCell

Returns:



1914
1915
1916
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1914

def td(*args)
  TableDataCell.new(self, extract_selector(args).merge(tag_name: "td"))
end

#tds(*args) ⇒ TableDataCellCollection



1918
1919
1920
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1918

def tds(*args)
  TableDataCellCollection.new(self, extract_selector(args).merge(tag_name: "td"))
end

#template(*args) ⇒ Template

Returns:



1924
1925
1926
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1924

def template(*args)
  Template.new(self, extract_selector(args).merge(tag_name: "template"))
end

#templates(*args) ⇒ TemplateCollection

Returns:



1928
1929
1930
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1928

def templates(*args)
  TemplateCollection.new(self, extract_selector(args).merge(tag_name: "template"))
end

#text_field(*args) ⇒ Object



21
22
23
# File 'lib/watir-webdriver/elements/text_field.rb', line 21

def text_field(*args)
  TextField.new(self, extract_selector(args).merge(tag_name: "input"))
end

#text_fields(*args) ⇒ Object



25
26
27
# File 'lib/watir-webdriver/elements/text_field.rb', line 25

def text_fields(*args)
  TextFieldCollection.new(self, extract_selector(args).merge(tag_name: "input"))
end

#text_path(*args) ⇒ TextPath

Returns:



628
629
630
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 628

def text_path(*args)
  TextPath.new(self, extract_selector(args).merge(tag_name: "textPath"))
end

#text_paths(*args) ⇒ TextPathCollection

Returns:



632
633
634
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 632

def text_paths(*args)
  TextPathCollection.new(self, extract_selector(args).merge(tag_name: "textPath"))
end

#textarea(*args) ⇒ TextArea

Returns:



1934
1935
1936
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1934

def textarea(*args)
  TextArea.new(self, extract_selector(args).merge(tag_name: "textarea"))
end

#textareas(*args) ⇒ TextAreaCollection

Returns:



1938
1939
1940
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1938

def textareas(*args)
  TextAreaCollection.new(self, extract_selector(args).merge(tag_name: "textarea"))
end

#tfoot(*args) ⇒ TableSection

Returns:



1944
1945
1946
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1944

def tfoot(*args)
  TableSection.new(self, extract_selector(args).merge(tag_name: "tfoot"))
end

#tfoots(*args) ⇒ TableSectionCollection



1948
1949
1950
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1948

def tfoots(*args)
  TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "tfoot"))
end

#th(*args) ⇒ TableHeaderCell

Returns:



1954
1955
1956
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1954

def th(*args)
  TableHeaderCell.new(self, extract_selector(args).merge(tag_name: "th"))
end

#thead(*args) ⇒ TableSection

Returns:



1964
1965
1966
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1964

def thead(*args)
  TableSection.new(self, extract_selector(args).merge(tag_name: "thead"))
end

#theads(*args) ⇒ TableSectionCollection



1968
1969
1970
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1968

def theads(*args)
  TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "thead"))
end

#ths(*args) ⇒ TableHeaderCellCollection



1958
1959
1960
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1958

def ths(*args)
  TableHeaderCellCollection.new(self, extract_selector(args).merge(tag_name: "th"))
end

#time(*args) ⇒ Time

Returns:



1974
1975
1976
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1974

def time(*args)
  Time.new(self, extract_selector(args).merge(tag_name: "time"))
end

#times(*args) ⇒ TimeCollection

Returns:



1978
1979
1980
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1978

def times(*args)
  TimeCollection.new(self, extract_selector(args).merge(tag_name: "time"))
end

#title(*args) ⇒ Title

Returns:



1984
1985
1986
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1984

def title(*args)
  Title.new(self, extract_selector(args).merge(tag_name: "title"))
end

#titles(*args) ⇒ TitleCollection

Returns:



1988
1989
1990
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1988

def titles(*args)
  TitleCollection.new(self, extract_selector(args).merge(tag_name: "title"))
end

#tr(*args) ⇒ TableRow

Returns:



1994
1995
1996
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1994

def tr(*args)
  TableRow.new(self, extract_selector(args).merge(tag_name: "tr"))
end

#track(*args) ⇒ Track

Returns:



2004
2005
2006
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2004

def track(*args)
  Track.new(self, extract_selector(args).merge(tag_name: "track"))
end

#tracks(*args) ⇒ TrackCollection

Returns:



2008
2009
2010
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2008

def tracks(*args)
  TrackCollection.new(self, extract_selector(args).merge(tag_name: "track"))
end

#trs(*args) ⇒ TableRowCollection

Returns:



1998
1999
2000
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1998

def trs(*args)
  TableRowCollection.new(self, extract_selector(args).merge(tag_name: "tr"))
end

#tspan(*args) ⇒ TSpan

Returns:



638
639
640
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 638

def tspan(*args)
  TSpan.new(self, extract_selector(args).merge(tag_name: "tspan"))
end

#tspans(*args) ⇒ TSpanCollection

Returns:



642
643
644
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 642

def tspans(*args)
  TSpanCollection.new(self, extract_selector(args).merge(tag_name: "tspan"))
end

#u(*args) ⇒ HTMLElement

Returns:



2014
2015
2016
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2014

def u(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "u"))
end

#ul(*args) ⇒ UList

Returns:



2024
2025
2026
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2024

def ul(*args)
  UList.new(self, extract_selector(args).merge(tag_name: "ul"))
end

#uls(*args) ⇒ UListCollection

Returns:



2028
2029
2030
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2028

def uls(*args)
  UListCollection.new(self, extract_selector(args).merge(tag_name: "ul"))
end

#us(*args) ⇒ HTMLElementCollection



2018
2019
2020
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2018

def us(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "u"))
end

#use(*args) ⇒ Use

Returns:



648
649
650
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 648

def use(*args)
  Use.new(self, extract_selector(args).merge(tag_name: "use"))
end

#uses(*args) ⇒ UseCollection

Returns:



652
653
654
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 652

def uses(*args)
  UseCollection.new(self, extract_selector(args).merge(tag_name: "use"))
end

#var(*args) ⇒ HTMLElement

Returns:



2034
2035
2036
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2034

def var(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "var"))
end

#vars(*args) ⇒ HTMLElementCollection



2038
2039
2040
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2038

def vars(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "var"))
end

#video(*args) ⇒ Video

Returns:



2044
2045
2046
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2044

def video(*args)
  Video.new(self, extract_selector(args).merge(tag_name: "video"))
end

#videos(*args) ⇒ VideoCollection

Returns:



2048
2049
2050
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2048

def videos(*args)
  VideoCollection.new(self, extract_selector(args).merge(tag_name: "video"))
end

#view(*args) ⇒ View

Returns:



658
659
660
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 658

def view(*args)
  View.new(self, extract_selector(args).merge(tag_name: "view"))
end

#views(*args) ⇒ ViewCollection

Returns:



662
663
664
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 662

def views(*args)
  ViewCollection.new(self, extract_selector(args).merge(tag_name: "view"))
end

#wbr(*args) ⇒ HTMLElement

Returns:



2054
2055
2056
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2054

def wbr(*args)
  HTMLElement.new(self, extract_selector(args).merge(tag_name: "wbr"))
end

#wbrs(*args) ⇒ HTMLElementCollection



2058
2059
2060
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2058

def wbrs(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "wbr"))
end