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/frame.rb,
lib/watir-webdriver/elements/image.rb,
lib/watir-webdriver/elements/hidden.rb,
lib/watir-webdriver/elements/select.rb,
lib/watir-webdriver/elements/checkbox.rb,
lib/watir-webdriver/elements/generated.rb,
lib/watir-webdriver/elements/text_field.rb,
lib/watir-webdriver/elements/file_field.rb

Overview

CheckBox

Constant Summary

Constant Summary

Constants included from Atoms

Atoms::ATOMS

Instance Method Summary (collapse)

Methods included from Atoms

load

Methods included from XpathSupport

escape

Instance Method Details

- (Anchor) a(*args)

Returns:



791
792
793
# File 'lib/watir-webdriver/elements/generated.rb', line 791

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

- (HTMLElement) abbr(*args)

Returns:



808
809
810
# File 'lib/watir-webdriver/elements/generated.rb', line 808

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

- (HTMLElementCollection) abbrs(*args)



816
817
818
# File 'lib/watir-webdriver/elements/generated.rb', line 816

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

- (HTMLElement) address(*args)

Returns:



825
826
827
# File 'lib/watir-webdriver/elements/generated.rb', line 825

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

- (HTMLElementCollection) addresses(*args)



833
834
835
# File 'lib/watir-webdriver/elements/generated.rb', line 833

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

- (Area) area(*args)

Returns:



842
843
844
# File 'lib/watir-webdriver/elements/generated.rb', line 842

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

- (AreaCollection) areas(*args)

Returns:



850
851
852
# File 'lib/watir-webdriver/elements/generated.rb', line 850

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

- (HTMLElement) article(*args)

Returns:



859
860
861
# File 'lib/watir-webdriver/elements/generated.rb', line 859

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

- (HTMLElementCollection) articles(*args)



867
868
869
# File 'lib/watir-webdriver/elements/generated.rb', line 867

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

- (AnchorCollection) as(*args)

Returns:



799
800
801
# File 'lib/watir-webdriver/elements/generated.rb', line 799

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

- (HTMLElement) aside(*args)

Returns:



876
877
878
# File 'lib/watir-webdriver/elements/generated.rb', line 876

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

- (HTMLElementCollection) asides(*args)



884
885
886
# File 'lib/watir-webdriver/elements/generated.rb', line 884

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

- (Audio) audio(*args)

Returns:



893
894
895
# File 'lib/watir-webdriver/elements/generated.rb', line 893

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

- (AudioCollection) audios(*args)

Returns:



901
902
903
# File 'lib/watir-webdriver/elements/generated.rb', line 901

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

- (HTMLElement) b(*args)

Returns:



910
911
912
# File 'lib/watir-webdriver/elements/generated.rb', line 910

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

- (Base) base(*args)

Returns:



927
928
929
# File 'lib/watir-webdriver/elements/generated.rb', line 927

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

- (BaseCollection) bases(*args)

Returns:



935
936
937
# File 'lib/watir-webdriver/elements/generated.rb', line 935

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

- (HTMLElement) bdi(*args)

Returns:



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

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

- (HTMLElementCollection) bdis(*args)



952
953
954
# File 'lib/watir-webdriver/elements/generated.rb', line 952

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

- (HTMLElement) bdo(*args)

Returns:



961
962
963
# File 'lib/watir-webdriver/elements/generated.rb', line 961

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

- (HTMLElementCollection) bdos(*args)



969
970
971
# File 'lib/watir-webdriver/elements/generated.rb', line 969

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

- (Quote) blockquote(*args)

Returns:



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

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

- (QuoteCollection) blockquotes(*args)

Returns:



986
987
988
# File 'lib/watir-webdriver/elements/generated.rb', line 986

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

- (Body) body(*args)

Returns:



995
996
997
# File 'lib/watir-webdriver/elements/generated.rb', line 995

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

- (BodyCollection) bodys(*args)

Returns:



1003
1004
1005
# File 'lib/watir-webdriver/elements/generated.rb', line 1003

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

- (BR) br(*args)

Returns:



1012
1013
1014
# File 'lib/watir-webdriver/elements/generated.rb', line 1012

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

- (BRCollection) brs(*args)

Returns:



1020
1021
1022
# File 'lib/watir-webdriver/elements/generated.rb', line 1020

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

- (HTMLElementCollection) bs(*args)



918
919
920
# File 'lib/watir-webdriver/elements/generated.rb', line 918

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

- (Button) button(*args)

