Module: Watir::Container

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

Overview

CheckBox

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

#a(*args) ⇒ Anchor

Returns:



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

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

#abbr(*args) ⇒ HTMLElement

Returns:



795
796
797
# File 'lib/watir-webdriver/elements/generated.rb', line 795

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

#abbrs(*args) ⇒ HTMLElementCollection



803
804
805
# File 'lib/watir-webdriver/elements/generated.rb', line 803

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

#address(*args) ⇒ HTMLElement

Returns:



812
813
814
# File 'lib/watir-webdriver/elements/generated.rb', line 812

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

#addresses(*args) ⇒ HTMLElementCollection



820
821
822
# File 'lib/watir-webdriver/elements/generated.rb', line 820

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

#area(*args) ⇒ Area

Returns:



829
830
831
# File 'lib/watir-webdriver/elements/generated.rb', line 829

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

#areas(*args) ⇒ AreaCollection

Returns:



837
838
839
# File 'lib/watir-webdriver/elements/generated.rb', line 837

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

#article(*args) ⇒ HTMLElement

Returns:



846
847
848
# File 'lib/watir-webdriver/elements/generated.rb', line 846

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

#articles(*args) ⇒ HTMLElementCollection



854
855
856
# File 'lib/watir-webdriver/elements/generated.rb', line 854

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

#as(*args) ⇒ AnchorCollection

Returns:



786
787
788
# File 'lib/watir-webdriver/elements/generated.rb', line 786

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

#aside(*args) ⇒ HTMLElement

Returns:



863
864
865
# File 'lib/watir-webdriver/elements/generated.rb', line 863

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

#asides(*args) ⇒ HTMLElementCollection



871
872
873
# File 'lib/watir-webdriver/elements/generated.rb', line 871

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

#audio(*args) ⇒ Audio

Returns:



880
881
882
# File 'lib/watir-webdriver/elements/generated.rb', line 880

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

#audios(*args) ⇒ AudioCollection

Returns:



888
889
890
# File 'lib/watir-webdriver/elements/generated.rb', line 888

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

#b(*args) ⇒ HTMLElement

Returns:



897
898
899
# File 'lib/watir-webdriver/elements/generated.rb', line 897

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

#base(*args) ⇒ Base

Returns:



914
915
916
# File 'lib/watir-webdriver/elements/generated.rb', line 914

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

#bases(*args) ⇒ BaseCollection

Returns:



922
923
924
# File 'lib/watir-webdriver/elements/generated.rb', line 922

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

#bdi(*args) ⇒ HTMLElement

Returns:



931
932
933
# File 'lib/watir-webdriver/elements/generated.rb', line 931

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

#bdis(*args) ⇒ HTMLElementCollection



939
940
941
# File 'lib/watir-webdriver/elements/generated.rb', line 939

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

#bdo(*args) ⇒ HTMLElement

Returns:



948
949
950
# File 'lib/watir-webdriver/elements/generated.rb', line 948

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

#bdos(*args) ⇒ HTMLElementCollection



956
957
958
# File 'lib/watir-webdriver/elements/generated.rb', line 956

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

#blockquote(*args) ⇒ Quote

Returns:



965
966
967
# File 'lib/watir-webdriver/elements/generated.rb', line 965

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

#blockquotes(*args) ⇒ QuoteCollection

Returns:



973
974
975
# File 'lib/watir-webdriver/elements/generated.rb', line 973

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

#body(*args) ⇒ Body

Returns:



982
983
984
# File 'lib/watir-webdriver/elements/generated.rb', line 982

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

#bodys(*args) ⇒ BodyCollection

Returns:



990
991
992
# File 'lib/watir-webdriver/elements/generated.rb', line 990

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

#br(*args) ⇒ BR

Returns:



999
1000
1001
# File 'lib/watir-webdriver/elements/generated.rb', line 999

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

#brs(*args) ⇒ BRCollection

