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:



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

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

#abbr(*args) ⇒ HTMLElement

Returns:



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

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

#abbrs(*args) ⇒ HTMLElementCollection



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

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

#address(*args) ⇒ HTMLElement

Returns:



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

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

#addresses(*args) ⇒ HTMLElementCollection



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

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

#animate(*args) ⇒ Animate

Returns:



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

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

#animate_motion(*args) ⇒ AnimateMotion

Returns:



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

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

#animate_motions(*args) ⇒ AnimateMotionCollection



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

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

#animate_transform(*args) ⇒ AnimateTransform

Returns:



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

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

#animate_transforms(*args) ⇒ AnimateTransformCollection



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

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

#animates(*args) ⇒ AnimateCollection

Returns:



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

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

#area(*args) ⇒ Area

Returns:



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

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

#areas(*args) ⇒ AreaCollection

Returns:



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

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

#article(*args) ⇒ HTMLElement

Returns:



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

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

#articles(*args) ⇒ HTMLElementCollection



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

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

#as(*args) ⇒ AnchorCollection

Returns:



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

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

#aside(*args) ⇒ HTMLElement

Returns:



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

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

#asides(*args) ⇒ HTMLElementCollection



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

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

#audio(*args) ⇒ Audio

Returns:



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

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

#audios(*args) ⇒ AudioCollection

Returns:



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

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

#b(*args) ⇒ HTMLElement

Returns:



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

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

#base(*args) ⇒ Base

Returns:



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

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

#bases(*args) ⇒ BaseCollection

Returns:



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

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

#bdi(*args) ⇒ HTMLElement

Returns:



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

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

#bdis(*args) ⇒ HTMLElementCollection



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

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

#bdo(*args) ⇒ HTMLElement

Returns:



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

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

#bdos(*args) ⇒ HTMLElementCollection



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

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

#blockquote(*args) ⇒ Quote

Returns:



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

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

#blockquotes(*args) ⇒ QuoteCollection

Returns:



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

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

#body(*args) ⇒ Body

Returns:



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

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

#bodys(*args) ⇒ BodyCollection

Returns:



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

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

#br(*args) ⇒ BR

Returns:



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

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

#brs(*args) ⇒ BRCollection

Returns:



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

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

#bs(*args) ⇒ HTMLElementCollection



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

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

#button(*args) ⇒ Button

Returns:



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

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

#buttons(*args) ⇒ ButtonCollection

Returns:



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

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

#canvas(*args) ⇒ Canvas

Returns:



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

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

#canvases(*args) ⇒ CanvasCollection

Returns:



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

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

#caption(*args) ⇒ TableCaption

Returns:



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

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

#captions(*args) ⇒ TableCaptionCollection



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

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

#checkbox(*args) ⇒ Object



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

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

#checkboxes(*args) ⇒ Object



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

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

#circle(*args) ⇒ Circle

Returns:



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

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

#circles(*args) ⇒ CircleCollection

Returns:



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

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

#cite(*args) ⇒ HTMLElement

Returns:



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

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

#cites(*args) ⇒ HTMLElementCollection



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

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

#code(*args) ⇒ HTMLElement

Returns:



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

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

#codes(*args) ⇒ HTMLElementCollection



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

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

#col(*args) ⇒ TableCol

Returns:



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

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

#colgroup(*args) ⇒ TableCol

Returns:



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

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

#colgroups(*args) ⇒ TableColCollection

Returns:



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

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

#cols(*args) ⇒ TableColCollection

Returns:



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

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

#cursor(*args) ⇒ Cursor

Returns:



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

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

#cursors(*args) ⇒ CursorCollection

Returns:



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

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

#data(*args) ⇒ Data

Returns:



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

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

#datalist(*args) ⇒ DataList

Returns:



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

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

#datalists(*args) ⇒ DataListCollection

Returns:



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

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

#datas(*args) ⇒ DataCollection

Returns:



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

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

#dd(*args) ⇒ HTMLElement

Returns:



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

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

#dds(*args) ⇒ HTMLElementCollection



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

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

#defs(*args) ⇒ Defs

Returns:



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

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

#defss(*args) ⇒ DefsCollection

Returns:



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

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

#del(*args) ⇒ Mod

Returns:



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

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

#dels(*args) ⇒ ModCollection

Returns:



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

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