Returns:



1029
1030
1031
# File 'lib/watir-webdriver/elements/generated.rb', line 1029

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

- (ButtonCollection) buttons(*args)

Returns:



1037
1038
1039
# File 'lib/watir-webdriver/elements/generated.rb', line 1037

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

- (Canvas) canvas(*args)

Returns:



1046
1047
1048
# File 'lib/watir-webdriver/elements/generated.rb', line 1046

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

- (CanvasCollection) canvases(*args)

Returns:



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

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

- (TableCaption) caption(*args)

Returns:



1063
1064
1065
# File 'lib/watir-webdriver/elements/generated.rb', line 1063

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

- (TableCaptionCollection) captions(*args)



1071
1072
1073
# File 'lib/watir-webdriver/elements/generated.rb', line 1071

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

- (Object) checkbox(*args)



51
52
53
# File 'lib/watir-webdriver/elements/checkbox.rb', line 51

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

- (Object) checkboxes(*args)



55
56
57
# File 'lib/watir-webdriver/elements/checkbox.rb', line 55

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

- (HTMLElement) cite(*args)

Returns:



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

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

- (HTMLElementCollection) cites(*args)



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

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

- (HTMLElement) code(*args)

Returns:



1097
1098
1099
# File 'lib/watir-webdriver/elements/generated.rb', line 1097

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

- (HTMLElementCollection) codes(*args)



1105
1106
1107
# File 'lib/watir-webdriver/elements/generated.rb', line 1105

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

- (TableCol) col(*args)

Returns:



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

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

- (TableCol) colgroup(*args)

Returns:



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

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

- (TableColCollection) colgroups(*args)

Returns:



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

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

- (TableColCollection) cols(*args)

Returns:



1122
1123
1124
# File 'lib/watir-webdriver/elements/generated.rb', line 1122

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

- (Command) command(*args)

Returns:



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

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

- (CommandCollection) commands(*args)

Returns:



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

def commands(*args)
  CommandCollection.new(self, extract_selector(args).merge(:tag_name => "command"))
end

- (DataCollection) data(*args)

Returns:



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

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

- (DataList) datalist(*args)

Returns:



1182
1183
1184
# File 'lib/watir-webdriver/elements/generated.rb', line 1182

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

- (DataListCollection) datalists(*args)

Returns:



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

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

- (HTMLElement) dd(*args)

Returns:



1199
1200
1201
# File 'lib/watir-webdriver/elements/generated.rb', line 1199

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

- (HTMLElementCollection) dds(*args)



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

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

- (Mod) del(*args)

Returns:



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

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

- (ModCollection) dels(*args)

Returns:



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

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

- (Details) details(*args)

Returns:



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

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

- (DetailsCollection) detailses(*args)

Returns:



1241
1242
1243
# File 'lib/watir-webdriver/elements/generated.rb', line 1241

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

- (HTMLElement) dfn(*args)

Returns:



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

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

- (HTMLElementCollection) dfns(*args)



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

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

- (Dialog) dialog(*args)

Returns:



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

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

- (DialogCollection) dialogs(*args)

Returns:



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

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

- (Div) div(*args)

Returns:



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

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

- (DivCollection) divs(*args)

Returns:



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

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

- (DList) dl(*args)

Returns:



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

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

- (DListCollection) dls(*args)

Returns:



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

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

- (HTMLElement) dt(*args)

Returns:



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

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

- (HTMLElementCollection) dts(*args)



1326
1327
1328
# File 'lib/watir-webdriver/elements/generated.rb', line 1326

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

- (Object) element(*args)



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

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

- (Object) elements(*args)



11
12
13
# File 'lib/watir-webdriver/container.rb', line 11

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

- (HTMLElement) em(*args)

Returns:



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

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

- (Embed) embed(*args)

Returns:



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

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

- (EmbedCollection) embeds(*args)

Returns:



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

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

- (HTMLElementCollection) ems(*args)



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

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

- (Object) extract_selector(selectors)

Raises:

  • (ArgumentError)


15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/watir-webdriver/container.rb', line 15

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

- (Object) field_set



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

alias_method :field_set, :fieldset

- (Object) field_sets



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

alias_method :field_sets, :fieldsets

- (FieldSet) fieldset(*args)

Returns:



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

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

- (FieldSetCollection) fieldsets(*args)

Returns:



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

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

- (HTMLElement) figcaption(*args)

Returns:



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

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

- (HTMLElementCollection) figcaptions(*args)



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

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