Returns:



1007
1008
1009
# File 'lib/watir-webdriver/elements/generated.rb', line 1007

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

#bs(*args) ⇒ HTMLElementCollection



905
906
907
# File 'lib/watir-webdriver/elements/generated.rb', line 905

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

#button(*args) ⇒ Button

Returns:



1016
1017
1018
# File 'lib/watir-webdriver/elements/generated.rb', line 1016

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

#buttons(*args) ⇒ ButtonCollection

Returns:



1024
1025
1026
# File 'lib/watir-webdriver/elements/generated.rb', line 1024

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

#canvas(*args) ⇒ Canvas

Returns:



1033
1034
1035
# File 'lib/watir-webdriver/elements/generated.rb', line 1033

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

#canvases(*args) ⇒ CanvasCollection

Returns:



1041
1042
1043
# File 'lib/watir-webdriver/elements/generated.rb', line 1041

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

#caption(*args) ⇒ TableCaption

Returns:



1050
1051
1052
# File 'lib/watir-webdriver/elements/generated.rb', line 1050

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

#captions(*args) ⇒ TableCaptionCollection



1058
1059
1060
# File 'lib/watir-webdriver/elements/generated.rb', line 1058

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

#checkbox(*args) ⇒ Object



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

#checkboxes(*args) ⇒ Object



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

#cite(*args) ⇒ HTMLElement

Returns:



1067
1068
1069
# File 'lib/watir-webdriver/elements/generated.rb', line 1067

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

#cites(*args) ⇒ HTMLElementCollection



1075
1076
1077
# File 'lib/watir-webdriver/elements/generated.rb', line 1075

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

#code(*args) ⇒ HTMLElement

Returns:



1084
1085
1086
# File 'lib/watir-webdriver/elements/generated.rb', line 1084

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

#codes(*args) ⇒ HTMLElementCollection



1092
1093
1094
# File 'lib/watir-webdriver/elements/generated.rb', line 1092

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

#col(*args) ⇒ TableCol

Returns:



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

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

#colgroup(*args) ⇒ TableCol

Returns:



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

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

#colgroups(*args) ⇒ TableColCollection

Returns:



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

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

#cols(*args) ⇒ TableColCollection

Returns:



1109
1110
1111
# File 'lib/watir-webdriver/elements/generated.rb', line 1109

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

#command(*args) ⇒ Command

Returns:



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

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

#commands(*args) ⇒ CommandCollection

Returns:



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

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

#data(*args) ⇒ DataCollection

Returns:



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

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

#datalist(*args) ⇒ DataList

Returns:



1169
1170
1171
# File 'lib/watir-webdriver/elements/generated.rb', line 1169

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

#datalists(*args) ⇒ DataListCollection

Returns:



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

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

#dd(*args) ⇒ HTMLElement

Returns:



1186
1187
1188
# File 'lib/watir-webdriver/elements/generated.rb', line 1186

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

#dds(*args) ⇒ HTMLElementCollection



1194
1195
1196
# File 'lib/watir-webdriver/elements/generated.rb', line 1194

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

#del(*args) ⇒ Mod

Returns:



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

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

#dels(*args) ⇒ ModCollection

Returns:



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

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

#details(*args) ⇒ Details

Returns:



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

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

#detailses(*args) ⇒ DetailsCollection

Returns:



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

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

#dfn(*args) ⇒ HTMLElement

Returns:



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

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

#dfns(*args) ⇒ HTMLElementCollection



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

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

#div(*args) ⇒ Div

Returns:



1254
1255
1256
# File 'lib/watir-webdriver/elements/generated.rb', line 1254

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

#divs(*args) ⇒ DivCollection

Returns:



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

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

#dl(*args) ⇒ DList

Returns:



1271
1272
1273
# File 'lib/watir-webdriver/elements/generated.rb', line 1271

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

#dls(*args) ⇒ DListCollection

