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

Returns:



1081
1082
1083
# File 'lib/watir-webdriver/elements/generated.rb', line 1081

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

#abbr(*args) ⇒ HTMLElement

Returns:



1099
1100
1101
# File 'lib/watir-webdriver/elements/generated.rb', line 1099

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

#abbrs(*args) ⇒ HTMLElementCollection



1107
1108
1109
# File 'lib/watir-webdriver/elements/generated.rb', line 1107

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

#address(*args) ⇒ HTMLElement

Returns:



1117
1118
1119
# File 'lib/watir-webdriver/elements/generated.rb', line 1117

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

#addresses(*args) ⇒ HTMLElementCollection



1125
1126
1127
# File 'lib/watir-webdriver/elements/generated.rb', line 1125

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

#area(*args) ⇒ Area

Returns:



1135
1136
1137
# File 'lib/watir-webdriver/elements/generated.rb', line 1135

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

#areas(*args) ⇒ AreaCollection

Returns:



1143
1144
1145
# File 'lib/watir-webdriver/elements/generated.rb', line 1143

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

#article(*args) ⇒ HTMLElement

Returns:



1153
1154
1155
# File 'lib/watir-webdriver/elements/generated.rb', line 1153

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

#articles(*args) ⇒ HTMLElementCollection



1161
1162
1163
# File 'lib/watir-webdriver/elements/generated.rb', line 1161

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

#as(*args) ⇒ AnchorCollection

Returns:



1089
1090
1091
# File 'lib/watir-webdriver/elements/generated.rb', line 1089

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

#aside(*args) ⇒ HTMLElement

Returns:



1171
1172
1173
# File 'lib/watir-webdriver/elements/generated.rb', line 1171

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

#asides(*args) ⇒ HTMLElementCollection



1179
1180
1181
# File 'lib/watir-webdriver/elements/generated.rb', line 1179

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

#audio(*args) ⇒ Audio

Returns:



1189
1190
1191
# File 'lib/watir-webdriver/elements/generated.rb', line 1189

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

#audios(*args) ⇒ AudioCollection

Returns:



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

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

#b(*args) ⇒ HTMLElement

Returns:



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

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

#base(*args) ⇒ Base

Returns:



1225
1226
1227
# File 'lib/watir-webdriver/elements/generated.rb', line 1225

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

#bases(*args) ⇒ BaseCollection

Returns:



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

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

#bdi(*args) ⇒ HTMLElement

Returns:



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

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

#bdis(*args) ⇒ HTMLElementCollection



1251
1252
1253
# File 'lib/watir-webdriver/elements/generated.rb', line 1251

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

#bdo(*args) ⇒ HTMLElement

Returns:



1261
1262
1263
# File 'lib/watir-webdriver/elements/generated.rb', line 1261

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

#bdos(*args) ⇒ HTMLElementCollection



1269
1270
1271
# File 'lib/watir-webdriver/elements/generated.rb', line 1269

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

#blockquote(*args) ⇒ Quote

Returns:



1279
1280
1281
# File 'lib/watir-webdriver/elements/generated.rb', line 1279

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

#blockquotes(*args) ⇒ QuoteCollection

Returns:



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

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

#body(*args) ⇒ Body

Returns:



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

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

#bodys(*args) ⇒ BodyCollection

Returns:



1305
1306
1307
# File 'lib/watir-webdriver/elements/generated.rb', line 1305

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

#br(*args) ⇒ BR

Returns:



1315
1316
1317
# File 'lib/watir-webdriver/elements/generated.rb', line 1315

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

#brs(*args) ⇒ BRCollection

Returns:



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

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

#bs(*args) ⇒ HTMLElementCollection



1215
1216
1217
# File 'lib/watir-webdriver/elements/generated.rb', line 1215

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

#button(*args) ⇒ Button

Returns:



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

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

#buttons(*args) ⇒ ButtonCollection

Returns:



1341
1342
1343
# File 'lib/watir-webdriver/elements/generated.rb', line 1341

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

#canvas(*args) ⇒ Canvas

Returns:



1351
1352
1353
# File 'lib/watir-webdriver/elements/generated.rb', line 1351

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

#canvases(*args) ⇒ CanvasCollection

Returns:



1359
1360
1361
# File 'lib/watir-webdriver/elements/generated.rb', line 1359

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

#caption(*args) ⇒ TableCaption

Returns:



1369
1370
1371
# File 'lib/watir-webdriver/elements/generated.rb', line 1369

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

#captions(*args) ⇒ TableCaptionCollection



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

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

#checkbox(*args) ⇒ Object



53
54
55
# File 'lib/watir-webdriver/elements/checkbox.rb', line 53

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

#checkboxes(*args) ⇒ Object



57
58
59
# File 'lib/watir-webdriver/elements/checkbox.rb', line 57

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

#cite(*args) ⇒ HTMLElement

Returns:



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

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

#cites(*args) ⇒ HTMLElementCollection



1395
1396
1397
# File 'lib/watir-webdriver/elements/generated.rb', line 1395

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

#code(*args) ⇒ HTMLElement

Returns:



1405
1406
1407
# File 'lib/watir-webdriver/elements/generated.rb', line 1405

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

#codes(*args) ⇒ HTMLElementCollection



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

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

#col(*args) ⇒ TableCol

Returns:



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

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

#colgroup(*args) ⇒ TableCol

Returns:



1441
1442
1443
# File 'lib/watir-webdriver/elements/generated.rb', line 1441

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

#colgroups(*args) ⇒ TableColCollection

Returns:



1449
1450
1451
# File 'lib/watir-webdriver/elements/generated.rb', line 1449

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

#cols(*args) ⇒ TableColCollection

Returns:



1431
1432
1433
# File 'lib/watir-webdriver/elements/generated.rb', line 1431

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

#data(*args) ⇒ Data

Returns:



1459
1460
1461
# File 'lib/watir-webdriver/elements/generated.rb', line 1459

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

#datalist(*args) ⇒ DataList

Returns:



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

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

#datalists(*args) ⇒ DataListCollection

Returns:



1485
1486
1487
# File 'lib/watir-webdriver/elements/generated.rb', line 1485

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

#datas(*args) ⇒ DataCollection

Returns:



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

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

#dd(*args) ⇒ HTMLElement

Returns:



1495
1496
1497
# File 'lib/watir-webdriver/elements/generated.rb', line 1495

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

#dds(*args) ⇒ HTMLElementCollection



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

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

#del(*args) ⇒ Mod

Returns:



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

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

#dels(*args) ⇒ ModCollection

Returns:



1521
1522
1523
# File 'lib/watir-webdriver/elements/generated.rb', line 1521

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

#details(*args) ⇒ Details

Returns:



1531
1532
1533
# File 'lib/watir-webdriver/elements/generated.rb', line 1531

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

#detailses(*args) ⇒ DetailsCollection

Returns:



1539
1540
1541
# File 'lib/watir-webdriver/elements/generated.rb', line 1539

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

#dfn(*args) ⇒ HTMLElement

Returns:



1549
1550
1551
# File 'lib/watir-webdriver/elements/generated.rb', line 1549

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

#dfns(*args) ⇒ HTMLElementCollection



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

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

#dialog(*args) ⇒ Dialog

Returns:



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

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

#dialogs(*args) ⇒ DialogCollection

Returns:



1575
1576
1577
# File 'lib/watir-webdriver/elements/generated.rb', line 1575

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

#div(*args) ⇒ Div

Returns:



1585
1586
1587
# File 'lib/watir-webdriver/elements/generated.rb', line 1585

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

#divs(*args) ⇒ DivCollection

Returns:



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

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

#dl(*args) ⇒ DList

Returns:



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

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

