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/generated.rb,
lib/watir-webdriver/elements/file_field.rb,
lib/watir-webdriver/elements/text_field.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:



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

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

#abbr(*args) ⇒ HTMLElement

Returns:



1112
1113
1114
# File 'lib/watir-webdriver/elements/generated.rb', line 1112

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

#abbrs(*args) ⇒ HTMLElementCollection



1120
1121
1122
# File 'lib/watir-webdriver/elements/generated.rb', line 1120

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

#address(*args) ⇒ HTMLElement

Returns:



1130
1131
1132
# File 'lib/watir-webdriver/elements/generated.rb', line 1130

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

#addresses(*args) ⇒ HTMLElementCollection



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

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

#area(*args) ⇒ Area

Returns:



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

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

#areas(*args) ⇒ AreaCollection

Returns:



1156
1157
1158
# File 'lib/watir-webdriver/elements/generated.rb', line 1156

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

#article(*args) ⇒ HTMLElement

Returns:



1166
1167
1168
# File 'lib/watir-webdriver/elements/generated.rb', line 1166

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

#articles(*args) ⇒ HTMLElementCollection



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

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

#as(*args) ⇒ AnchorCollection

Returns:



1102
1103
1104
# File 'lib/watir-webdriver/elements/generated.rb', line 1102

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

#aside(*args) ⇒ HTMLElement

Returns:



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

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

#asides(*args) ⇒ HTMLElementCollection



1192
1193
1194
# File 'lib/watir-webdriver/elements/generated.rb', line 1192

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

#audio(*args) ⇒ Audio

Returns:



1202
1203
1204
# File 'lib/watir-webdriver/elements/generated.rb', line 1202

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

#audios(*args) ⇒ AudioCollection

Returns:



1210
1211
1212
# File 'lib/watir-webdriver/elements/generated.rb', line 1210

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

#b(*args) ⇒ HTMLElement

Returns:



1220
1221
1222
# File 'lib/watir-webdriver/elements/generated.rb', line 1220

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

#base(*args) ⇒ Base

Returns:



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

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

#bases(*args) ⇒ BaseCollection

Returns:



1246
1247
1248
# File 'lib/watir-webdriver/elements/generated.rb', line 1246

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

#bdi(*args) ⇒ HTMLElement

Returns:



1256
1257
1258
# File 'lib/watir-webdriver/elements/generated.rb', line 1256

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

#bdis(*args) ⇒ HTMLElementCollection



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

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

#bdo(*args) ⇒ HTMLElement

Returns:



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

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

#bdos(*args) ⇒ HTMLElementCollection



1282
1283
1284
# File 'lib/watir-webdriver/elements/generated.rb', line 1282

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

#blockquote(*args) ⇒ Quote

Returns:



1292
1293
1294
# File 'lib/watir-webdriver/elements/generated.rb', line 1292

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

#blockquotes(*args) ⇒ QuoteCollection

Returns:



1300
1301
1302
# File 'lib/watir-webdriver/elements/generated.rb', line 1300

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

#body(*args) ⇒ Body

Returns:



1310
1311
1312
# File 'lib/watir-webdriver/elements/generated.rb', line 1310

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

#bodys(*args) ⇒ BodyCollection

Returns:



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

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

#br(*args) ⇒ BR

Returns:



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

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

#brs(*args) ⇒ BRCollection

Returns:



1336
1337
1338
# File 'lib/watir-webdriver/elements/generated.rb', line 1336

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

#bs(*args) ⇒ HTMLElementCollection



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

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

#button(*args) ⇒ Button

Returns:



1346
1347
1348
# File 'lib/watir-webdriver/elements/generated.rb', line 1346

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

#buttons(*args) ⇒ ButtonCollection

Returns:



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

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

#canvas(*args) ⇒ Canvas

Returns:



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

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

#canvases(*args) ⇒ CanvasCollection

Returns:



1372
1373
1374
# File 'lib/watir-webdriver/elements/generated.rb', line 1372

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

#caption(*args) ⇒ TableCaption

Returns:



1382
1383
1384
# File 'lib/watir-webdriver/elements/generated.rb', line 1382

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

#captions(*args) ⇒ TableCaptionCollection



1390
1391
1392
# File 'lib/watir-webdriver/elements/generated.rb', line 1390

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

#checkbox(*args) ⇒ Object



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

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

#checkboxes(*args) ⇒ Object



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

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

#cite(*args) ⇒ HTMLElement

Returns:



1400
1401
1402
# File 'lib/watir-webdriver/elements/generated.rb', line 1400

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

#cites(*args) ⇒ HTMLElementCollection



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

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

#code(*args) ⇒ HTMLElement

Returns:



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

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

#codes(*args) ⇒ HTMLElementCollection



1426
1427
1428
# File 'lib/watir-webdriver/elements/generated.rb', line 1426

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

#col(*args) ⇒ TableCol

Returns:



1436
1437
1438
# File 'lib/watir-webdriver/elements/generated.rb', line 1436

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

#colgroup(*args) ⇒ TableCol

Returns:



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

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

#colgroups(*args) ⇒ TableColCollection

Returns:



1462
1463
1464
# File 'lib/watir-webdriver/elements/generated.rb', line 1462

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

#cols(*args) ⇒ TableColCollection

Returns:



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

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

#data(*args) ⇒ Data

Returns:



1472
1473
1474
# File 'lib/watir-webdriver/elements/generated.rb', line 1472

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

#datalist(*args) ⇒ DataList

Returns:



1490
1491
1492
# File 'lib/watir-webdriver/elements/generated.rb', line 1490

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

#datalists(*args) ⇒ DataListCollection

Returns:



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

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

#datas(*args) ⇒ DataCollection

Returns:



1480
1481
1482
# File 'lib/watir-webdriver/elements/generated.rb', line 1480

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

#dd(*args) ⇒ HTMLElement

Returns:



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

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

#dds(*args) ⇒ HTMLElementCollection



1516
1517
1518
# File 'lib/watir-webdriver/elements/generated.rb', line 1516

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

#del(*args) ⇒ Mod

Returns:



1526
1527
1528
# File 'lib/watir-webdriver/elements/generated.rb', line 1526

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

#dels(*args) ⇒ ModCollection

Returns:



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

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

#details(*args) ⇒ Details

Returns:



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

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

#detailses(*args) ⇒ DetailsCollection

Returns:



1552
1553
1554
# File 'lib/watir-webdriver/elements/generated.rb', line 1552

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

#dfn(*args) ⇒ HTMLElement

Returns:



1562
1563
1564
# File 'lib/watir-webdriver/elements/generated.rb', line 1562

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

#dfns(*args) ⇒ HTMLElementCollection



1570
1571
1572
# File 'lib/watir-webdriver/elements/generated.rb', line 1570

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

#dialog(*args) ⇒ Dialog

Returns:



1580
1581
1582
# File 'lib/watir-webdriver/elements/generated.rb', line 1580

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

#dialogs(*args) ⇒ DialogCollection

Returns:



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

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

#div(*args) ⇒ Div

Returns:



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

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

#divs(*args) ⇒ DivCollection

Returns:



1606
1607
1608
# File 'lib/watir-webdriver/elements/generated.rb', line 1606

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

#dl(*args) ⇒ DList

Returns:



1616
1617
1618
# File 'lib/watir-webdriver/elements/generated.rb', line 1616

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

#dls(*args) ⇒ DListCollection

Returns:



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

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

#dt(*args) ⇒ HTMLElement

Returns:



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

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

#dts(*args) ⇒ HTMLElementCollection



1642
1643
1644
# File 'lib/watir-webdriver/elements/generated.rb', line 1642

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:



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

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

#elements(*args) ⇒ HTMLElementCollection

Returns element collection.

Examples:

browser.elements(:data_bind => 'func')

Returns:



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

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

#em(*args) ⇒ HTMLElement

Returns:



1652
1653
1654
# File 'lib/watir-webdriver/elements/generated.rb', line 1652

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