Returns:



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

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

#dt(*args) ⇒ HTMLElement

Returns:



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

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

#dts(*args) ⇒ HTMLElementCollection



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

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

#element(*args) ⇒ Object



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

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

#elements(*args) ⇒ Object



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

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

#em(*args) ⇒ HTMLElement

Returns:



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

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

#embed(*args) ⇒ Embed

Returns:



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

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

#embeds(*args) ⇒ EmbedCollection

Returns:



1330
1331
1332
# File 'lib/watir-webdriver/elements/generated.rb', line 1330

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

#ems(*args) ⇒ HTMLElementCollection



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

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

#extract_selector(selectors) ⇒ Object

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

#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:



1339
1340
1341
# File 'lib/watir-webdriver/elements/generated.rb', line 1339

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

#fieldsets(*args) ⇒ FieldSetCollection

Returns:



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

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

#figcaption(*args) ⇒ HTMLElement

Returns:



1356
1357
1358
# File 'lib/watir-webdriver/elements/generated.rb', line 1356

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

#figcaptions(*args) ⇒ HTMLElementCollection



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

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

#figure(*args) ⇒ HTMLElement

Returns:



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

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

#figures(*args) ⇒ HTMLElementCollection



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

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

#file_field(*args) ⇒ Object



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

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

#file_fields(*args) ⇒ Object



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

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

#font(*args) ⇒ Object



3
4
5
# File 'lib/watir-webdriver/elements/font.rb', line 3

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

#fonts(*args) ⇒ Object



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

def fonts(*args)
  FontCollection.new(self, extract_selector(args).merge(:tag_name => "font"))
end

Returns:



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

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

#footers(*args) ⇒ HTMLElementCollection



1398
1399
1400
# File 'lib/watir-webdriver/elements/generated.rb', line 1398

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

#form(*args) ⇒ Form

Returns:



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

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

#forms(*args) ⇒ FormCollection

Returns:



1415
1416
1417
# File 'lib/watir-webdriver/elements/generated.rb', line 1415

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

#frame(*args) ⇒ Object



73
74
75
# File 'lib/watir-webdriver/elements/frame.rb', line 73

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

#frames(*args) ⇒ Object



77
78
79
# File 'lib/watir-webdriver/elements/frame.rb', line 77

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

#frameset(*args) ⇒ FrameSet

Returns:



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

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

#framesets(*args) ⇒ FrameSetCollection

Returns:



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

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

#h1(*args) ⇒ Heading

Returns:



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

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

#h1s(*args) ⇒ HeadingCollection

Returns:



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

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

#h2(*args) ⇒ Heading

Returns:



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

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

#h2s(*args) ⇒ HeadingCollection

Returns:



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

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

#h3(*args) ⇒ Heading

Returns:



1475
1476
1477
# File 'lib/watir-webdriver/elements/generated.rb', line 1475

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

#h3s(*args) ⇒ HeadingCollection

Returns:



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

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

#h4(*args) ⇒ Heading

Returns:



1492
1493
1494
# File 'lib/watir-webdriver/elements/generated.rb', line 1492

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

#h4s(*args) ⇒ HeadingCollection

Returns:



1500
1501
1502
# File 'lib/watir-webdriver/elements/generated.rb', line 1500

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

#h5(*args) ⇒ Heading

Returns:



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

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

#h5s(*args) ⇒ HeadingCollection

Returns:



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

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

#h6(*args) ⇒ Heading

Returns:



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

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

#h6s(*args) ⇒ HeadingCollection

Returns:



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

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

#head(*args) ⇒ Head

Returns:



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

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

#header(*args) ⇒ HTMLElement

Returns:



1560
1561
1562
# File 'lib/watir-webdriver/elements/generated.rb', line 1560

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

#headers(*args) ⇒ HTMLElementCollection



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

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

#heads(*args) ⇒ HeadCollection

Returns:



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

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