#dls(*args) ⇒ DListCollection

Returns:



1611
1612
1613
# File 'lib/watir-webdriver/elements/generated.rb', line 1611

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

#dt(*args) ⇒ HTMLElement

Returns:



1621
1622
1623
# File 'lib/watir-webdriver/elements/generated.rb', line 1621

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

#dts(*args) ⇒ HTMLElementCollection



1629
1630
1631
# File 'lib/watir-webdriver/elements/generated.rb', line 1629

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:



1639
1640
1641
# File 'lib/watir-webdriver/elements/generated.rb', line 1639

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

#embed(*args) ⇒ Embed

Returns:



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

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

#embeds(*args) ⇒ EmbedCollection

Returns:



1665
1666
1667
# File 'lib/watir-webdriver/elements/generated.rb', line 1665

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

#ems(*args) ⇒ HTMLElementCollection



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

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:



1675
1676
1677
# File 'lib/watir-webdriver/elements/generated.rb', line 1675

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

#fieldsets(*args) ⇒ FieldSetCollection

Returns:



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

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

#figcaption(*args) ⇒ HTMLElement

Returns:



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

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

#figcaptions(*args) ⇒ HTMLElementCollection



1701
1702
1703
# File 'lib/watir-webdriver/elements/generated.rb', line 1701

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

#figure(*args) ⇒ HTMLElement

Returns:



1711
1712
1713
# File 'lib/watir-webdriver/elements/generated.rb', line 1711

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

#figures(*args) ⇒ HTMLElementCollection



1719
1720
1721
# File 'lib/watir-webdriver/elements/generated.rb', line 1719

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

#file_field(*args) ⇒ Object



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

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

#file_fields(*args) ⇒ Object



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

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:



1729
1730
1731
# File 'lib/watir-webdriver/elements/generated.rb', line 1729

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

#footers(*args) ⇒ HTMLElementCollection



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

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

#form(*args) ⇒ Form

Returns:



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

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

#forms(*args) ⇒ FormCollection

Returns:



1755
1756
1757
# File 'lib/watir-webdriver/elements/generated.rb', line 1755

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

#frame(*args) ⇒ Object



90
91
92
# File 'lib/watir-webdriver/elements/iframe.rb', line 90

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

#frames(*args) ⇒ Object



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

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

#frameset(*args) ⇒ FrameSet

Returns:



1765
1766
1767
# File 'lib/watir-webdriver/elements/generated.rb', line 1765

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

#framesets(*args) ⇒ FrameSetCollection

Returns:



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

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

#h1(*args) ⇒ Heading

Returns:



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

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

#h1s(*args) ⇒ HeadingCollection

Returns:



1791
1792
1793
# File 'lib/watir-webdriver/elements/generated.rb', line 1791

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

#h2(*args) ⇒ Heading

Returns:



1801
1802
1803
# File 'lib/watir-webdriver/elements/generated.rb', line 1801

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

#h2s(*args) ⇒ HeadingCollection

Returns:



1809
1810
1811
# File 'lib/watir-webdriver/elements/generated.rb', line 1809

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

#h3(*args) ⇒ Heading

Returns:



1819
1820
1821
# File 'lib/watir-webdriver/elements/generated.rb', line 1819

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

#h3s(*args) ⇒ HeadingCollection

Returns:



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

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

#h4(*args) ⇒ Heading

Returns:



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

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

#h4s(*args) ⇒ HeadingCollection

Returns:



1845
1846
1847
# File 'lib/watir-webdriver/elements/generated.rb', line 1845

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

#h5(*args) ⇒ Heading

Returns:



1855
1856
1857
# File 'lib/watir-webdriver/elements/generated.rb', line 1855

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

#h5s(*args) ⇒ HeadingCollection

Returns:



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

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

#h6(*args) ⇒ Heading

Returns:



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

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

#h6s(*args) ⇒ HeadingCollection

Returns:



1881
1882
1883
# File 'lib/watir-webdriver/elements/generated.rb', line 1881

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

#head(*args) ⇒ Head

Returns:



1891
1892
1893
# File 'lib/watir-webdriver/elements/generated.rb', line 1891

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

#header(*args) ⇒ HTMLElement

Returns:



1909
1910
1911
# File 'lib/watir-webdriver/elements/generated.rb', line 1909

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

#headers(*args) ⇒ HTMLElementCollection



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

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

#heads(*args) ⇒ HeadCollection

Returns:



1899
1900
1901
# File 'lib/watir-webdriver/elements/generated.rb', line 1899

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

#hgroup(*args) ⇒ HTMLElement

Returns:



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

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

#hgroups(*args) ⇒ HTMLElementCollection



1935
1936
1937
# File 'lib/watir-webdriver/elements/generated.rb', line 1935

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:



1945
1946
1947
# File 'lib/watir-webdriver/elements/generated.rb', line 1945

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

#hrs(*args) ⇒ HRCollection

Returns:



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

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

#html(*args) ⇒ Html

Returns:



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

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

#htmls(*args) ⇒ HtmlCollection

Returns:



1971
1972
1973
# File 'lib/watir-webdriver/elements/generated.rb', line 1971

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

#i(*args) ⇒ HTMLElement

Returns:



1981
1982
1983
# File 'lib/watir-webdriver/elements/generated.rb', line 1981

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

#iframe(*args) ⇒ IFrame

Returns:



1999
2000
2001
# File 'lib/watir-webdriver/elements/generated.rb', line 1999

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

#iframes(*args) ⇒ IFrameCollection

Returns:



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

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:



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

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

#imgs(*args) ⇒ ImageCollection

Returns:



2025
2026
2027
# File 'lib/watir-webdriver/elements/generated.rb', line 2025

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

#input(*args) ⇒ Input

Returns:



2035
2036
2037
# File 'lib/watir-webdriver/elements/generated.rb', line 2035

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

#inputs(*args) ⇒ InputCollection

Returns:



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

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

#ins(*args) ⇒ Mod

Returns:



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

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

#inses(*args) ⇒ ModCollection

Returns:



2061
2062
2063
# File 'lib/watir-webdriver/elements/generated.rb', line 2061

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

#is(*args) ⇒ HTMLElementCollection



1989
1990
1991
# File 'lib/watir-webdriver/elements/generated.rb', line 1989

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

#kbd(*args) ⇒ HTMLElement

Returns:



2071
2072
2073
# File 'lib/watir-webdriver/elements/generated.rb', line 2071

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

#kbds(*args) ⇒ HTMLElementCollection



2079
2080
2081
# File 'lib/watir-webdriver/elements/generated.rb', line 2079

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

#keygen(*args) ⇒ Keygen

Returns:



2089
2090
2091
# File 'lib/watir-webdriver/elements/generated.rb', line 2089

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

#keygens(*args) ⇒ KeygenCollection

Returns:



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

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

#label(*args) ⇒ Label

Returns:



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

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

#labels(*args) ⇒ LabelCollection

Returns:



2115
2116
2117
# File 'lib/watir-webdriver/elements/generated.rb', line 2115

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

#legend(*args) ⇒ Legend

Returns:



2125
2126
2127
# File 'lib/watir-webdriver/elements/generated.rb', line 2125

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

#legends(*args) ⇒ LegendCollection

Returns:



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

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

#li(*args) ⇒ LI

Returns:



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

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:



2151
2152
2153
# File 'lib/watir-webdriver/elements/generated.rb', line 2151

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

#main(*args) ⇒ HTMLElement

Returns:



2161
2162
2163
# File 'lib/watir-webdriver/elements/generated.rb', line 2161

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

#mains(*args) ⇒ HTMLElementCollection



2169
2170
2171
# File 'lib/watir-webdriver/elements/generated.rb', line 2169

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