#desc(*args) ⇒ Desc

Returns:



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

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

#descs(*args) ⇒ DescCollection

Returns:



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

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

#details(*args) ⇒ Details

Returns:



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

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

#detailses(*args) ⇒ DetailsCollection

Returns:



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

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

#dfn(*args) ⇒ HTMLElement

Returns:



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

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

#dfns(*args) ⇒ HTMLElementCollection



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

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

#dialog(*args) ⇒ Dialog

Returns:



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

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

#dialogs(*args) ⇒ DialogCollection

Returns:



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

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

#discard(*args) ⇒ Metadata

Returns:



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

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

#discards(*args) ⇒ MetadataCollection

Returns:



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

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

#div(*args) ⇒ Div

Returns:



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

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

#divs(*args) ⇒ DivCollection

Returns:



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

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

#dl(*args) ⇒ DList

Returns:



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

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

#dls(*args) ⇒ DListCollection

Returns:



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

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

#dt(*args) ⇒ HTMLElement

Returns:



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

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

#dts(*args) ⇒ HTMLElementCollection



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

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:



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

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

#ellipses(*args) ⇒ EllipseCollection

Returns:



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

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

#em(*args) ⇒ HTMLElement

Returns:



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

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

#embed(*args) ⇒ Embed

Returns:



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

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

#embeds(*args) ⇒ EmbedCollection

Returns:



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

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

#ems(*args) ⇒ HTMLElementCollection



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

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:



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

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

#fieldsets(*args) ⇒ FieldSetCollection

Returns:



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

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

#figcaption(*args) ⇒ HTMLElement

Returns:



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

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

#figcaptions(*args) ⇒ HTMLElementCollection



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

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

#figure(*args) ⇒ HTMLElement

Returns:



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

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

#figures(*args) ⇒ HTMLElementCollection



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

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:



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

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

#footers(*args) ⇒ HTMLElementCollection



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

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

#foreign_object(*args) ⇒ ForeignObject

Returns:



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

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

#foreign_objects(*args) ⇒ ForeignObjectCollection



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

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

#form(*args) ⇒ Form

Returns:



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

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

#forms(*args) ⇒ FormCollection

Returns:



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

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

#frame(*args) ⇒ Object



97
98
99
# File 'lib/watir-webdriver/elements/iframe.rb', line 97

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

#frames(*args) ⇒ Object



101
102
103
# File 'lib/watir-webdriver/elements/iframe.rb', line 101

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

#frameset(*args) ⇒ FrameSet

Returns:



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

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

#framesets(*args) ⇒ FrameSetCollection

Returns:



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

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

#g(*args) ⇒ G

Returns:

  • (G)


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

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

#gs(*args) ⇒ GCollection

Returns:



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

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

#h1(*args) ⇒ Heading

Returns:



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

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

#h1s(*args) ⇒ HeadingCollection

Returns:



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

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

#h2(*args) ⇒ Heading

Returns:



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

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

#h2s(*args) ⇒ HeadingCollection

Returns:



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

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

#h3(*args) ⇒ Heading

Returns:



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

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

#h3s(*args) ⇒ HeadingCollection

Returns:



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

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

#h4(*args) ⇒ Heading

Returns:



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

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

#h4s(*args) ⇒ HeadingCollection

Returns:



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

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

#h5(*args) ⇒ Heading

Returns:



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

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

#h5s(*args) ⇒ HeadingCollection

Returns:



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

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

#h6(*args) ⇒ Heading

Returns:



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

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

#h6s(*args) ⇒ HeadingCollection

Returns:



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

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

#head(*args) ⇒ Head

Returns:



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

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

#header(*args) ⇒ HTMLElement

Returns:



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

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

#headers(*args) ⇒ HTMLElementCollection



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

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

#heads(*args) ⇒ HeadCollection

Returns:



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

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

#hgroup(*args) ⇒ HTMLElement

Returns:



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

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

#hgroups(*args) ⇒ HTMLElementCollection



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

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:



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

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

#hrs(*args) ⇒ HRCollection

Returns:



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

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

#html(*args) ⇒ Html

Returns:



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

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

#htmls(*args) ⇒ HtmlCollection

Returns:



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

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

#i(*args) ⇒ HTMLElement

Returns:



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

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

#iframe(*args) ⇒ IFrame

Returns:



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

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