- (HTMLElement) figure(*args)

Returns:



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

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

- (HTMLElementCollection) figures(*args)



1411
1412
1413
# File 'lib/watir-webdriver/elements/generated.rb', line 1411

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

- (Object) file_field(*args)



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

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

- (Object) file_fields(*args)



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

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

- (Object) font(*args)



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

- (Object) fonts(*args)



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:



1420
1421
1422
# File 'lib/watir-webdriver/elements/generated.rb', line 1420

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

- (HTMLElementCollection) footers(*args)



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

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

- (Form) form(*args)

Returns:



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

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

- (FormCollection) forms(*args)

Returns:



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

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

- (Object) frame(*args)



63
64
65
# File 'lib/watir-webdriver/elements/frame.rb', line 63

def frame(*args)
  Frame.new(self, extract_selector(args))
end

- (Object) frames(*args)



67
68
69
# File 'lib/watir-webdriver/elements/frame.rb', line 67

def frames(*args)
  FrameCollection.new(self, extract_selector(args).merge(:tag_name => /^(iframe|frame)$/)) # hack
end

- (FrameSet) frameset(*args)

Returns:



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

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

- (FrameSetCollection) framesets(*args)

Returns:



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

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

- (Heading) h1(*args)

Returns:



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

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

- (HeadingCollection) h1s(*args)

Returns:



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

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

- (Heading) h2(*args)

Returns:



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

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

- (HeadingCollection) h2s(*args)

Returns:



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

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

- (Heading) h3(*args)

Returns:



1505
1506
1507
# File 'lib/watir-webdriver/elements/generated.rb', line 1505

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

- (HeadingCollection) h3s(*args)

Returns:



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

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

- (Heading) h4(*args)

Returns:



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

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

- (HeadingCollection) h4s(*args)

Returns:



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

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

- (Heading) h5(*args)

Returns:



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

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

- (HeadingCollection) h5s(*args)

Returns:



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

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

- (Heading) h6(*args)

Returns:



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

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

- (HeadingCollection) h6s(*args)

Returns:



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

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

- (Head) head(*args)

Returns:



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

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

- (HTMLElement) header(*args)

Returns:



1590
1591
1592
# File 'lib/watir-webdriver/elements/generated.rb', line 1590

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

- (HTMLElementCollection) headers(*args)



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

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

- (HeadCollection) heads(*args)

Returns:



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

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

- (HTMLElement) hgroup(*args)

Returns:



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

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

- (HTMLElementCollection) hgroups(*args)



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

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

- (Object) hidden(*args)



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

- (Object) hiddens(*args)



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) hr(*args)

Returns:



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

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

- (HRCollection) hrs(*args)

Returns:



1632
1633
1634
# File 'lib/watir-webdriver/elements/generated.rb', line 1632

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

- (Html) html(*args)

Returns:



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

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

- (HtmlCollection) htmls(*args)

Returns:



1649
1650
1651
# File 'lib/watir-webdriver/elements/generated.rb', line 1649

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

- (HTMLElement) i(*args)

Returns:



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

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

- (IFrame) iframe(*args)

Returns:



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

def iframe(*args)
  warn "Watir::Container#iframe is replaced by Watir::Container#frame"
  frame(*args)
end

- (IFrameCollection) iframes(*args)

Returns:



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

def iframes(*args)
  warn "Watir::Container#iframes is replaced by Watir::Container#frames"
  frame(*args)
end

- (Object) image



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

alias_method :image, :img

- (Object) images



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

alias_method :images, :imgs

- (Image) img(*args)

Returns:



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

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

- (ImageCollection) imgs(*args)

Returns:



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

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

- (Input) input(*args)

Returns:



1709
1710
1711
# File 'lib/watir-webdriver/elements/generated.rb', line 1709

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

- (InputCollection) inputs(*args)

Returns:



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

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

- (Mod) ins(*args)

Returns:



1726
1727
1728
# File 'lib/watir-webdriver/elements/generated.rb', line 1726

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

- (ModCollection) inses(*args)

Returns:



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

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

- (HTMLElementCollection) is(*args)



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

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

- (HTMLElement) kbd(*args)

Returns:



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

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

- (HTMLElementCollection) kbds(*args)



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

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

- (Keygen) keygen(*args)

Returns:



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

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

- (KeygenCollection) keygens(*args)

Returns:



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

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

- (Label) label(*args)

Returns:



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

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

- (LabelCollection) labels(*args)

Returns:



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

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

- (Legend) legend(*args)