#map(*args) ⇒ Map

Returns:



2179
2180
2181
# File 'lib/watir-webdriver/elements/generated.rb', line 2179

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

#maps(*args) ⇒ MapCollection

Returns:



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

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

#mark(*args) ⇒ HTMLElement

Returns:



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

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

#marks(*args) ⇒ HTMLElementCollection



2205
2206
2207
# File 'lib/watir-webdriver/elements/generated.rb', line 2205

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

Returns:



2215
2216
2217
# File 'lib/watir-webdriver/elements/generated.rb', line 2215

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

Returns:



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

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

Returns:



2241
2242
2243
# File 'lib/watir-webdriver/elements/generated.rb', line 2241

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

Returns:



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

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

#meta(*args) ⇒ Meta

Returns:



2251
2252
2253
# File 'lib/watir-webdriver/elements/generated.rb', line 2251

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

#metas(*args) ⇒ MetaCollection

Returns:



2259
2260
2261
# File 'lib/watir-webdriver/elements/generated.rb', line 2259

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

#meter(*args) ⇒ Meter

Returns:



2269
2270
2271
# File 'lib/watir-webdriver/elements/generated.rb', line 2269

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

#meters(*args) ⇒ MeterCollection

Returns:



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

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

Returns:



2287
2288
2289
# File 'lib/watir-webdriver/elements/generated.rb', line 2287

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


2295
2296
2297
# File 'lib/watir-webdriver/elements/generated.rb', line 2295

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

#noscript(*args) ⇒ HTMLElement

Returns:



2305
2306
2307
# File 'lib/watir-webdriver/elements/generated.rb', line 2305

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

#noscripts(*args) ⇒ HTMLElementCollection



2313
2314
2315
# File 'lib/watir-webdriver/elements/generated.rb', line 2313

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

#object(*args) ⇒ Object

Returns:



2323
2324
2325
# File 'lib/watir-webdriver/elements/generated.rb', line 2323

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

#objects(*args) ⇒ ObjectCollection

Returns:



2331
2332
2333
# File 'lib/watir-webdriver/elements/generated.rb', line 2331

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

#ol(*args) ⇒ OList

Returns:



2341
2342
2343
# File 'lib/watir-webdriver/elements/generated.rb', line 2341

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

#ols(*args) ⇒ OListCollection

Returns:



2349
2350
2351
# File 'lib/watir-webdriver/elements/generated.rb', line 2349

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

#optgroup(*args) ⇒ OptGroup

Returns:



2359
2360
2361
# File 'lib/watir-webdriver/elements/generated.rb', line 2359

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

#optgroups(*args) ⇒ OptGroupCollection

Returns:



2367
2368
2369
# File 'lib/watir-webdriver/elements/generated.rb', line 2367

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

#option(*args) ⇒ Option

Returns:



2377
2378
2379
# File 'lib/watir-webdriver/elements/generated.rb', line 2377

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

#options(*args) ⇒ OptionCollection

Returns:



2385
2386
2387
# File 'lib/watir-webdriver/elements/generated.rb', line 2385

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

#output(*args) ⇒ Output

Returns:



2395
2396
2397
# File 'lib/watir-webdriver/elements/generated.rb', line 2395

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

#outputs(*args) ⇒ OutputCollection

Returns:



2403
2404
2405
# File 'lib/watir-webdriver/elements/generated.rb', line 2403

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

#p(*args) ⇒ Paragraph

Returns:



2413
2414
2415
# File 'lib/watir-webdriver/elements/generated.rb', line 2413

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

#param(*args) ⇒ Param

Returns:



2431
2432
2433
# File 'lib/watir-webdriver/elements/generated.rb', line 2431

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

#params(*args) ⇒ ParamCollection

Returns:



2439
2440
2441
# File 'lib/watir-webdriver/elements/generated.rb', line 2439

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