#iframes(*args) ⇒ IFrameCollection

Returns:



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

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:



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

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

#imgs(*args) ⇒ ImageCollection

Returns:



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

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

#input(*args) ⇒ Input

Returns:



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

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

#inputs(*args) ⇒ InputCollection

Returns:



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

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

#ins(*args) ⇒ Mod

Returns:



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

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

#inses(*args) ⇒ ModCollection

Returns:



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

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

#is(*args) ⇒ HTMLElementCollection



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

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

#kbd(*args) ⇒ HTMLElement

Returns:



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

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

#kbds(*args) ⇒ HTMLElementCollection



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

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

#keygen(*args) ⇒ Keygen

Returns:



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

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

#keygens(*args) ⇒ KeygenCollection

Returns:



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

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

#label(*args) ⇒ Label

Returns:



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

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

#labels(*args) ⇒ LabelCollection

Returns:



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

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

#legend(*args) ⇒ Legend

Returns:



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

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

#legends(*args) ⇒ LegendCollection

Returns:



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

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

#li(*args) ⇒ LI

Returns:



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

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

#line(*args) ⇒ Line

Returns:



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

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

#linear_gradient(*args) ⇒ LinearGradient

Returns:



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

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

#linear_gradients(*args) ⇒ LinearGradientCollection



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

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

#lines(*args) ⇒ LineCollection

Returns:



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

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:



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

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

#main(*args) ⇒ HTMLElement

Returns:



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

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

#mains(*args) ⇒ HTMLElementCollection



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

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

#map(*args) ⇒ Map

Returns:



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

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

#maps(*args) ⇒ MapCollection

Returns:



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

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

#mark(*args) ⇒ HTMLElement

Returns:



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

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

#marker(*args) ⇒ Marker

Returns:



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

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

#markers(*args) ⇒ MarkerCollection

Returns:



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

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

#marks(*args) ⇒ HTMLElementCollection



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

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

Returns:



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

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

Returns:



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

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

Returns:



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

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

Returns:



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

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

#mesh_gradient(*args) ⇒ MeshGradient

Returns:



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

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

#mesh_gradients(*args) ⇒ MeshGradientCollection



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

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

#mesh_patch(*args) ⇒ MeshPatch

Returns:



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

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

#mesh_patches(*args) ⇒ MeshPatchCollection

Returns:



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

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

#mesh_row(*args) ⇒ MeshRow

Returns:



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

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

#mesh_rows(*args) ⇒ MeshRowCollection

Returns:



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

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

#meta(*args) ⇒ Meta

Returns:



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

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

#metadata(*args) ⇒ Metadata

Returns:



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

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

#metadatas(*args) ⇒ MetadataCollection

Returns:



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

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

#metas(*args) ⇒ MetaCollection

Returns:



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

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

#meter(*args) ⇒ Meter

Returns:



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

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

#meters(*args) ⇒ MeterCollection

Returns:



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

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

#mpath(*args) ⇒ MPath

Returns:



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

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

#mpaths(*args) ⇒ MPathCollection

Returns:



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

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

Returns:



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

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


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

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

#noscript(*args) ⇒ HTMLElement

Returns:



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

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

#noscripts(*args) ⇒ HTMLElementCollection



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

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

#object(*args) ⇒ Object

Returns:



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

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

#objects(*args) ⇒ ObjectCollection

Returns:



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

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

#ol(*args) ⇒ OList

Returns:



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

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

#ols(*args) ⇒ OListCollection

Returns:



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

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

#optgroup(*args) ⇒ OptGroup

Returns:



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

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

#optgroups(*args) ⇒ OptGroupCollection

Returns:



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

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

#option(*args) ⇒ Option

Returns:



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

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

#options(*args) ⇒ OptionCollection

Returns:



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

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

#output(*args) ⇒ Output

Returns:



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

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

#outputs(*args) ⇒ OutputCollection

Returns:



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

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

#p(*args) ⇒ Paragraph

Returns:



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

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

#param(*args) ⇒ Param

Returns:



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

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

#params(*args) ⇒ ParamCollection

Returns:



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

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

#path(*args) ⇒ Path

Returns:



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

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

#paths(*args) ⇒ PathCollection

Returns:



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

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

#pattern(*args) ⇒ Pattern

Returns:



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

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

