Module: Watir::Container
- Includes:
- XpathSupport
- Included in:
- Browser, Element
- Defined in:
- lib/watir-webdriver/elements/frame.rb,
lib/watir-webdriver.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
Instance Method Summary
collapse
#element_by_xpath, #elements_by_xpath
Instance Method Details
761
762
763
|
# File 'lib/watir-webdriver/elements/generated.rb', line 761
def a(*args)
Anchor.new(self, (args).merge(:tag_name => "a"))
end
|
778
779
780
|
# File 'lib/watir-webdriver/elements/generated.rb', line 778
def abbr(*args)
HTMLElement.new(self, (args).merge(:tag_name => "abbr"))
end
|
786
787
788
|
# File 'lib/watir-webdriver/elements/generated.rb', line 786
def abbrs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "abbr"))
end
|
795
796
797
|
# File 'lib/watir-webdriver/elements/generated.rb', line 795
def address(*args)
HTMLElement.new(self, (args).merge(:tag_name => "address"))
end
|
803
804
805
|
# File 'lib/watir-webdriver/elements/generated.rb', line 803
def addresses(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "address"))
end
|
#area(*args) ⇒ Area
812
813
814
|
# File 'lib/watir-webdriver/elements/generated.rb', line 812
def area(*args)
Area.new(self, (args).merge(:tag_name => "area"))
end
|
820
821
822
|
# File 'lib/watir-webdriver/elements/generated.rb', line 820
def areas(*args)
AreaCollection.new(self, (args).merge(:tag_name => "area"))
end
|
829
830
831
|
# File 'lib/watir-webdriver/elements/generated.rb', line 829
def article(*args)
HTMLElement.new(self, (args).merge(:tag_name => "article"))
end
|
837
838
839
|
# File 'lib/watir-webdriver/elements/generated.rb', line 837
def articles(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "article"))
end
|
769
770
771
|
# File 'lib/watir-webdriver/elements/generated.rb', line 769
def as(*args)
AnchorCollection.new(self, (args).merge(:tag_name => "a"))
end
|
846
847
848
|
# File 'lib/watir-webdriver/elements/generated.rb', line 846
def aside(*args)
HTMLElement.new(self, (args).merge(:tag_name => "aside"))
end
|
854
855
856
|
# File 'lib/watir-webdriver/elements/generated.rb', line 854
def asides(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "aside"))
end
|
#audio(*args) ⇒ Audio
863
864
865
|
# File 'lib/watir-webdriver/elements/generated.rb', line 863
def audio(*args)
Audio.new(self, (args).merge(:tag_name => "audio"))
end
|
871
872
873
|
# File 'lib/watir-webdriver/elements/generated.rb', line 871
def audios(*args)
AudioCollection.new(self, (args).merge(:tag_name => "audio"))
end
|
880
881
882
|
# File 'lib/watir-webdriver/elements/generated.rb', line 880
def b(*args)
HTMLElement.new(self, (args).merge(:tag_name => "b"))
end
|
#base(*args) ⇒ Base
897
898
899
|
# File 'lib/watir-webdriver/elements/generated.rb', line 897
def base(*args)
Base.new(self, (args).merge(:tag_name => "base"))
end
|
905
906
907
|
# File 'lib/watir-webdriver/elements/generated.rb', line 905
def bases(*args)
BaseCollection.new(self, (args).merge(:tag_name => "base"))
end
|
914
915
916
|
# File 'lib/watir-webdriver/elements/generated.rb', line 914
def bdi(*args)
HTMLElement.new(self, (args).merge(:tag_name => "bdi"))
end
|
922
923
924
|
# File 'lib/watir-webdriver/elements/generated.rb', line 922
def bdis(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "bdi"))
end
|
931
932
933
|
# File 'lib/watir-webdriver/elements/generated.rb', line 931
def bdo(*args)
HTMLElement.new(self, (args).merge(:tag_name => "bdo"))
end
|
939
940
941
|
# File 'lib/watir-webdriver/elements/generated.rb', line 939
def bdos(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "bdo"))
end
|
#blockquote(*args) ⇒ Quote
948
949
950
|
# File 'lib/watir-webdriver/elements/generated.rb', line 948
def blockquote(*args)
Quote.new(self, (args).merge(:tag_name => "blockquote"))
end
|
956
957
958
|
# File 'lib/watir-webdriver/elements/generated.rb', line 956
def blockquotes(*args)
QuoteCollection.new(self, (args).merge(:tag_name => "blockquote"))
end
|
#body(*args) ⇒ Body
965
966
967
|
# File 'lib/watir-webdriver/elements/generated.rb', line 965
def body(*args)
Body.new(self, (args).merge(:tag_name => "body"))
end
|
973
974
975
|
# File 'lib/watir-webdriver/elements/generated.rb', line 973
def bodys(*args)
BodyCollection.new(self, (args).merge(:tag_name => "body"))
end
|
#br(*args) ⇒ BR
982
983
984
|
# File 'lib/watir-webdriver/elements/generated.rb', line 982
def br(*args)
BR.new(self, (args).merge(:tag_name => "br"))
end
|
990
991
992
|
# File 'lib/watir-webdriver/elements/generated.rb', line 990
def brs(*args)
BRCollection.new(self, (args).merge(:tag_name => "br"))
end
|
888
889
890
|
# File 'lib/watir-webdriver/elements/generated.rb', line 888
def bs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "b"))
end
|
999
1000
1001
|
# File 'lib/watir-webdriver/elements/generated.rb', line 999
def button(*args)
Button.new(self, (args).merge(:tag_name => "button"))
end
|
1007
1008
1009
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1007
def buttons(*args)
ButtonCollection.new(self, (args).merge(:tag_name => "button"))
end
|
#canvas(*args) ⇒ Canvas
1016
1017
1018
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1016
def canvas(*args)
Canvas.new(self, (args).merge(:tag_name => "canvas"))
end
|
1024
1025
1026
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1024
def canvases(*args)
CanvasCollection.new(self, (args).merge(:tag_name => "canvas"))
end
|
1033
1034
1035
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1033
def caption(*args)
TableCaption.new(self, (args).merge(:tag_name => "caption"))
end
|
1041
1042
1043
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1041
def captions(*args)
TableCaptionCollection.new(self, (args).merge(:tag_name => "caption"))
end
|
#checkbox(*args) ⇒ Object
59
60
61
|
# File 'lib/watir-webdriver/elements/checkbox.rb', line 59
def checkbox(*args)
CheckBox.new(self, (args).merge(:tag_name => "input", :type => "checkbox"))
end
|
#checkboxes(*args) ⇒ Object
63
64
65
|
# File 'lib/watir-webdriver/elements/checkbox.rb', line 63
def checkboxes(*args)
CheckBoxCollection.new(self, (args).merge(:tag_name => "input", :type => "checkbox"))
end
|
1050
1051
1052
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1050
def cite(*args)
HTMLElement.new(self, (args).merge(:tag_name => "cite"))
end
|
1058
1059
1060
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1058
def cites(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "cite"))
end
|
1067
1068
1069
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1067
def code(*args)
HTMLElement.new(self, (args).merge(:tag_name => "code"))
end
|
1075
1076
1077
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1075
def codes(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "code"))
end
|
1084
1085
1086
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1084
def col(*args)
TableCol.new(self, (args).merge(:tag_name => "col"))
end
|
#colgroup(*args) ⇒ TableCol
1101
1102
1103
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1101
def colgroup(*args)
TableCol.new(self, (args).merge(:tag_name => "colgroup"))
end
|
1109
1110
1111
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1109
def colgroups(*args)
TableColCollection.new(self, (args).merge(:tag_name => "colgroup"))
end
|
1092
1093
1094
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1092
def cols(*args)
TableColCollection.new(self, (args).merge(:tag_name => "col"))
end
|
#command(*args) ⇒ Command
1118
1119
1120
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1118
def command(*args)
Command.new(self, (args).merge(:tag_name => "command"))
end
|
1126
1127
1128
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1126
def commands(*args)
CommandCollection.new(self, (args).merge(:tag_name => "command"))
end
|
#datalist(*args) ⇒ DataList
1135
1136
1137
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1135
def datalist(*args)
DataList.new(self, (args).merge(:tag_name => "datalist"))
end
|
1143
1144
1145
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1143
def datalists(*args)
DataListCollection.new(self, (args).merge(:tag_name => "datalist"))
end
|
1152
1153
1154
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1152
def dd(*args)
HTMLElement.new(self, (args).merge(:tag_name => "dd"))
end
|
1160
1161
1162
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1160
def dds(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "dd"))
end
|
#del(*args) ⇒ Mod
1169
1170
1171
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1169
def del(*args)
Mod.new(self, (args).merge(:tag_name => "del"))
end
|
1177
1178
1179
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1177
def dels(*args)
ModCollection.new(self, (args).merge(:tag_name => "del"))
end
|
1186
1187
1188
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1186
def details(*args)
Details.new(self, (args).merge(:tag_name => "details"))
end
|
1203
1204
1205
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1203
def dfn(*args)
HTMLElement.new(self, (args).merge(:tag_name => "dfn"))
end
|
1211
1212
1213
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1211
def dfns(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "dfn"))
end
|
#div(*args) ⇒ Div
1220
1221
1222
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1220
def div(*args)
Div.new(self, (args).merge(:tag_name => "div"))
end
|
1228
1229
1230
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1228
def divs(*args)
DivCollection.new(self, (args).merge(:tag_name => "div"))
end
|
#dl(*args) ⇒ DList
1237
1238
1239
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1237
def dl(*args)
DList.new(self, (args).merge(:tag_name => "dl"))
end
|
1245
1246
1247
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1245
def dls(*args)
DListCollection.new(self, (args).merge(:tag_name => "dl"))
end
|
1254
1255
1256
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1254
def dt(*args)
HTMLElement.new(self, (args).merge(:tag_name => "dt"))
end
|
1262
1263
1264
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1262
def dts(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "dt"))
end
|
#element(*args) ⇒ Object
6
7
8
|
# File 'lib/watir-webdriver/container.rb', line 6
def element(*args)
HTMLElement.new(self, (args))
end
|
1271
1272
1273
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1271
def em(*args)
HTMLElement.new(self, (args).merge(:tag_name => "em"))
end
|
#embed(*args) ⇒ Embed
1288
1289
1290
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1288
def embed(*args)
Embed.new(self, (args).merge(:tag_name => "embed"))
end
|
1296
1297
1298
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1296
def embeds(*args)
EmbedCollection.new(self, (args).merge(:tag_name => "embed"))
end
|
1279
1280
1281
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1279
def ems(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "em"))
end
|
#fieldset(*args) ⇒ FieldSet
1305
1306
1307
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1305
def fieldset(*args)
FieldSet.new(self, (args).merge(:tag_name => "fieldset"))
end
|
1313
1314
1315
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1313
def fieldsets(*args)
FieldSetCollection.new(self, (args).merge(:tag_name => "fieldset"))
end
|
1322
1323
1324
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1322
def figcaption(*args)
HTMLElement.new(self, (args).merge(:tag_name => "figcaption"))
end
|
1330
1331
1332
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1330
def figcaptions(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "figcaption"))
end
|
1339
1340
1341
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1339
def figure(*args)
HTMLElement.new(self, (args).merge(:tag_name => "figure"))
end
|
1347
1348
1349
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1347
def figures(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "figure"))
end
|
#file_field(*args) ⇒ Object
55
56
57
|
# File 'lib/watir-webdriver/elements/file_field.rb', line 55
def file_field(*args)
FileField.new(self, (args).merge(:tag_name => "input", :type => "file"))
end
|
#file_fields(*args) ⇒ Object
59
60
61
|
# File 'lib/watir-webdriver/elements/file_field.rb', line 59
def file_fields(*args)
FileFieldCollection.new(self, (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, (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, (args).merge(:tag_name => "font"))
end
|
1356
1357
1358
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1356
def (*args)
HTMLElement.new(self, (args).merge(:tag_name => "footer"))
end
|
1364
1365
1366
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1364
def (*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "footer"))
end
|
1373
1374
1375
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1373
def form(*args)
Form.new(self, (args).merge(:tag_name => "form"))
end
|
1381
1382
1383
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1381
def forms(*args)
FormCollection.new(self, (args).merge(:tag_name => "form"))
end
|
#frame(*args) ⇒ Object
102
103
104
|
# File 'lib/watir-webdriver/elements/frame.rb', line 102
def frame(*args)
Frame.new(self, (args))
end
|
#frames(*args) ⇒ Object
106
107
108
|
# File 'lib/watir-webdriver/elements/frame.rb', line 106
def frames(*args)
FrameCollection.new(self, (args))
end
|
1390
1391
1392
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1390
def h1(*args)
Heading.new(self, (args).merge(:tag_name => "h1"))
end
|
1398
1399
1400
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1398
def h1s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h1"))
end
|
1407
1408
1409
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1407
def h2(*args)
Heading.new(self, (args).merge(:tag_name => "h2"))
end
|
1415
1416
1417
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1415
def h2s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h2"))
end
|
1424
1425
1426
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1424
def h3(*args)
Heading.new(self, (args).merge(:tag_name => "h3"))
end
|
1432
1433
1434
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1432
def h3s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h3"))
end
|
1441
1442
1443
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1441
def h4(*args)
Heading.new(self, (args).merge(:tag_name => "h4"))
end
|
1449
1450
1451
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1449
def h4s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h4"))
end
|
1458
1459
1460
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1458
def h5(*args)
Heading.new(self, (args).merge(:tag_name => "h5"))
end
|
1466
1467
1468
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1466
def h5s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h5"))
end
|
1475
1476
1477
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1475
def h6(*args)
Heading.new(self, (args).merge(:tag_name => "h6"))
end
|
1483
1484
1485
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1483
def h6s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h6"))
end
|
#head(*args) ⇒ Head
1492
1493
1494
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1492
def head(*args)
Head.new(self, (args).merge(:tag_name => "head"))
end
|
1509
1510
1511
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1509
def (*args)
HTMLElement.new(self, (args).merge(:tag_name => "header"))
end
|
1517
1518
1519
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1517
def (*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "header"))
end
|
1500
1501
1502
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1500
def heads(*args)
HeadCollection.new(self, (args).merge(:tag_name => "head"))
end
|
1526
1527
1528
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1526
def hgroup(*args)
HTMLElement.new(self, (args).merge(:tag_name => "hgroup"))
end
|
1534
1535
1536
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1534
def hgroups(*args)
HTMLElementCollection.new(self, (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, (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, (args).merge(:tag_name => "input", :type => "hidden"))
end
|
#hr(*args) ⇒ HR
1543
1544
1545
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1543
def hr(*args)
HR.new(self, (args).merge(:tag_name => "hr"))
end
|
1551
1552
1553
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1551
def hrs(*args)
HRCollection.new(self, (args).merge(:tag_name => "hr"))
end
|
#html(*args) ⇒ Html
1560
1561
1562
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1560
def html(*args)
Html.new(self, (args).merge(:tag_name => "html"))
end
|
1568
1569
1570
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1568
def htmls(*args)
HtmlCollection.new(self, (args).merge(:tag_name => "html"))
end
|
1577
1578
1579
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1577
def i(*args)
HTMLElement.new(self, (args).merge(:tag_name => "i"))
end
|
#iframe(*args) ⇒ IFrame
1594
1595
1596
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1594
def iframe(*args)
IFrame.new(self, (args).merge(:tag_name => "iframe"))
end
|
1602
1603
1604
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1602
def iframes(*args)
IFrameCollection.new(self, (args).merge(:tag_name => "iframe"))
end
|
47
|
# File 'lib/watir-webdriver/elements/image.rb', line 47
alias_method :image, :img
|
48
|
# File 'lib/watir-webdriver/elements/image.rb', line 48
alias_method :images, :imgs
|
#img(*args) ⇒ Image
1611
1612
1613
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1611
def img(*args)
Image.new(self, (args).merge(:tag_name => "img"))
end
|
1619
1620
1621
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1619
def imgs(*args)
ImageCollection.new(self, (args).merge(:tag_name => "img"))
end
|
1628
1629
1630
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1628
def input(*args)
Input.new(self, (args).merge(:tag_name => "input"))
end
|
1636
1637
1638
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1636
def inputs(*args)
InputCollection.new(self, (args).merge(:tag_name => "input"))
end
|
#ins(*args) ⇒ Mod
1645
1646
1647
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1645
def ins(*args)
Mod.new(self, (args).merge(:tag_name => "ins"))
end
|
1653
1654
1655
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1653
def inses(*args)
ModCollection.new(self, (args).merge(:tag_name => "ins"))
end
|
1585
1586
1587
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1585
def is(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "i"))
end
|
1662
1663
1664
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1662
def kbd(*args)
HTMLElement.new(self, (args).merge(:tag_name => "kbd"))
end
|
1670
1671
1672
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1670
def kbds(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "kbd"))
end
|
#keygen(*args) ⇒ Keygen
1679
1680
1681
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1679
def keygen(*args)
Keygen.new(self, (args).merge(:tag_name => "keygen"))
end
|
1687
1688
1689
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1687
def keygens(*args)
KeygenCollection.new(self, (args).merge(:tag_name => "keygen"))
end
|
#label(*args) ⇒ Label
1696
1697
1698
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1696
def label(*args)
Label.new(self, (args).merge(:tag_name => "label"))
end
|
1704
1705
1706
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1704
def labels(*args)
LabelCollection.new(self, (args).merge(:tag_name => "label"))
end
|
#legend(*args) ⇒ Legend
1713
1714
1715
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1713
def legend(*args)
Legend.new(self, (args).merge(:tag_name => "legend"))
end
|
1721
1722
1723
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1721
def legends(*args)
LegendCollection.new(self, (args).merge(:tag_name => "legend"))
end
|
#li(*args) ⇒ LI
1730
1731
1732
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1730
def li(*args)
LI.new(self, (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
|
1738
1739
1740
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1738
def lis(*args)
LICollection.new(self, (args).merge(:tag_name => "li"))
end
|
#map(*args) ⇒ Map
1747
1748
1749
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1747
def map(*args)
Map.new(self, (args).merge(:tag_name => "map"))
end
|
1755
1756
1757
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1755
def maps(*args)
MapCollection.new(self, (args).merge(:tag_name => "map"))
end
|
1764
1765
1766
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1764
def mark(*args)
HTMLElement.new(self, (args).merge(:tag_name => "mark"))
end
|
1772
1773
1774
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1772
def marks(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "mark"))
end
|
1781
1782
1783
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1781
def (*args)
Menu.new(self, (args).merge(:tag_name => "menu"))
end
|
1789
1790
1791
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1789
def (*args)
MenuCollection.new(self, (args).merge(:tag_name => "menu"))
end
|
1798
1799
1800
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1798
def meta(*args)
Meta.new(self, (args).merge(:tag_name => "meta"))
end
|
1806
1807
1808
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1806
def metas(*args)
MetaCollection.new(self, (args).merge(:tag_name => "meta"))
end
|
#meter(*args) ⇒ Meter
1815
1816
1817
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1815
def meter(*args)
Meter.new(self, (args).merge(:tag_name => "meter"))
end
|
1823
1824
1825
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1823
def meters(*args)
MeterCollection.new(self, (args).merge(:tag_name => "meter"))
end
|
1832
1833
1834
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1832
def nav(*args)
HTMLElement.new(self, (args).merge(:tag_name => "nav"))
end
|
1840
1841
1842
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1840
def navs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "nav"))
end
|
1849
1850
1851
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1849
def noscript(*args)
HTMLElement.new(self, (args).merge(:tag_name => "noscript"))
end
|
1857
1858
1859
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1857
def noscripts(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "noscript"))
end
|
#object(*args) ⇒ Object
1866
1867
1868
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1866
def object(*args)
Object.new(self, (args).merge(:tag_name => "object"))
end
|
1874
1875
1876
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1874
def objects(*args)
ObjectCollection.new(self, (args).merge(:tag_name => "object"))
end
|
#ol(*args) ⇒ OList
1883
1884
1885
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1883
def ol(*args)
OList.new(self, (args).merge(:tag_name => "ol"))
end
|
1891
1892
1893
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1891
def ols(*args)
OListCollection.new(self, (args).merge(:tag_name => "ol"))
end
|
#optgroup(*args) ⇒ OptGroup
1900
1901
1902
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1900
def optgroup(*args)
OptGroup.new(self, (args).merge(:tag_name => "optgroup"))
end
|
1908
1909
1910
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1908
def optgroups(*args)
OptGroupCollection.new(self, (args).merge(:tag_name => "optgroup"))
end
|
#option(*args) ⇒ Option
1917
1918
1919
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1917
def option(*args)
Option.new(self, (args).merge(:tag_name => "option"))
end
|
1925
1926
1927
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1925
def options(*args)
OptionCollection.new(self, (args).merge(:tag_name => "option"))
end
|
#output(*args) ⇒ Output
1934
1935
1936
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1934
def output(*args)
Output.new(self, (args).merge(:tag_name => "output"))
end
|
1942
1943
1944
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1942
def outputs(*args)
OutputCollection.new(self, (args).merge(:tag_name => "output"))
end
|
1951
1952
1953
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1951
def p(*args)
Paragraph.new(self, (args).merge(:tag_name => "p"))
end
|
#param(*args) ⇒ Param
1968
1969
1970
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1968
def param(*args)
Param.new(self, (args).merge(:tag_name => "param"))
end
|
1976
1977
1978
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1976
def params(*args)
ParamCollection.new(self, (args).merge(:tag_name => "param"))
end
|
#pre(*args) ⇒ Pre
1985
1986
1987
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1985
def pre(*args)
Pre.new(self, (args).merge(:tag_name => "pre"))
end
|
1993
1994
1995
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1993
def pres(*args)
PreCollection.new(self, (args).merge(:tag_name => "pre"))
end
|
#progress(*args) ⇒ Progress
2002
2003
2004
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2002
def progress(*args)
Progress.new(self, (args).merge(:tag_name => "progress"))
end
|
2010
2011
2012
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2010
def progresses(*args)
ProgressCollection.new(self, (args).merge(:tag_name => "progress"))
end
|
1959
1960
1961
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1959
def ps(*args)
ParagraphCollection.new(self, (args).merge(:tag_name => "p"))
end
|
#q(*args) ⇒ Quote
2019
2020
2021
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2019
def q(*args)
Quote.new(self, (args).merge(:tag_name => "q"))
end
|
2027
2028
2029
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2027
def qs(*args)
QuoteCollection.new(self, (args).merge(:tag_name => "q"))
end
|
#radio(*args) ⇒ Object
33
34
35
|
# File 'lib/watir-webdriver/elements/radio.rb', line 33
def radio(*args)
Radio.new(self, (args).merge(:tag_name => "input", :type => "radio"))
end
|
#radios(*args) ⇒ Object
37
38
39
|
# File 'lib/watir-webdriver/elements/radio.rb', line 37
def radios(*args)
RadioCollection.new(self, (args).merge(:tag_name => "input", :type => "radio" ))
end
|
2036
2037
2038
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2036
def rp(*args)
HTMLElement.new(self, (args).merge(:tag_name => "rp"))
end
|
2044
2045
2046
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2044
def rps(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "rp"))
end
|
2053
2054
2055
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2053
def rt(*args)
HTMLElement.new(self, (args).merge(:tag_name => "rt"))
end
|
2061
2062
2063
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2061
def rts(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "rt"))
end
|
2078
2079
2080
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2078
def rubies(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "ruby"))
end
|
2070
2071
2072
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2070
def ruby(*args)
HTMLElement.new(self, (args).merge(:tag_name => "ruby"))
end
|
2087
2088
2089
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2087
def s(*args)
HTMLElement.new(self, (args).merge(:tag_name => "s"))
end
|
2104
2105
2106
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2104
def samp(*args)
HTMLElement.new(self, (args).merge(:tag_name => "samp"))
end
|
2112
2113
2114
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2112
def samps(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "samp"))
end
|
#script(*args) ⇒ Script
2121
2122
2123
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2121
def script(*args)
Script.new(self, (args).merge(:tag_name => "script"))
end
|
2129
2130
2131
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2129
def scripts(*args)
ScriptCollection.new(self, (args).merge(:tag_name => "script"))
end
|
2138
2139
2140
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2138
def section(*args)
HTMLElement.new(self, (args).merge(:tag_name => "section"))
end
|
2146
2147
2148
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2146
def sections(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "section"))
end
|
#select(*args) ⇒ Select
2155
2156
2157
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2155
def select(*args)
Select.new(self, (args).merge(:tag_name => "select"))
end
|
#select_list ⇒ Object
219
|
# File 'lib/watir-webdriver/elements/select.rb', line 219
alias_method :select_list, :select
|
#select_lists ⇒ Object
220
|
# File 'lib/watir-webdriver/elements/select.rb', line 220
alias_method :select_lists, :selects
|
2163
2164
2165
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2163
def selects(*args)
SelectCollection.new(self, (args).merge(:tag_name => "select"))
end
|
2172
2173
2174
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2172
def small(*args)
HTMLElement.new(self, (args).merge(:tag_name => "small"))
end
|
2180
2181
2182
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2180
def smalls(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "small"))
end
|
#source(*args) ⇒ Source
2189
2190
2191
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2189
def source(*args)
Source.new(self, (args).merge(:tag_name => "source"))
end
|
2197
2198
2199
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2197
def sources(*args)
SourceCollection.new(self, (args).merge(:tag_name => "source"))
end
|
#span(*args) ⇒ Span
2206
2207
2208
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2206
def span(*args)
Span.new(self, (args).merge(:tag_name => "span"))
end
|
2214
2215
2216
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2214
def spans(*args)
SpanCollection.new(self, (args).merge(:tag_name => "span"))
end
|
2095
2096
2097
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2095
def ss(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "s"))
end
|
2223
2224
2225
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2223
def strong(*args)
HTMLElement.new(self, (args).merge(:tag_name => "strong"))
end
|
2231
2232
2233
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2231
def strongs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "strong"))
end
|
#style(*args) ⇒ Style
2240
2241
2242
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2240
def style(*args)
Style.new(self, (args).merge(:tag_name => "style"))
end
|
2248
2249
2250
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2248
def styles(*args)
StyleCollection.new(self, (args).merge(:tag_name => "style"))
end
|
2257
2258
2259
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2257
def sub(*args)
HTMLElement.new(self, (args).merge(:tag_name => "sub"))
end
|
2265
2266
2267
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2265
def subs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "sub"))
end
|
2282
2283
2284
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2282
def summaries(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "summary"))
end
|
2274
2275
2276
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2274
def summary(*args)
HTMLElement.new(self, (args).merge(:tag_name => "summary"))
end
|
2291
2292
2293
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2291
def sup(*args)
HTMLElement.new(self, (args).merge(:tag_name => "sup"))
end
|
2299
2300
2301
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2299
def sups(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "sup"))
end
|
#table(*args) ⇒ Table
2308
2309
2310
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2308
def table(*args)
Table.new(self, (args).merge(:tag_name => "table"))
end
|
2316
2317
2318
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2316
def tables(*args)
TableCollection.new(self, (args).merge(:tag_name => "table"))
end
|
2325
2326
2327
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2325
def tbody(*args)
TableSection.new(self, (args).merge(:tag_name => "tbody"))
end
|
2333
2334
2335
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2333
def tbodys(*args)
TableSectionCollection.new(self, (args).merge(:tag_name => "tbody"))
end
|
2342
2343
2344
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2342
def td(*args)
TableDataCell.new(self, (args).merge(:tag_name => "td"))
end
|
2350
2351
2352
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2350
def tds(*args)
TableDataCellCollection.new(self, (args).merge(:tag_name => "td"))
end
|
#text_field(*args) ⇒ Object
77
78
79
|
# File 'lib/watir-webdriver/elements/text_field.rb', line 77
def text_field(*args)
TextField.new(self, (args).merge(:tag_name => "input"))
end
|
#text_fields(*args) ⇒ Object
81
82
83
|
# File 'lib/watir-webdriver/elements/text_field.rb', line 81
def text_fields(*args)
TextFieldCollection.new(self, (args).merge(:tag_name => "input"))
end
|
#textarea(*args) ⇒ TextArea
2359
2360
2361
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2359
def textarea(*args)
TextArea.new(self, (args).merge(:tag_name => "textarea"))
end
|
2367
2368
2369
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2367
def textareas(*args)
TextAreaCollection.new(self, (args).merge(:tag_name => "textarea"))
end
|
2376
2377
2378
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2376
def (*args)
TableSection.new(self, (args).merge(:tag_name => "tfoot"))
end
|
2384
2385
2386
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2384
def (*args)
TableSectionCollection.new(self, (args).merge(:tag_name => "tfoot"))
end
|
2393
2394
2395
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2393
def th(*args)
TableHeaderCell.new(self, (args).merge(:tag_name => "th"))
end
|
2410
2411
2412
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2410
def thead(*args)
TableSection.new(self, (args).merge(:tag_name => "thead"))
end
|
2418
2419
2420
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2418
def theads(*args)
TableSectionCollection.new(self, (args).merge(:tag_name => "thead"))
end
|
2401
2402
2403
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2401
def ths(*args)
TableHeaderCellCollection.new(self, (args).merge(:tag_name => "th"))
end
|
#time(*args) ⇒ Time
2427
2428
2429
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2427
def time(*args)
Time.new(self, (args).merge(:tag_name => "time"))
end
|
2435
2436
2437
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2435
def times(*args)
TimeCollection.new(self, (args).merge(:tag_name => "time"))
end
|
#title(*args) ⇒ Title
2444
2445
2446
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2444
def title(*args)
Title.new(self, (args).merge(:tag_name => "title"))
end
|
2452
2453
2454
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2452
def titles(*args)
TitleCollection.new(self, (args).merge(:tag_name => "title"))
end
|
2461
2462
2463
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2461
def tr(*args)
TableRow.new(self, (args).merge(:tag_name => "tr"))
end
|
#track(*args) ⇒ Track
2478
2479
2480
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2478
def track(*args)
Track.new(self, (args).merge(:tag_name => "track"))
end
|
2486
2487
2488
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2486
def tracks(*args)
TrackCollection.new(self, (args).merge(:tag_name => "track"))
end
|
2469
2470
2471
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2469
def trs(*args)
TableRowCollection.new(self, (args).merge(:tag_name => "tr"))
end
|
#ul(*args) ⇒ UList
2495
2496
2497
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2495
def ul(*args)
UList.new(self, (args).merge(:tag_name => "ul"))
end
|
2503
2504
2505
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2503
def uls(*args)
UListCollection.new(self, (args).merge(:tag_name => "ul"))
end
|
2512
2513
2514
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2512
def var(*args)
HTMLElement.new(self, (args).merge(:tag_name => "var"))
end
|
2520
2521
2522
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2520
def vars(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "var"))
end
|
#video(*args) ⇒ Video
2529
2530
2531
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2529
def video(*args)
Video.new(self, (args).merge(:tag_name => "video"))
end
|
2537
2538
2539
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2537
def videos(*args)
VideoCollection.new(self, (args).merge(:tag_name => "video"))
end
|
2546
2547
2548
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2546
def wbr(*args)
HTMLElement.new(self, (args).merge(:tag_name => "wbr"))
end
|
2554
2555
2556
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2554
def wbrs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "wbr"))
end
|