#hgroup(*args) ⇒ HTMLElement

Returns:



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

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

#hgroups(*args) ⇒ HTMLElementCollection



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

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:



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

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

#hrs(*args) ⇒ HRCollection

Returns:



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

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

#html(*args) ⇒ Html

Returns:



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

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

#htmls(*args) ⇒ HtmlCollection

Returns:



1619
1620
1621
# File 'lib/watir-webdriver/elements/generated.rb', line 1619

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

#i(*args) ⇒ HTMLElement

Returns:



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

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

#iframe(*args) ⇒ IFrame

Returns:



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

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

#iframes(*args) ⇒ IFrameCollection

Returns:



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

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

#imageObject



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

alias_method :image, :img

#imagesObject



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

alias_method :images, :imgs

#img(*args) ⇒ Image

Returns:



1662
1663
1664
# File 'lib/watir-webdriver/elements/generated.rb', line 1662

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

#imgs(*args) ⇒ ImageCollection

Returns:



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

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

#input(*args) ⇒ Input

Returns:



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

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

#inputs(*args) ⇒ InputCollection

Returns:



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

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

#ins(*args) ⇒ Mod

Returns:



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

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

#inses(*args) ⇒ ModCollection

Returns:



1704
1705
1706
# File 'lib/watir-webdriver/elements/generated.rb', line 1704

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

#is(*args) ⇒ HTMLElementCollection



1636
1637
1638
# File 'lib/watir-webdriver/elements/generated.rb', line 1636

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

#kbd(*args) ⇒ HTMLElement

Returns:



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

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

#kbds(*args) ⇒ HTMLElementCollection



1721
1722
1723
# File 'lib/watir-webdriver/elements/generated.rb', line 1721

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

#keygen(*args) ⇒ Keygen

Returns:



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

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

#keygens(*args) ⇒ KeygenCollection

Returns:



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

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

#label(*args) ⇒ Label

Returns:



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

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

#labels(*args) ⇒ LabelCollection

Returns:



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

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

#legend(*args) ⇒ Legend

Returns:



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

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

#legends(*args) ⇒ LegendCollection

Returns:



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

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

#li(*args) ⇒ LI

Returns:



1781
1782
1783
# File 'lib/watir-webdriver/elements/generated.rb', line 1781

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:



1789
1790
1791
# File 'lib/watir-webdriver/elements/generated.rb', line 1789

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

#map(*args) ⇒ Map

Returns:



1798
1799
1800
# File 'lib/watir-webdriver/elements/generated.rb', line 1798

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

#maps(*args) ⇒ MapCollection

Returns:



1806
1807
1808
# File 'lib/watir-webdriver/elements/generated.rb', line 1806

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

#mark(*args) ⇒ HTMLElement

Returns:



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

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

#marks(*args) ⇒ HTMLElementCollection



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

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

Returns:



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

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

Returns:



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

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

#meta(*args) ⇒ Meta

Returns:



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

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

#metas(*args) ⇒ MetaCollection

Returns:



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

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

#meter(*args) ⇒ Meter

Returns:



1866
1867
1868
# File 'lib/watir-webdriver/elements/generated.rb', line 1866

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

#meters(*args) ⇒ MeterCollection

Returns:



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

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

Returns:



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

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


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

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

#noscript(*args) ⇒ HTMLElement

Returns:



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

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

#noscripts(*args) ⇒ HTMLElementCollection



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

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

#object(*args) ⇒ Object

Returns:



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

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

#objects(*args) ⇒ ObjectCollection

Returns:



1925
1926
1927
# File 'lib/watir-webdriver/elements/generated.rb', line 1925

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

#ol(*args) ⇒ OList

Returns:



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

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

#ols(*args) ⇒ OListCollection

Returns:



1942
1943
1944
# File 'lib/watir-webdriver/elements/generated.rb', line 1942

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

#optgroup(*args) ⇒ OptGroup