Returns:



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

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

- (LegendCollection) legends(*args)

Returns:



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

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

- (LI) li(*args)

Returns:



1811
1812
1813
# File 'lib/watir-webdriver/elements/generated.rb', line 1811

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

- (LICollection) lis(*args)

Returns:



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

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

- (Map) map(*args)

Returns:



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

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

- (MapCollection) maps(*args)

Returns:



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

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

- (HTMLElement) mark(*args)

Returns:



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

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

- (HTMLElementCollection) marks(*args)



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

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

Returns:



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

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

Returns:



1870
1871
1872
# File 'lib/watir-webdriver/elements/generated.rb', line 1870

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

- (Meta) meta(*args)

Returns:



1879
1880
1881
# File 'lib/watir-webdriver/elements/generated.rb', line 1879

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

- (MetaCollection) metas(*args)

Returns:



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

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

- (Meter) meter(*args)

Returns:



1896
1897
1898
# File 'lib/watir-webdriver/elements/generated.rb', line 1896

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

- (MeterCollection) meters(*args)

Returns:



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

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

Returns:



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

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


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

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

- (HTMLElement) noscript(*args)

Returns:



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

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

- (HTMLElementCollection) noscripts(*args)



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

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

- (Object) object(*args)

Returns:



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

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

- (ObjectCollection) objects(*args)

Returns:



1955
1956
1957
# File 'lib/watir-webdriver/elements/generated.rb', line 1955

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

- (OList) ol(*args)

Returns:



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

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

- (OListCollection) ols(*args)

Returns:



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

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

- (OptGroup) optgroup(*args)

Returns:



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

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

- (OptGroupCollection) optgroups(*args)

Returns:



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

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

- (Option) option(*args)

Returns:



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

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

- (OptionCollection) options(*args)

Returns:



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

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

- (Output) output(*args)

Returns:



2015
2016
2017
# File 'lib/watir-webdriver/elements/generated.rb', line 2015

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

- (OutputCollection) outputs(*args)

Returns:



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

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

- (Paragraph) p(*args)

Returns:



2032
2033
2034
# File 'lib/watir-webdriver/elements/generated.rb', line 2032

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

- (Param) param(*args)

Returns:



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

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

- (ParamCollection) params(*args)

Returns:



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

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

- (Pre) pre(*args)

Returns:



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

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

- (PreCollection) pres(*args)

Returns:



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

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

- (Progress) progress(*args)

Returns:



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

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

- (ProgressCollection) progresses(*args)

Returns:



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

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

- (ParagraphCollection) ps(*args)

Returns:



2040
2041
2042
# File 'lib/watir-webdriver/elements/generated.rb', line 2040

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

- (Quote) q(*args)

Returns:



2100
2101
2102
# File 'lib/watir-webdriver/elements/generated.rb', line 2100

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

- (QuoteCollection) qs(*args)

Returns:



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

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

- (Object) radio(*args)



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

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

- (Object) radios(*args)



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

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

- (HTMLElement) rp(*args)

Returns:



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

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

- (HTMLElementCollection) rps(*args)



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

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

- (HTMLElement) rt(*args)

Returns:



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

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

- (HTMLElementCollection) rts(*args)



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

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

- (HTMLElementCollection) rubies(*args)



2159
2160
2161
# File 'lib/watir-webdriver/elements/generated.rb', line 2159

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

- (HTMLElement) ruby(*args)

Returns:



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

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

- (HTMLElement) s(*args)

Returns:



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

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

- (HTMLElement) samp(*args)

Returns:



2185
2186
2187
# File 'lib/watir-webdriver/elements/generated.rb', line 2185

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

- (HTMLElementCollection) samps(*args)



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

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

- (Script) script(*args)

Returns:



2202
2203
2204
# File 'lib/watir-webdriver/elements/generated.rb', line 2202

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

- (ScriptCollection) scripts(*args)

Returns:



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

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

- (HTMLElement) section(*args)

Returns:



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

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

- (HTMLElementCollection) sections(*args)



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

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

- (Select) select(*args)

Returns:



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

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

- (Object) select_list



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

alias_method :select_list,  :select

- (Object) select_lists



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

alias_method :select_lists, :selects

- (SelectCollection) selects(*args)

Returns:



2244
2245
2246
# File 'lib/watir-webdriver/elements/generated.rb', line 2244

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

- (HTMLElement) small(*args)

Returns:



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

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

- (HTMLElementCollection) smalls(*args)