#embed(*args) ⇒ Embed

Returns:



1670
1671
1672
# File 'lib/watir-webdriver/elements/generated.rb', line 1670

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

#embeds(*args) ⇒ EmbedCollection

Returns:



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

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

#ems(*args) ⇒ HTMLElementCollection



1660
1661
1662
# File 'lib/watir-webdriver/elements/generated.rb', line 1660

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)


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

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:



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

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

#fieldsets(*args) ⇒ FieldSetCollection

Returns:



1696
1697
1698
# File 'lib/watir-webdriver/elements/generated.rb', line 1696

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

#figcaption(*args) ⇒ HTMLElement

Returns:



1706
1707
1708
# File 'lib/watir-webdriver/elements/generated.rb', line 1706

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

#figcaptions(*args) ⇒ HTMLElementCollection



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

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

#figure(*args) ⇒ HTMLElement

Returns:



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

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

#figures(*args) ⇒ HTMLElementCollection



1732
1733
1734
# File 'lib/watir-webdriver/elements/generated.rb', line 1732

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

#file_field(*args) ⇒ Object



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

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

#file_fields(*args) ⇒ Object



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

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:



1742
1743
1744
# File 'lib/watir-webdriver/elements/generated.rb', line 1742

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

#footers(*args) ⇒ HTMLElementCollection



1750
1751
1752
# File 'lib/watir-webdriver/elements/generated.rb', line 1750

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

#form(*args) ⇒ Form

Returns:



1760
1761
1762
# File 'lib/watir-webdriver/elements/generated.rb', line 1760

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

#forms(*args) ⇒ FormCollection

Returns:



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

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

#frame(*args) ⇒ Object



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

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

#frames(*args) ⇒ Object



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

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

#frameset(*args) ⇒ FrameSet

Returns:



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

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

#framesets(*args) ⇒ FrameSetCollection

Returns:



1786
1787
1788
# File 'lib/watir-webdriver/elements/generated.rb', line 1786

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

#h1(*args) ⇒ Heading

Returns:



1796
1797
1798
# File 'lib/watir-webdriver/elements/generated.rb', line 1796

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

#h1s(*args) ⇒ HeadingCollection

Returns:



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

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

#h2(*args) ⇒ Heading

Returns:



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

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

#h2s(*args) ⇒ HeadingCollection

Returns:



1822
1823
1824
# File 'lib/watir-webdriver/elements/generated.rb', line 1822

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

#h3(*args) ⇒ Heading

Returns:



1832
1833
1834
# File 'lib/watir-webdriver/elements/generated.rb', line 1832

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

#h3s(*args) ⇒ HeadingCollection

Returns:



1840
1841
1842
# File 'lib/watir-webdriver/elements/generated.rb', line 1840

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

#h4(*args) ⇒ Heading

Returns:



1850
1851
1852
# File 'lib/watir-webdriver/elements/generated.rb', line 1850

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

#h4s(*args) ⇒ HeadingCollection

Returns:



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

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

#h5(*args) ⇒ Heading

Returns:



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

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

#h5s(*args) ⇒ HeadingCollection

Returns:



1876
1877
1878
# File 'lib/watir-webdriver/elements/generated.rb', line 1876

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

#h6(*args) ⇒ Heading

Returns:



1886
1887
1888
# File 'lib/watir-webdriver/elements/generated.rb', line 1886

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

#h6s(*args) ⇒ HeadingCollection

Returns:



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

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

#head(*args) ⇒ Head

Returns:



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

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

#header(*args) ⇒ HTMLElement

Returns:



1922
1923
1924
# File 'lib/watir-webdriver/elements/generated.rb', line 1922

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

#headers(*args) ⇒ HTMLElementCollection



1930
1931
1932
# File 'lib/watir-webdriver/elements/generated.rb', line 1930

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

#heads(*args) ⇒ HeadCollection

Returns:



1912
1913
1914
# File 'lib/watir-webdriver/elements/generated.rb', line 1912

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

#hgroup(*args) ⇒ HTMLElement

Returns:



1940
1941
1942
# File 'lib/watir-webdriver/elements/generated.rb', line 1940

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

#hgroups(*args) ⇒ HTMLElementCollection



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

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

#hidden(*args) ⇒ Object



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

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

#hiddens(*args) ⇒ Object



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

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

#hr(*args) ⇒ HR

Returns:



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

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

#hrs(*args) ⇒ HRCollection

Returns:



1966
1967
1968
# File 'lib/watir-webdriver/elements/generated.rb', line 1966

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

#html(*args) ⇒ Html

Returns:



1976
1977
1978
# File 'lib/watir-webdriver/elements/generated.rb', line 1976

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

#htmls(*args) ⇒ HtmlCollection

Returns:



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

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

#i(*args) ⇒ HTMLElement

Returns:



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

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

#iframe(*args) ⇒ IFrame

Returns:



2012
2013
2014
# File 'lib/watir-webdriver/elements/generated.rb', line 2012

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

#iframes(*args) ⇒ IFrameCollection

Returns:



2020
2021
2022
# File 'lib/watir-webdriver/elements/generated.rb', line 2020

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

#imageObject



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

alias_method :image, :img

#imagesObject



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

alias_method :images, :imgs

#img(*args) ⇒ Image

Returns:



2030
2031
2032
# File 'lib/watir-webdriver/elements/generated.rb', line 2030

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

#imgs(*args) ⇒ ImageCollection

Returns:



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

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

#input(*args) ⇒ Input

Returns:



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

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

#inputs(*args) ⇒ InputCollection

Returns:



2056
2057
2058
# File 'lib/watir-webdriver/elements/generated.rb', line 2056

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

#ins(*args) ⇒ Mod

Returns:



2066
2067
2068
# File 'lib/watir-webdriver/elements/generated.rb', line 2066

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

#inses(*args) ⇒ ModCollection

Returns:



2074
2075
2076
# File 'lib/watir-webdriver/elements/generated.rb', line 2074

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

#is(*args) ⇒ HTMLElementCollection



2002
2003
2004
# File 'lib/watir-webdriver/elements/generated.rb', line 2002

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

#kbd(*args) ⇒ HTMLElement

Returns:



2084
2085
2086
# File 'lib/watir-webdriver/elements/generated.rb', line 2084

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

#kbds(*args) ⇒ HTMLElementCollection



2092
2093
2094
# File 'lib/watir-webdriver/elements/generated.rb', line 2092

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

#keygen(*args) ⇒ Keygen

Returns:



2102
2103
2104
# File 'lib/watir-webdriver/elements/generated.rb', line 2102

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

#keygens(*args) ⇒ KeygenCollection

Returns:



2110
2111
2112
# File 'lib/watir-webdriver/elements/generated.rb', line 2110

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

#label(*args) ⇒ Label

Returns:



2120
2121
2122
# File 'lib/watir-webdriver/elements/generated.rb', line 2120

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

#labels(*args) ⇒ LabelCollection

Returns:



2128
2129
2130
# File 'lib/watir-webdriver/elements/generated.rb', line 2128

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

#legend(*args) ⇒ Legend

Returns:



2138
2139
2140
# File 'lib/watir-webdriver/elements/generated.rb', line 2138

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

#legends(*args) ⇒ LegendCollection

Returns:



2146
2147
2148
# File 'lib/watir-webdriver/elements/generated.rb', line 2146

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

#li(*args) ⇒ LI

Returns:



2156
2157
2158
# File 'lib/watir-webdriver/elements/generated.rb', line 2156

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


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

alias_method :link,  :a


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

alias_method :links, :as

#lis(*args) ⇒ LICollection

Returns:



2164
2165
2166
# File 'lib/watir-webdriver/elements/generated.rb', line 2164

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

#main(*args) ⇒ HTMLElement

Returns:



2174
2175
2176
# File 'lib/watir-webdriver/elements/generated.rb', line 2174

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

#mains(*args) ⇒ HTMLElementCollection



2182
2183
2184
# File 'lib/watir-webdriver/elements/generated.rb', line 2182

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

