Module: Watir::Container

Includes:
Atoms, XpathSupport
Included in:
Browser, Element
Defined in:
lib/watir-webdriver/elements/radio.rb,
lib/watir-webdriver/aliases.rb,
lib/watir-webdriver/container.rb,
lib/watir-webdriver/elements/link.rb,
lib/watir-webdriver/elements/font.rb,
lib/watir-webdriver/elements/image.rb,
lib/watir-webdriver/elements/select.rb,
lib/watir-webdriver/elements/hidden.rb,
lib/watir-webdriver/elements/iframe.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

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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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')


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')


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

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

#em(*args) ⇒ HTMLElement



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



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



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



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



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



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



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


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



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



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



95
96
97
# File 'lib/watir-webdriver/elements/iframe.rb', line 95

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

#frames(*args) ⇒ Object



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

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

#frameset(*args) ⇒ FrameSet



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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


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


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


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


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



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



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



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



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


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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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