#pre(*args) ⇒ Pre

Returns:



2449
2450
2451
# File 'lib/watir-webdriver/elements/generated.rb', line 2449

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

#pres(*args) ⇒ PreCollection

Returns:



2457
2458
2459
# File 'lib/watir-webdriver/elements/generated.rb', line 2457

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

#progress(*args) ⇒ Progress

Returns:



2467
2468
2469
# File 'lib/watir-webdriver/elements/generated.rb', line 2467

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

#progresses(*args) ⇒ ProgressCollection

Returns:



2475
2476
2477
# File 'lib/watir-webdriver/elements/generated.rb', line 2475

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

#ps(*args) ⇒ ParagraphCollection

Returns:



2421
2422
2423
# File 'lib/watir-webdriver/elements/generated.rb', line 2421

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

#q(*args) ⇒ Quote

Returns:



2485
2486
2487
# File 'lib/watir-webdriver/elements/generated.rb', line 2485

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

#qs(*args) ⇒ QuoteCollection

Returns:



2493
2494
2495
# File 'lib/watir-webdriver/elements/generated.rb', line 2493

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

#radio(*args) ⇒ Object



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

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

#radios(*args) ⇒ Object



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

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

#rp(*args) ⇒ HTMLElement

Returns:



2503
2504
2505
# File 'lib/watir-webdriver/elements/generated.rb', line 2503

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

#rps(*args) ⇒ HTMLElementCollection



2511
2512
2513
# File 'lib/watir-webdriver/elements/generated.rb', line 2511

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

#rt(*args) ⇒ HTMLElement

Returns:



2521
2522
2523
# File 'lib/watir-webdriver/elements/generated.rb', line 2521

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

#rts(*args) ⇒ HTMLElementCollection



2529
2530
2531
# File 'lib/watir-webdriver/elements/generated.rb', line 2529

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

#rubies(*args) ⇒ HTMLElementCollection



2547
2548
2549
# File 'lib/watir-webdriver/elements/generated.rb', line 2547

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

#ruby(*args) ⇒ HTMLElement

Returns:



2539
2540
2541
# File 'lib/watir-webdriver/elements/generated.rb', line 2539

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

#s(*args) ⇒ HTMLElement

Returns:



2557
2558
2559
# File 'lib/watir-webdriver/elements/generated.rb', line 2557

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

#samp(*args) ⇒ HTMLElement

Returns:



2575
2576
2577
# File 'lib/watir-webdriver/elements/generated.rb', line 2575

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

#samps(*args) ⇒ HTMLElementCollection



2583
2584
2585
# File 'lib/watir-webdriver/elements/generated.rb', line 2583

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

#script(*args) ⇒ Script

Returns:



2593
2594
2595
# File 'lib/watir-webdriver/elements/generated.rb', line 2593

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

#scripts(*args) ⇒ ScriptCollection

Returns:



2601
2602
2603
# File 'lib/watir-webdriver/elements/generated.rb', line 2601

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

#section(*args) ⇒ HTMLElement

Returns:



2611
2612
2613
# File 'lib/watir-webdriver/elements/generated.rb', line 2611

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

#sections(*args) ⇒ HTMLElementCollection



2619
2620
2621
# File 'lib/watir-webdriver/elements/generated.rb', line 2619

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

#select(*args) ⇒ Select

Returns:



2629
2630
2631
# File 'lib/watir-webdriver/elements/generated.rb', line 2629

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

#select_listObject



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

alias_method :select_list,  :select

#select_listsObject



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

alias_method :select_lists, :selects

#selects(*args) ⇒ SelectCollection

Returns:



2637
2638
2639
# File 'lib/watir-webdriver/elements/generated.rb', line 2637

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

#small(*args) ⇒ HTMLElement

Returns:



2647
2648
2649
# File 'lib/watir-webdriver/elements/generated.rb', line 2647

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

#smalls(*args) ⇒ HTMLElementCollection