#patterns(*args) ⇒ PatternCollection

Returns:



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

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

#polygon(*args) ⇒ Polygon

Returns:



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

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

#polygons(*args) ⇒ PolygonCollection

Returns:



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

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

#polyline(*args) ⇒ Polyline

Returns:



668
669
670
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 668

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

#polylines(*args) ⇒ PolylineCollection

Returns:



672
673
674
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 672

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

#pre(*args) ⇒ Pre

Returns:



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

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

#pres(*args) ⇒ PreCollection

Returns:



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

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

#progress(*args) ⇒ Progress

Returns:



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

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

#progresses(*args) ⇒ ProgressCollection

Returns:



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

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

#ps(*args) ⇒ ParagraphCollection

Returns:



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

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

#q(*args) ⇒ Quote

Returns:



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

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

#qs(*args) ⇒ QuoteCollection

Returns:



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

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

#radial_gradient(*args) ⇒ RadialGradient

Returns:



678
679
680
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 678

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

#radial_gradients(*args) ⇒ RadialGradientCollection



682
683
684
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 682

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:



688
689
690
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 688

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

#rects(*args) ⇒ RectCollection

Returns:



692
693
694
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 692

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

#rp(*args) ⇒ HTMLElement

Returns:



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

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

#rps(*args) ⇒ HTMLElementCollection



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

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

#rt(*args) ⇒ HTMLElement

Returns:



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

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

#rts(*args) ⇒ HTMLElementCollection



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

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

#rubies(*args) ⇒ HTMLElementCollection



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

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

#ruby(*args) ⇒ HTMLElement

Returns:



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

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

#s(*args) ⇒ HTMLElement

Returns:



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

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

#samp(*args) ⇒ HTMLElement

Returns:



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

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

#samps(*args) ⇒ HTMLElementCollection



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

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

#script(*args) ⇒ Script

Returns:



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

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

#scripts(*args) ⇒ ScriptCollection

Returns:



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

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

#section(*args) ⇒ HTMLElement

Returns:



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

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

#sections(*args) ⇒ HTMLElementCollection



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

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

#select(*args) ⇒ Select

Returns:



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

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

#select_listObject



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

alias_method :select_list,  :select

#select_listsObject



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

alias_method :select_lists, :selects

#selects(*args) ⇒ SelectCollection

Returns:



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

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

#set(*args) ⇒ Set

Returns:



698
699
700
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 698

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

#sets(*args) ⇒ SetCollection

Returns:



702
703
704
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 702

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

#small(*args) ⇒ HTMLElement

Returns:



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

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

#smalls(*args) ⇒ HTMLElementCollection



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

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

#source(*args) ⇒ Source

Returns:



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

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

#sources(*args) ⇒ SourceCollection

Returns:



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

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

#span(*args) ⇒ Span

Returns:



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

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

#spans(*args) ⇒ SpanCollection

Returns:



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

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

#ss(*args) ⇒ HTMLElementCollection



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

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

#stop(*args) ⇒ Stop

Returns:



708
709
710
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 708

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

#stops(*args) ⇒ StopCollection

Returns:



712
713
714
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 712

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

#strong(*args) ⇒ HTMLElement

Returns:



2063
2064
2065
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2063

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

#strongs(*args) ⇒ HTMLElementCollection



2067
2068
2069
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2067

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

#style(*args) ⇒ Style

Returns:



2073
2074
2075
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2073

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

#styles(*args) ⇒ StyleCollection

Returns:



2077
2078
2079
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2077

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

#sub(*args) ⇒ HTMLElement

Returns:



2083
2084
2085
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2083

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

#subs(*args) ⇒ HTMLElementCollection



2087
2088
2089
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2087

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

#summaries(*args) ⇒ HTMLElementCollection



2097
2098
2099
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2097

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

#summary(*args) ⇒ HTMLElement

Returns:



2093
2094
2095
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2093

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

#sup(*args) ⇒ HTMLElement

Returns:



2103
2104
2105
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2103

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

#sups(*args) ⇒ HTMLElementCollection



2107
2108
2109
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2107

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

#svg(*args) ⇒ SVG

Returns:



718
719
720
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 718

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

#svgs(*args) ⇒ SVGCollection

Returns:



722
723
724
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 722

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

#switch(*args) ⇒ Switch

Returns:



728
729
730
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 728

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