Returns:



1951
1952
1953
# File 'lib/watir-webdriver/elements/generated.rb', line 1951

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

#optgroups(*args) ⇒ OptGroupCollection

Returns:



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

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

#option(*args) ⇒ Option

Returns:



1968
1969
1970
# File 'lib/watir-webdriver/elements/generated.rb', line 1968

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

#options(*args) ⇒ OptionCollection

Returns:



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

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

#output(*args) ⇒ Output

Returns:



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

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

#outputs(*args) ⇒ OutputCollection

Returns:



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

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

#p(*args) ⇒ Paragraph

Returns:



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

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

#param(*args) ⇒ Param

Returns:



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

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

#params(*args) ⇒ ParamCollection

Returns:



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

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

#pre(*args) ⇒ Pre

Returns:



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

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

#pres(*args) ⇒ PreCollection

Returns:



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

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

#progress(*args) ⇒ Progress

Returns:



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

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

#progresses(*args) ⇒ ProgressCollection

Returns:



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

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

#ps(*args) ⇒ ParagraphCollection

Returns:



2010
2011
2012
# File 'lib/watir-webdriver/elements/generated.rb', line 2010

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

#q(*args) ⇒ Quote

Returns:



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

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

#qs(*args) ⇒ QuoteCollection

Returns:



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

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

#radio(*args) ⇒ Object



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

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

#radios(*args) ⇒ Object



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

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

#rp(*args) ⇒ HTMLElement

Returns:



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

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

#rps(*args) ⇒ HTMLElementCollection



2095
2096
2097
# File 'lib/watir-webdriver/elements/generated.rb', line 2095

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

#rt(*args) ⇒ HTMLElement

Returns:



2104
2105
2106
# File 'lib/watir-webdriver/elements/generated.rb', line 2104

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

#rts(*args) ⇒ HTMLElementCollection



2112
2113
2114
# File 'lib/watir-webdriver/elements/generated.rb', line 2112

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

#rubies(*args) ⇒ HTMLElementCollection



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

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

#ruby(*args) ⇒ HTMLElement

Returns:



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

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

#s(*args) ⇒ HTMLElement

Returns:



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

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

#samp(*args) ⇒ HTMLElement

Returns:



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

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

#samps(*args) ⇒ HTMLElementCollection



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

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

#script(*args) ⇒ Script

Returns:



2172
2173
2174
# File 'lib/watir-webdriver/elements/generated.rb', line 2172

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

#scripts(*args) ⇒ ScriptCollection

Returns:



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

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

#section(*args) ⇒ HTMLElement

Returns:



2189
2190
2191
# File 'lib/watir-webdriver/elements/generated.rb', line 2189

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

#sections(*args) ⇒ HTMLElementCollection



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

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

#select(*args) ⇒ Select

Returns:



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

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

#select_listObject



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

alias_method :select_list,  :select

#select_listsObject



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

alias_method :select_lists, :selects

#selects(*args) ⇒ SelectCollection

Returns:



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

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

#small(*args) ⇒ HTMLElement

Returns:



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

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

#smalls(*args) ⇒ HTMLElementCollection



2231
2232
2233
# File 'lib/watir-webdriver/elements/generated.rb', line 2231

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

#source(*args) ⇒ Source

Returns:



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

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

#sources(*args) ⇒ SourceCollection

Returns:



2248
2249
2250
# File 'lib/watir-webdriver/elements/generated.rb', line 2248

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

#span(*args) ⇒ Span

Returns:



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

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

#spans(*args) ⇒ SpanCollection

Returns:



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

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

#ss(*args) ⇒ HTMLElementCollection



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

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

#strong(*args) ⇒ HTMLElement

Returns:



2274
2275
2276
# File 'lib/watir-webdriver/elements/generated.rb', line 2274

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

#strongs(*args) ⇒ HTMLElementCollection



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

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

#style(*args) ⇒ Style