2655
2656
2657
# File 'lib/watir-webdriver/elements/generated.rb', line 2655

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

#source(*args) ⇒ Source

Returns:



2665
2666
2667
# File 'lib/watir-webdriver/elements/generated.rb', line 2665

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

#sources(*args) ⇒ SourceCollection

Returns:



2673
2674
2675
# File 'lib/watir-webdriver/elements/generated.rb', line 2673

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

#span(*args) ⇒ Span

Returns:



2683
2684
2685
# File 'lib/watir-webdriver/elements/generated.rb', line 2683

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

#spans(*args) ⇒ SpanCollection

Returns:



2691
2692
2693
# File 'lib/watir-webdriver/elements/generated.rb', line 2691

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

#ss(*args) ⇒ HTMLElementCollection



2565
2566
2567
# File 'lib/watir-webdriver/elements/generated.rb', line 2565

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

#strong(*args) ⇒ HTMLElement

Returns:



2701
2702
2703
# File 'lib/watir-webdriver/elements/generated.rb', line 2701

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

#strongs(*args) ⇒ HTMLElementCollection



2709
2710
2711
# File 'lib/watir-webdriver/elements/generated.rb', line 2709

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

#style(*args) ⇒ Style

Returns:



2719
2720
2721
# File 'lib/watir-webdriver/elements/generated.rb', line 2719

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

#styles(*args) ⇒ StyleCollection

Returns:



2727
2728
2729
# File 'lib/watir-webdriver/elements/generated.rb', line 2727

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

#sub(*args) ⇒ HTMLElement

Returns:



2737
2738
2739
# File 'lib/watir-webdriver/elements/generated.rb', line 2737

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

#subs(*args) ⇒ HTMLElementCollection



2745
2746
2747
# File 'lib/watir-webdriver/elements/generated.rb', line 2745

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

#summaries(*args) ⇒ HTMLElementCollection



2763
2764
2765
# File 'lib/watir-webdriver/elements/generated.rb', line 2763

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

#summary(*args) ⇒ HTMLElement

Returns:



2755
2756
2757
# File 'lib/watir-webdriver/elements/generated.rb', line 2755

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

#sup(*args) ⇒ HTMLElement

Returns:



2773
2774
2775
# File 'lib/watir-webdriver/elements/generated.rb', line 2773

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

#sups(*args) ⇒ HTMLElementCollection



2781
2782
2783
# File 'lib/watir-webdriver/elements/generated.rb', line 2781

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

#table(*args) ⇒ Table

Returns:



2791
2792
2793
# File 'lib/watir-webdriver/elements/generated.rb', line 2791

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

#tables(*args) ⇒ TableCollection

Returns:



2799
2800
2801
# File 'lib/watir-webdriver/elements/generated.rb', line 2799

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

#tbody(*args) ⇒ TableSection

Returns:



2809
2810
2811
# File 'lib/watir-webdriver/elements/generated.rb', line 2809

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

#tbodys(*args) ⇒ TableSectionCollection



2817
2818
2819
# File 'lib/watir-webdriver/elements/generated.rb', line 2817

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

#td(*args) ⇒ TableDataCell

Returns:



2827
2828
2829
# File 'lib/watir-webdriver/elements/generated.rb', line 2827

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

#tds(*args) ⇒ TableDataCellCollection



2835
2836
2837
# File 'lib/watir-webdriver/elements/generated.rb', line 2835

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

#template(*args) ⇒ Template

Returns:



2845
2846
2847
# File 'lib/watir-webdriver/elements/generated.rb', line 2845

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

#templates(*args) ⇒ TemplateCollection

Returns:



2853
2854
2855
# File 'lib/watir-webdriver/elements/generated.rb', line 2853

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:



2863
2864
2865
# File 'lib/watir-webdriver/elements/generated.rb', line 2863

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

#textareas(*args) ⇒ TextAreaCollection