2261
2262
2263
# File 'lib/watir-webdriver/elements/generated.rb', line 2261

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

- (Source) source(*args)

Returns:



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

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

- (SourceCollection) sources(*args)

Returns:



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

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

- (Span) span(*args)

Returns:



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

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

- (SpanCollection) spans(*args)

Returns:



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

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

- (HTMLElementCollection) ss(*args)



2176
2177
2178
# File 'lib/watir-webdriver/elements/generated.rb', line 2176

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

- (HTMLElement) strong(*args)

Returns:



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

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

- (HTMLElementCollection) strongs(*args)



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

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

- (Style) style(*args)

Returns:



2321
2322
2323
# File 'lib/watir-webdriver/elements/generated.rb', line 2321

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

- (StyleCollection) styles(*args)

Returns:



2329
2330
2331
# File 'lib/watir-webdriver/elements/generated.rb', line 2329

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

- (HTMLElement) sub(*args)

Returns:



2338
2339
2340
# File 'lib/watir-webdriver/elements/generated.rb', line 2338

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

- (HTMLElementCollection) subs(*args)



2346
2347
2348
# File 'lib/watir-webdriver/elements/generated.rb', line 2346

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

- (HTMLElementCollection) summaries(*args)



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

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

- (HTMLElement) summary(*args)

Returns:



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

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

- (HTMLElement) sup(*args)

Returns:



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

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

- (HTMLElementCollection) sups(*args)



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

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

- (Table) table(*args)

Returns:



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

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

- (TableCollection) tables(*args)

Returns:



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

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

- (TableSection) tbody(*args)

Returns:



2406
2407
2408
# File 'lib/watir-webdriver/elements/generated.rb', line 2406

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

- (TableSectionCollection) tbodys(*args)



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

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

- (TableDataCell) td(*args)

Returns:



2423
2424
2425
# File 'lib/watir-webdriver/elements/generated.rb', line 2423

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

- (TableDataCellCollection) tds(*args)



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

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

- (Object) text_field(*args)



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

- (Object) text_fields(*args)



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) textarea(*args)

Returns:



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

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

- (TextAreaCollection) textareas(*args)

Returns:



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

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

- (TableSection) tfoot(*args)

Returns:



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

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

- (TableSectionCollection) tfoots(*args)



2465
2466
2467
# File 'lib/watir-webdriver/elements/generated.rb', line 2465

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

- (TableHeaderCell) th(*args)

Returns:



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

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

- (TableSection) thead(*args)

Returns:



2491
2492
2493
# File 'lib/watir-webdriver/elements/generated.rb', line 2491

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

- (TableSectionCollection) theads(*args)



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

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

- (TableHeaderCellCollection) ths(*args)



2482
2483
2484
# File 'lib/watir-webdriver/elements/generated.rb', line 2482

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

- (Time) time(*args)

Returns:



2508
2509
2510
# File 'lib/watir-webdriver/elements/generated.rb', line 2508

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

- (TimeCollection) times(*args)

Returns:



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

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

- (Title) title(*args)

Returns:



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

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

- (TitleCollection) titles(*args)

Returns:



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

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

- (TableRow) tr(*args)

Returns:



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

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

- (Track) track(*args)

Returns:



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

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

- (TrackCollection) tracks(*args)

Returns:



2567
2568
2569
# File 'lib/watir-webdriver/elements/generated.rb', line 2567

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

- (TableRowCollection) trs(*args)

Returns:



2550
2551
2552
# File 'lib/watir-webdriver/elements/generated.rb', line 2550

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

- (HTMLElement) u(*args)

Returns:



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

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

- (UList) ul(*args)

Returns:



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

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

- (UListCollection) uls(*args)

Returns:



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

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

- (HTMLElementCollection) us(*args)



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

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

- (HTMLElement) var(*args)

Returns:



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

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

- (HTMLElementCollection) vars(*args)



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

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

- (Video) video(*args)

Returns:



2627
2628
2629
# File 'lib/watir-webdriver/elements/generated.rb', line 2627

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

- (VideoCollection) videos(*args)

Returns:



2635
2636
2637
# File 'lib/watir-webdriver/elements/generated.rb', line 2635

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

- (HTMLElement) wbr(*args)

Returns:



2644
2645
2646
# File 'lib/watir-webdriver/elements/generated.rb', line 2644

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

- (HTMLElementCollection) wbrs(*args)



2652
2653
2654
# File 'lib/watir-webdriver/elements/generated.rb', line 2652

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