#map(*args) ⇒ Map

Returns:



2192
2193
2194
# File 'lib/watir-webdriver/elements/generated.rb', line 2192

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

#maps(*args) ⇒ MapCollection

Returns:



2200
2201
2202
# File 'lib/watir-webdriver/elements/generated.rb', line 2200

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

#mark(*args) ⇒ HTMLElement

Returns:



2210
2211
2212
# File 'lib/watir-webdriver/elements/generated.rb', line 2210

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

#marks(*args) ⇒ HTMLElementCollection



2218
2219
2220
# File 'lib/watir-webdriver/elements/generated.rb', line 2218

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

Returns:



2228
2229
2230
# File 'lib/watir-webdriver/elements/generated.rb', line 2228

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

Returns:



2246
2247
2248
# File 'lib/watir-webdriver/elements/generated.rb', line 2246

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

Returns:



2254
2255
2256
# File 'lib/watir-webdriver/elements/generated.rb', line 2254

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

Returns:



2236
2237
2238
# File 'lib/watir-webdriver/elements/generated.rb', line 2236

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

#meta(*args) ⇒ Meta

Returns:



2264
2265
2266
# File 'lib/watir-webdriver/elements/generated.rb', line 2264

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

#metas(*args) ⇒ MetaCollection

Returns:



2272
2273
2274
# File 'lib/watir-webdriver/elements/generated.rb', line 2272

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

#meter(*args) ⇒ Meter

Returns:



2282
2283
2284
# File 'lib/watir-webdriver/elements/generated.rb', line 2282

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

#meters(*args) ⇒ MeterCollection

Returns:



2290
2291
2292
# File 'lib/watir-webdriver/elements/generated.rb', line 2290

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

Returns:



2300
2301
2302
# File 'lib/watir-webdriver/elements/generated.rb', line 2300

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


2308
2309
2310
# File 'lib/watir-webdriver/elements/generated.rb', line 2308

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

#noscript(*args) ⇒ HTMLElement

Returns:



2318
2319
2320
# File 'lib/watir-webdriver/elements/generated.rb', line 2318

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

#noscripts(*args) ⇒ HTMLElementCollection



2326
2327
2328
# File 'lib/watir-webdriver/elements/generated.rb', line 2326

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

#object(*args) ⇒ Object

Returns:



2336
2337
2338
# File 'lib/watir-webdriver/elements/generated.rb', line 2336

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

#objects(*args) ⇒ ObjectCollection

Returns:



2344
2345
2346
# File 'lib/watir-webdriver/elements/generated.rb', line 2344

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

#ol(*args) ⇒ OList

Returns:



2354
2355
2356
# File 'lib/watir-webdriver/elements/generated.rb', line 2354

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

#ols(*args) ⇒ OListCollection

Returns:



2362
2363
2364
# File 'lib/watir-webdriver/elements/generated.rb', line 2362

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

#optgroup(*args) ⇒ OptGroup

Returns:



2372
2373
2374
# File 'lib/watir-webdriver/elements/generated.rb', line 2372

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

#optgroups(*args) ⇒ OptGroupCollection

Returns:



2380
2381
2382
# File 'lib/watir-webdriver/elements/generated.rb', line 2380

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

#option(*args) ⇒ Option

Returns:



2390
2391
2392
# File 'lib/watir-webdriver/elements/generated.rb', line 2390

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

#options(*args) ⇒ OptionCollection

Returns:



2398
2399
2400
# File 'lib/watir-webdriver/elements/generated.rb', line 2398

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

#output(*args) ⇒ Output

Returns:



2408
2409
2410
# File 'lib/watir-webdriver/elements/generated.rb', line 2408

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

#outputs(*args) ⇒ OutputCollection

Returns:



2416
2417
2418
# File 'lib/watir-webdriver/elements/generated.rb', line 2416

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

#p(*args) ⇒ Paragraph

Returns:



2426
2427
2428
# File 'lib/watir-webdriver/elements/generated.rb', line 2426

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

#param(*args) ⇒ Param