#switches(*args) ⇒ SwitchCollection

Returns:



732
733
734
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 732

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

#symbol(*args) ⇒ Symbol

Returns:



738
739
740
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 738

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

#symbols(*args) ⇒ SymbolCollection

Returns:



742
743
744
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 742

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

#table(*args) ⇒ Table

Returns:



2113
2114
2115
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2113

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

#tables(*args) ⇒ TableCollection

Returns:



2117
2118
2119
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2117

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

#tbody(*args) ⇒ TableSection

Returns:



2123
2124
2125
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2123

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

#tbodys(*args) ⇒ TableSectionCollection



2127
2128
2129
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2127

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

#td(*args) ⇒ TableDataCell

Returns:



2133
2134
2135
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2133

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

#tds(*args) ⇒ TableDataCellCollection



2137
2138
2139
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2137

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

#template(*args) ⇒ Template

Returns:



2143
2144
2145
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2143

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

#templates(*args) ⇒ TemplateCollection

Returns:



2147
2148
2149
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2147

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

#text_field(*args) ⇒ Object



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

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

#text_fields(*args) ⇒ Object



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

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

#text_path(*args) ⇒ TextPath

Returns:



748
749
750
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 748

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

#text_paths(*args) ⇒ TextPathCollection

Returns:



752
753
754
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 752

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

#textarea(*args) ⇒ TextArea

Returns:



2153
2154
2155
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2153

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

#textareas(*args) ⇒ TextAreaCollection

Returns:



2157
2158
2159
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2157

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

#tfoot(*args) ⇒ TableSection

Returns:



2163
2164
2165
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2163

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

#tfoots(*args) ⇒ TableSectionCollection



2167
2168
2169
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2167

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

#th(*args) ⇒ TableHeaderCell

Returns:



2173
2174
2175
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2173

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

#thead(*args) ⇒ TableSection

Returns:



2183
2184
2185
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2183

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

#theads(*args) ⇒ TableSectionCollection



2187
2188
2189
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2187

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

#ths(*args) ⇒ TableHeaderCellCollection



2177
2178
2179
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2177

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

#time(*args) ⇒ Time

Returns:



2193
2194
2195
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2193

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

#times(*args) ⇒ TimeCollection

Returns:



2197
2198
2199
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2197

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

#title(*args) ⇒ Title

Returns:



2203
2204
2205
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2203

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

#titles(*args) ⇒ TitleCollection

Returns:



2207
2208
2209
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2207

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

#tr(*args) ⇒ TableRow

Returns:



2213
2214
2215
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2213

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

#track(*args) ⇒ Track

Returns:



2223
2224
2225
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2223

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

#tracks(*args) ⇒ TrackCollection

Returns:



2227
2228
2229
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2227

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

#trs(*args) ⇒ TableRowCollection

Returns:



2217
2218
2219
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2217

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

#tspan(*args) ⇒ TSpan

Returns:



758
759
760
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 758

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

#tspans(*args) ⇒ TSpanCollection

Returns:



762
763
764
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 762

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

#u(*args) ⇒ HTMLElement

Returns:



2233
2234
2235
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2233

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

#ul(*args) ⇒ UList

Returns:



2243
2244
2245
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2243

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

#uls(*args) ⇒ UListCollection

Returns:



2247
2248
2249
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2247

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

#us(*args) ⇒ HTMLElementCollection



2237
2238
2239
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2237

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

#use(*args) ⇒ Use

Returns:



768
769
770
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 768

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

#uses(*args) ⇒ UseCollection

Returns:



772
773
774
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 772

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

#var(*args) ⇒ HTMLElement

Returns:



2253
2254
2255
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2253

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

#vars(*args) ⇒ HTMLElementCollection



2257
2258
2259
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2257

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

#video(*args) ⇒ Video

Returns:



2263
2264
2265
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2263

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

#videos(*args) ⇒ VideoCollection

Returns:



2267
2268
2269
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2267

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

#view(*args) ⇒ View

Returns:



778
779
780
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 778

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

#views(*args) ⇒ ViewCollection

Returns:



782
783
784
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 782

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

#wbr(*args) ⇒ HTMLElement

Returns:



2273
2274
2275
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2273

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

#wbrs(*args) ⇒ HTMLElementCollection



2277
2278
2279
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2277

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