Returns:



2871
2872
2873
# File 'lib/watir-webdriver/elements/generated.rb', line 2871

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

#tfoot(*args) ⇒ TableSection

Returns:



2881
2882
2883
# File 'lib/watir-webdriver/elements/generated.rb', line 2881

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

#tfoots(*args) ⇒ TableSectionCollection



2889
2890
2891
# File 'lib/watir-webdriver/elements/generated.rb', line 2889

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

#th(*args) ⇒ TableHeaderCell

Returns:



2899
2900
2901
# File 'lib/watir-webdriver/elements/generated.rb', line 2899

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

#thead(*args) ⇒ TableSection

Returns:



2917
2918
2919
# File 'lib/watir-webdriver/elements/generated.rb', line 2917

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

#theads(*args) ⇒ TableSectionCollection



2925
2926
2927
# File 'lib/watir-webdriver/elements/generated.rb', line 2925

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

#ths(*args) ⇒ TableHeaderCellCollection



2907
2908
2909
# File 'lib/watir-webdriver/elements/generated.rb', line 2907

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

#time(*args) ⇒ Time

Returns:



2935
2936
2937
# File 'lib/watir-webdriver/elements/generated.rb', line 2935

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

#times(*args) ⇒ TimeCollection

Returns:



2943
2944
2945
# File 'lib/watir-webdriver/elements/generated.rb', line 2943

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

#title(*args) ⇒ Title

Returns:



2953
2954
2955
# File 'lib/watir-webdriver/elements/generated.rb', line 2953

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

#titles(*args) ⇒ TitleCollection

Returns:



2961
2962
2963
# File 'lib/watir-webdriver/elements/generated.rb', line 2961

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

#tr(*args) ⇒ TableRow

Returns:



2971
2972
2973
# File 'lib/watir-webdriver/elements/generated.rb', line 2971

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

#track(*args) ⇒ Track

Returns:



2989
2990
2991
# File 'lib/watir-webdriver/elements/generated.rb', line 2989

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

#tracks(*args) ⇒ TrackCollection

Returns:



2997
2998
2999
# File 'lib/watir-webdriver/elements/generated.rb', line 2997

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

#trs(*args) ⇒ TableRowCollection

Returns:



2979
2980
2981
# File 'lib/watir-webdriver/elements/generated.rb', line 2979

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

#u(*args) ⇒ HTMLElement

Returns:



3007
3008
3009
# File 'lib/watir-webdriver/elements/generated.rb', line 3007

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

#ul(*args) ⇒ UList

Returns:



3025
3026
3027
# File 'lib/watir-webdriver/elements/generated.rb', line 3025

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

#uls(*args) ⇒ UListCollection

Returns:



3033
3034
3035
# File 'lib/watir-webdriver/elements/generated.rb', line 3033

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

#us(*args) ⇒ HTMLElementCollection



3015
3016
3017
# File 'lib/watir-webdriver/elements/generated.rb', line 3015

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

#var(*args) ⇒ HTMLElement

Returns:



3043
3044
3045
# File 'lib/watir-webdriver/elements/generated.rb', line 3043

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

#vars(*args) ⇒ HTMLElementCollection



3051
3052
3053
# File 'lib/watir-webdriver/elements/generated.rb', line 3051

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

#video(*args) ⇒ Video

Returns:



3061
3062
3063
# File 'lib/watir-webdriver/elements/generated.rb', line 3061

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

#videos(*args) ⇒ VideoCollection

Returns:



3069
3070
3071
# File 'lib/watir-webdriver/elements/generated.rb', line 3069

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

#wbr(*args) ⇒ HTMLElement

Returns:



3079
3080
3081
# File 'lib/watir-webdriver/elements/generated.rb', line 3079

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

#wbrs(*args) ⇒ HTMLElementCollection



3087
3088
3089
# File 'lib/watir-webdriver/elements/generated.rb', line 3087

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