Returns:



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

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

#styles(*args) ⇒ StyleCollection

Returns:



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

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

#sub(*args) ⇒ HTMLElement

Returns:



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

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

#subs(*args) ⇒ HTMLElementCollection



2316
2317
2318
# File 'lib/watir-webdriver/elements/generated.rb', line 2316

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

#summaries(*args) ⇒ HTMLElementCollection



2333
2334
2335
# File 'lib/watir-webdriver/elements/generated.rb', line 2333

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

#summary(*args) ⇒ HTMLElement

Returns:



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

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

#sup(*args) ⇒ HTMLElement

Returns:



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

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

#sups(*args) ⇒ HTMLElementCollection



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

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

#table(*args) ⇒ Table

Returns:



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

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

#tables(*args) ⇒ TableCollection

Returns:



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

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

#tbody(*args) ⇒ TableSection

Returns:



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

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

#tbodys(*args) ⇒ TableSectionCollection



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

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

#td(*args) ⇒ TableDataCell

Returns:



2393
2394
2395
# File 'lib/watir-webdriver/elements/generated.rb', line 2393

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

#tds(*args) ⇒ TableDataCellCollection



2401
2402
2403
# File 'lib/watir-webdriver/elements/generated.rb', line 2401

def tds(*args)
  TableDataCellCollection.new(self, extract_selector(args).merge(:tag_name => "td"))
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:



2410
2411
2412
# File 'lib/watir-webdriver/elements/generated.rb', line 2410

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

#textareas(*args) ⇒ TextAreaCollection

Returns:



2418
2419
2420
# File 'lib/watir-webdriver/elements/generated.rb', line 2418

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

#tfoot(*args) ⇒ TableSection

Returns:



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

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

#tfoots(*args) ⇒ TableSectionCollection



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

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

#th(*args) ⇒ TableHeaderCell

Returns:



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

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

#thead(*args) ⇒ TableSection

Returns:



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

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

#theads(*args) ⇒ TableSectionCollection



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

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

#ths(*args) ⇒ TableHeaderCellCollection



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

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

#time(*args) ⇒ Time

Returns:



2478
2479
2480
# File 'lib/watir-webdriver/elements/generated.rb', line 2478

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

#times(*args) ⇒ TimeCollection

Returns:



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

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

#title(*args) ⇒ Title

Returns:



2495
2496
2497
# File 'lib/watir-webdriver/elements/generated.rb', line 2495

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

#titles(*args) ⇒ TitleCollection

Returns:



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

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

#tr(*args) ⇒ TableRow

Returns:



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

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

#track(*args) ⇒ Track

Returns:



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

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

#tracks(*args) ⇒ TrackCollection

Returns:



2537
2538
2539
# File 'lib/watir-webdriver/elements/generated.rb', line 2537

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

#trs(*args) ⇒ TableRowCollection

Returns:



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

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

#u(*args) ⇒ HTMLElement

Returns:



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

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

#ul(*args) ⇒ UList

Returns:



2563
2564
2565
# File 'lib/watir-webdriver/elements/generated.rb', line 2563

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

#uls(*args) ⇒ UListCollection

Returns:



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

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

#us(*args) ⇒ HTMLElementCollection



2554
2555
2556
# File 'lib/watir-webdriver/elements/generated.rb', line 2554

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

#var(*args) ⇒ HTMLElement

Returns:



2580
2581
2582
# File 'lib/watir-webdriver/elements/generated.rb', line 2580

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

#vars(*args) ⇒ HTMLElementCollection



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

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

#video(*args) ⇒ Video

Returns:



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

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

#videos(*args) ⇒ VideoCollection

Returns:



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

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

#wbr(*args) ⇒ HTMLElement

Returns:



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

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

#wbrs(*args) ⇒ HTMLElementCollection



2622
2623
2624
# File 'lib/watir-webdriver/elements/generated.rb', line 2622

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