Returns:



2444
2445
2446
# File 'lib/watir-webdriver/elements/generated.rb', line 2444

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

#params(*args) ⇒ ParamCollection

Returns:



2452
2453
2454
# File 'lib/watir-webdriver/elements/generated.rb', line 2452

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

#pre(*args) ⇒ Pre

Returns:



2462
2463
2464
# File 'lib/watir-webdriver/elements/generated.rb', line 2462

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

#pres(*args) ⇒ PreCollection

Returns:



2470
2471
2472
# File 'lib/watir-webdriver/elements/generated.rb', line 2470

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

#progress(*args) ⇒ Progress

Returns:



2480
2481
2482
# File 'lib/watir-webdriver/elements/generated.rb', line 2480

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

#progresses(*args) ⇒ ProgressCollection

Returns:



2488
2489
2490
# File 'lib/watir-webdriver/elements/generated.rb', line 2488

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

#ps(*args) ⇒ ParagraphCollection

Returns:



2434
2435
2436
# File 'lib/watir-webdriver/elements/generated.rb', line 2434

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

#q(*args) ⇒ Quote

Returns:



2498
2499
2500
# File 'lib/watir-webdriver/elements/generated.rb', line 2498

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

#qs(*args) ⇒ QuoteCollection

Returns:



2506
2507
2508
# File 'lib/watir-webdriver/elements/generated.rb', line 2506

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

#radio(*args) ⇒ Object



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

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

#radios(*args) ⇒ Object



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

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

#rp(*args) ⇒ HTMLElement

Returns:



2516
2517
2518
# File 'lib/watir-webdriver/elements/generated.rb', line 2516

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

#rps(*args) ⇒ HTMLElementCollection



2524
2525
2526
# File 'lib/watir-webdriver/elements/generated.rb', line 2524

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

#rt(*args) ⇒ HTMLElement

Returns:



2534
2535
2536
# File 'lib/watir-webdriver/elements/generated.rb', line 2534

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

#rts(*args) ⇒ HTMLElementCollection



2542
2543
2544
# File 'lib/watir-webdriver/elements/generated.rb', line 2542

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

#rubies(*args) ⇒ HTMLElementCollection



2560
2561
2562
# File 'lib/watir-webdriver/elements/generated.rb', line 2560

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

#ruby(*args) ⇒ HTMLElement

Returns:



2552
2553
2554
# File 'lib/watir-webdriver/elements/generated.rb', line 2552

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

#s(*args) ⇒ HTMLElement

Returns:



2570
2571
2572
# File 'lib/watir-webdriver/elements/generated.rb', line 2570

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

#samp(*args) ⇒ HTMLElement

Returns:



2588
2589
2590
# File 'lib/watir-webdriver/elements/generated.rb', line 2588

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

#samps(*args) ⇒ HTMLElementCollection



2596
2597
2598
# File 'lib/watir-webdriver/elements/generated.rb', line 2596

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

#script(*args) ⇒ Script

Returns:



2606
2607
2608
# File 'lib/watir-webdriver/elements/generated.rb', line 2606

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

#scripts(*args) ⇒ ScriptCollection

Returns:



2614
2615
2616
# File 'lib/watir-webdriver/elements/generated.rb', line 2614

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

#section(*args) ⇒ HTMLElement

Returns:



2624
2625
2626
# File 'lib/watir-webdriver/elements/generated.rb', line 2624

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

#sections(*args) ⇒ HTMLElementCollection



2632
2633
2634
# File 'lib/watir-webdriver/elements/generated.rb', line 2632

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

#select(*args) ⇒ Select

Returns:



2642
2643
2644
# File 'lib/watir-webdriver/elements/generated.rb', line 2642

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

#select_listObject



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

alias_method :select_list,  :select

#select_listsObject



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

alias_method :select_lists, :selects

#selects(*args) ⇒ SelectCollection

Returns:



2650
2651
2652
# File 'lib/watir-webdriver/elements/generated.rb', line 2650

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

#small(*args) ⇒ HTMLElement

Returns:



2660
2661
2662
# File 'lib/watir-webdriver/elements/generated.rb', line 2660

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

#smalls(*args) ⇒ HTMLElementCollection



2668
2669
2670
# File 'lib/watir-webdriver/elements/generated.rb', line 2668

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

#source(*args) ⇒ Source

Returns:



2678
2679
2680
# File 'lib/watir-webdriver/elements/generated.rb', line 2678

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

#sources(*args) ⇒ SourceCollection

Returns:



2686
2687
2688
# File 'lib/watir-webdriver/elements/generated.rb', line 2686

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

#span(*args) ⇒ Span

Returns:



2696
2697
2698
# File 'lib/watir-webdriver/elements/generated.rb', line 2696

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

#spans(*args) ⇒ SpanCollection

Returns:



2704
2705
2706
# File 'lib/watir-webdriver/elements/generated.rb', line 2704

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

#ss(*args) ⇒ HTMLElementCollection



2578
2579
2580
# File 'lib/watir-webdriver/elements/generated.rb', line 2578

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

#strong(*args) ⇒ HTMLElement

Returns:



2714
2715
2716
# File 'lib/watir-webdriver/elements/generated.rb', line 2714

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

#strongs(*args) ⇒ HTMLElementCollection



2722
2723
2724
# File 'lib/watir-webdriver/elements/generated.rb', line 2722

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

#style(*args) ⇒ Style

Returns:



2732
2733
2734
# File 'lib/watir-webdriver/elements/generated.rb', line 2732

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

#styles(*args) ⇒ StyleCollection

Returns:



2740
2741
2742
# File 'lib/watir-webdriver/elements/generated.rb', line 2740

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

#sub(*args) ⇒ HTMLElement

Returns:



2750
2751
2752
# File 'lib/watir-webdriver/elements/generated.rb', line 2750

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

#subs(*args) ⇒ HTMLElementCollection



2758
2759
2760
# File 'lib/watir-webdriver/elements/generated.rb', line 2758

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

#summaries(*args) ⇒ HTMLElementCollection



2776
2777
2778
# File 'lib/watir-webdriver/elements/generated.rb', line 2776

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

#summary(*args) ⇒ HTMLElement

Returns:



2768
2769
2770
# File 'lib/watir-webdriver/elements/generated.rb', line 2768

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

#sup(*args) ⇒ HTMLElement

Returns:



2786
2787
2788
# File 'lib/watir-webdriver/elements/generated.rb', line 2786

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

#sups(*args) ⇒ HTMLElementCollection



2794
2795
2796
# File 'lib/watir-webdriver/elements/generated.rb', line 2794

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

#table(*args) ⇒ Table

Returns:



2804
2805
2806
# File 'lib/watir-webdriver/elements/generated.rb', line 2804

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

#tables(*args) ⇒ TableCollection

Returns:



2812
2813
2814
# File 'lib/watir-webdriver/elements/generated.rb', line 2812

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

#tbody(*args) ⇒ TableSection

Returns:



2822
2823
2824
# File 'lib/watir-webdriver/elements/generated.rb', line 2822

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

#tbodys(*args) ⇒ TableSectionCollection



2830
2831
2832
# File 'lib/watir-webdriver/elements/generated.rb', line 2830

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

#td(*args) ⇒ TableDataCell

Returns:



2840
2841
2842
# File 'lib/watir-webdriver/elements/generated.rb', line 2840

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

#tds(*args) ⇒ TableDataCellCollection



2848
2849
2850
# File 'lib/watir-webdriver/elements/generated.rb', line 2848

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

#template(*args) ⇒ Template

Returns:



2858
2859
2860
# File 'lib/watir-webdriver/elements/generated.rb', line 2858

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

#templates(*args) ⇒ TemplateCollection

Returns:



2866
2867
2868
# File 'lib/watir-webdriver/elements/generated.rb', line 2866

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

#text_field(*args) ⇒ Object



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

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

#text_fields(*args) ⇒ Object



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

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

#textarea(*args) ⇒ TextArea

Returns:



2876
2877
2878
# File 'lib/watir-webdriver/elements/generated.rb', line 2876

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

#textareas(*args) ⇒ TextAreaCollection

Returns:



2884
2885
2886
# File 'lib/watir-webdriver/elements/generated.rb', line 2884

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

#tfoot(*args) ⇒ TableSection

Returns:



2894
2895
2896
# File 'lib/watir-webdriver/elements/generated.rb', line 2894

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

#tfoots(*args) ⇒ TableSectionCollection



2902
2903
2904
# File 'lib/watir-webdriver/elements/generated.rb', line 2902

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

#th(*args) ⇒ TableHeaderCell

Returns:



2912
2913
2914
# File 'lib/watir-webdriver/elements/generated.rb', line 2912

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

#thead(*args) ⇒ TableSection

Returns:



2930
2931
2932
# File 'lib/watir-webdriver/elements/generated.rb', line 2930

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

#theads(*args) ⇒ TableSectionCollection



2938
2939
2940
# File 'lib/watir-webdriver/elements/generated.rb', line 2938

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

#ths(*args) ⇒ TableHeaderCellCollection



2920
2921
2922
# File 'lib/watir-webdriver/elements/generated.rb', line 2920

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

#time(*args) ⇒ Time

Returns:



2948
2949
2950
# File 'lib/watir-webdriver/elements/generated.rb', line 2948

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

#times(*args) ⇒ TimeCollection

Returns:



2956
2957
2958
# File 'lib/watir-webdriver/elements/generated.rb', line 2956

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

#title(*args) ⇒ Title

Returns:



2966
2967
2968
# File 'lib/watir-webdriver/elements/generated.rb', line 2966

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

#titles(*args) ⇒ TitleCollection

Returns:



2974
2975
2976
# File 'lib/watir-webdriver/elements/generated.rb', line 2974

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

#tr(*args) ⇒ TableRow

Returns:



2984
2985
2986
# File 'lib/watir-webdriver/elements/generated.rb', line 2984

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

#track(*args) ⇒ Track

Returns:



3002
3003
3004
# File 'lib/watir-webdriver/elements/generated.rb', line 3002

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

#tracks(*args) ⇒ TrackCollection

Returns:



3010
3011
3012
# File 'lib/watir-webdriver/elements/generated.rb', line 3010

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

#trs(*args) ⇒ TableRowCollection

Returns:



2992
2993
2994
# File 'lib/watir-webdriver/elements/generated.rb', line 2992

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

#u(*args) ⇒ HTMLElement

Returns:



3020
3021
3022
# File 'lib/watir-webdriver/elements/generated.rb', line 3020

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

#ul(*args) ⇒ UList

Returns:



3038
3039
3040
# File 'lib/watir-webdriver/elements/generated.rb', line 3038

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

#uls(*args) ⇒ UListCollection

Returns:



3046
3047
3048
# File 'lib/watir-webdriver/elements/generated.rb', line 3046

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

#us(*args) ⇒ HTMLElementCollection



3028
3029
3030
# File 'lib/watir-webdriver/elements/generated.rb', line 3028

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

#var(*args) ⇒ HTMLElement

Returns:



3056
3057
3058
# File 'lib/watir-webdriver/elements/generated.rb', line 3056

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

#vars(*args) ⇒ HTMLElementCollection



3064
3065
3066
# File 'lib/watir-webdriver/elements/generated.rb', line 3064

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

#video(*args) ⇒ Video

Returns:



3074
3075
3076
# File 'lib/watir-webdriver/elements/generated.rb', line 3074

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

#videos(*args) ⇒ VideoCollection

Returns:



3082
3083
3084
# File 'lib/watir-webdriver/elements/generated.rb', line 3082

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

#wbr(*args) ⇒ HTMLElement

Returns:



3092
3093
3094
# File 'lib/watir-webdriver/elements/generated.rb', line 3092

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

#wbrs(*args) ⇒ HTMLElementCollection



3100
3101
3102
# File 'lib/watir-webdriver/elements/generated.rb', line 3100

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