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
759
760
761
|
# File 'lib/watir-webdriver/elements/generated.rb', line 759
def a(*args)
Anchor.new(self, (args).merge(:tag_name => "a"))
end
|
776
777
778
|
# File 'lib/watir-webdriver/elements/generated.rb', line 776
def abbr(*args)
HTMLElement.new(self, (args).merge(:tag_name => "abbr"))
end
|
784
785
786
|
# File 'lib/watir-webdriver/elements/generated.rb', line 784
def abbrs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "abbr"))
end
|
793
794
795
|
# File 'lib/watir-webdriver/elements/generated.rb', line 793
def address(*args)
HTMLElement.new(self, (args).merge(:tag_name => "address"))
end
|
801
802
803
|
# File 'lib/watir-webdriver/elements/generated.rb', line 801
def addresses(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "address"))
end
|
#area(*args) ⇒ Area
810
811
812
|
# File 'lib/watir-webdriver/elements/generated.rb', line 810
def area(*args)
Area.new(self, (args).merge(:tag_name => "area"))
end
|
818
819
820
|
# File 'lib/watir-webdriver/elements/generated.rb', line 818
def areas(*args)
AreaCollection.new(self, (args).merge(:tag_name => "area"))
end
|
827
828
829
|
# File 'lib/watir-webdriver/elements/generated.rb', line 827
def article(*args)
HTMLElement.new(self, (args).merge(:tag_name => "article"))
end
|
835
836
837
|
# File 'lib/watir-webdriver/elements/generated.rb', line 835
def articles(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "article"))
end
|
767
768
769
|
# File 'lib/watir-webdriver/elements/generated.rb', line 767
def as(*args)
AnchorCollection.new(self, (args).merge(:tag_name => "a"))
end
|
844
845
846
|
# File 'lib/watir-webdriver/elements/generated.rb', line 844
def aside(*args)
HTMLElement.new(self, (args).merge(:tag_name => "aside"))
end
|
852
853
854
|
# File 'lib/watir-webdriver/elements/generated.rb', line 852
def asides(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "aside"))
end
|
#audio(*args) ⇒ Audio
861
862
863
|
# File 'lib/watir-webdriver/elements/generated.rb', line 861
def audio(*args)
Audio.new(self, (args).merge(:tag_name => "audio"))
end
|
869
870
871
|
# File 'lib/watir-webdriver/elements/generated.rb', line 869
def audios(*args)
AudioCollection.new(self, (args).merge(:tag_name => "audio"))
end
|
878
879
880
|
# File 'lib/watir-webdriver/elements/generated.rb', line 878
def b(*args)
HTMLElement.new(self, (args).merge(:tag_name => "b"))
end
|
#base(*args) ⇒ Base
895
896
897
|
# File 'lib/watir-webdriver/elements/generated.rb', line 895
def base(*args)
Base.new(self, (args).merge(:tag_name => "base"))
end
|
903
904
905
|
# File 'lib/watir-webdriver/elements/generated.rb', line 903
def bases(*args)
BaseCollection.new(self, (args).merge(:tag_name => "base"))
end
|
912
913
914
|
# File 'lib/watir-webdriver/elements/generated.rb', line 912
def bdo(*args)
HTMLElement.new(self, (args).merge(:tag_name => "bdo"))
end
|
920
921
922
|
# File 'lib/watir-webdriver/elements/generated.rb', line 920
def bdos(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "bdo"))
end
|
#blockquote(*args) ⇒ Quote
929
930
931
|
# File 'lib/watir-webdriver/elements/generated.rb', line 929
def blockquote(*args)
Quote.new(self, (args).merge(:tag_name => "blockquote"))
end
|
937
938
939
|
# File 'lib/watir-webdriver/elements/generated.rb', line 937
def blockquotes(*args)
QuoteCollection.new(self, (args).merge(:tag_name => "blockquote"))
end
|
#body(*args) ⇒ Body
946
947
948
|
# File 'lib/watir-webdriver/elements/generated.rb', line 946
def body(*args)
Body.new(self, (args).merge(:tag_name => "body"))
end
|
954
955
956
|
# File 'lib/watir-webdriver/elements/generated.rb', line 954
def bodys(*args)
BodyCollection.new(self, (args).merge(:tag_name => "body"))
end
|
#br(*args) ⇒ BR
963
964
965
|
# File 'lib/watir-webdriver/elements/generated.rb', line 963
def br(*args)
BR.new(self, (args).merge(:tag_name => "br"))
end
|
971
972
973
|
# File 'lib/watir-webdriver/elements/generated.rb', line 971
def brs(*args)
BRCollection.new(self, (args).merge(:tag_name => "br"))
end
|
886
887
888
|
# File 'lib/watir-webdriver/elements/generated.rb', line 886
def bs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "b"))
end
|
980
981
982
|
# File 'lib/watir-webdriver/elements/generated.rb', line 980
def button(*args)
Button.new(self, (args).merge(:tag_name => "button"))
end
|
988
989
990
|
# File 'lib/watir-webdriver/elements/generated.rb', line 988
def buttons(*args)
ButtonCollection.new(self, (args).merge(:tag_name => "button"))
end
|
#canvas(*args) ⇒ Canvas
997
998
999
|
# File 'lib/watir-webdriver/elements/generated.rb', line 997
def canvas(*args)
Canvas.new(self, (args).merge(:tag_name => "canvas"))
end
|
1005
1006
1007
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1005
def canvases(*args)
CanvasCollection.new(self, (args).merge(:tag_name => "canvas"))
end
|
1014
1015
1016
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1014
def caption(*args)
TableCaption.new(self, (args).merge(:tag_name => "caption"))
end
|
1022
1023
1024
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1022
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
|
1031
1032
1033
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1031
def cite(*args)
HTMLElement.new(self, (args).merge(:tag_name => "cite"))
end
|
1039
1040
1041
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1039
def cites(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "cite"))
end
|
1048
1049
1050
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1048
def code(*args)
HTMLElement.new(self, (args).merge(:tag_name => "code"))
end
|
1056
1057
1058
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1056
def codes(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "code"))
end
|
1065
1066
1067
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1065
def col(*args)
TableCol.new(self, (args).merge(:tag_name => "col"))
end
|
#colgroup(*args) ⇒ TableCol
1082
1083
1084
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1082
def colgroup(*args)
TableCol.new(self, (args).merge(:tag_name => "colgroup"))
end
|
1090
1091
1092
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1090
def colgroups(*args)
TableColCollection.new(self, (args).merge(:tag_name => "colgroup"))
end
|
1073
1074
1075
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1073
def cols(*args)
TableColCollection.new(self, (args).merge(:tag_name => "col"))
end
|
#command(*args) ⇒ Command
1099
1100
1101
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1099
def command(*args)
Command.new(self, (args).merge(:tag_name => "command"))
end
|
1107
1108
1109
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1107
def commands(*args)
CommandCollection.new(self, (args).merge(:tag_name => "command"))
end
|
#datalist(*args) ⇒ DataList
1116
1117
1118
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1116
def datalist(*args)
DataList.new(self, (args).merge(:tag_name => "datalist"))
end
|
1124
1125
1126
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1124
def datalists(*args)
DataListCollection.new(self, (args).merge(:tag_name => "datalist"))
end
|
1133
1134
1135
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1133
def dd(*args)
HTMLElement.new(self, (args).merge(:tag_name => "dd"))
end
|
1141
1142
1143
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1141
def dds(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "dd"))
end
|
#del(*args) ⇒ Mod
1150
1151
1152
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1150
def del(*args)
Mod.new(self, (args).merge(:tag_name => "del"))
end
|
1158
1159
1160
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1158
def dels(*args)
ModCollection.new(self, (args).merge(:tag_name => "del"))
end
|
1167
1168
1169
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1167
def details(*args)
Details.new(self, (args).merge(:tag_name => "details"))
end
|
1184
1185
1186
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1184
def dfn(*args)
HTMLElement.new(self, (args).merge(:tag_name => "dfn"))
end
|
1192
1193
1194
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1192
def dfns(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "dfn"))
end
|
#div(*args) ⇒ Div
1201
1202
1203
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1201
def div(*args)
Div.new(self, (args).merge(:tag_name => "div"))
end
|
1209
1210
1211
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1209
def divs(*args)
DivCollection.new(self, (args).merge(:tag_name => "div"))
end
|
#dl(*args) ⇒ DList
1218
1219
1220
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1218
def dl(*args)
DList.new(self, (args).merge(:tag_name => "dl"))
end
|
1226
1227
1228
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1226
def dls(*args)
DListCollection.new(self, (args).merge(:tag_name => "dl"))
end
|
1235
1236
1237
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1235
def dt(*args)
HTMLElement.new(self, (args).merge(:tag_name => "dt"))
end
|
1243
1244
1245
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1243
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
|
1252
1253
1254
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1252
def em(*args)
HTMLElement.new(self, (args).merge(:tag_name => "em"))
end
|
#embed(*args) ⇒ Embed
1269
1270
1271
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1269
def embed(*args)
Embed.new(self, (args).merge(:tag_name => "embed"))
end
|
1277
1278
1279
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1277
def embeds(*args)
EmbedCollection.new(self, (args).merge(:tag_name => "embed"))
end
|
1260
1261
1262
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1260
def ems(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "em"))
end
|
#fieldset(*args) ⇒ FieldSet
1286
1287
1288
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1286
def fieldset(*args)
FieldSet.new(self, (args).merge(:tag_name => "fieldset"))
end
|
1294
1295
1296
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1294
def fieldsets(*args)
FieldSetCollection.new(self, (args).merge(:tag_name => "fieldset"))
end
|
1303
1304
1305
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1303
def figcaption(*args)
HTMLElement.new(self, (args).merge(:tag_name => "figcaption"))
end
|
1311
1312
1313
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1311
def figcaptions(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "figcaption"))
end
|
1320
1321
1322
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1320
def figure(*args)
HTMLElement.new(self, (args).merge(:tag_name => "figure"))
end
|
1328
1329
1330
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1328
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
|
1337
1338
1339
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1337
def (*args)
HTMLElement.new(self, (args).merge(:tag_name => "footer"))
end
|
1345
1346
1347
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1345
def (*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "footer"))
end
|
1354
1355
1356
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1354
def form(*args)
Form.new(self, (args).merge(:tag_name => "form"))
end
|
1362
1363
1364
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1362
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
|
1371
1372
1373
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1371
def h1(*args)
Heading.new(self, (args).merge(:tag_name => "h1"))
end
|
1379
1380
1381
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1379
def h1s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h1"))
end
|
1388
1389
1390
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1388
def h2(*args)
Heading.new(self, (args).merge(:tag_name => "h2"))
end
|
1396
1397
1398
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1396
def h2s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h2"))
end
|
1405
1406
1407
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1405
def h3(*args)
Heading.new(self, (args).merge(:tag_name => "h3"))
end
|
1413
1414
1415
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1413
def h3s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h3"))
end
|
1422
1423
1424
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1422
def h4(*args)
Heading.new(self, (args).merge(:tag_name => "h4"))
end
|
1430
1431
1432
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1430
def h4s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h4"))
end
|
1439
1440
1441
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1439
def h5(*args)
Heading.new(self, (args).merge(:tag_name => "h5"))
end
|
1447
1448
1449
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1447
def h5s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h5"))
end
|
1456
1457
1458
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1456
def h6(*args)
Heading.new(self, (args).merge(:tag_name => "h6"))
end
|
1464
1465
1466
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1464
def h6s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h6"))
end
|
#head(*args) ⇒ Head
1473
1474
1475
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1473
def head(*args)
Head.new(self, (args).merge(:tag_name => "head"))
end
|
1490
1491
1492
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1490
def (*args)
HTMLElement.new(self, (args).merge(:tag_name => "header"))
end
|
1498
1499
1500
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1498
def (*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "header"))
end
|
1481
1482
1483
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1481
def heads(*args)
HeadCollection.new(self, (args).merge(:tag_name => "head"))
end
|
1507
1508
1509
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1507
def hgroup(*args)
HTMLElement.new(self, (args).merge(:tag_name => "hgroup"))
end
|
1515
1516
1517
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1515
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
1524
1525
1526
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1524
def hr(*args)
HR.new(self, (args).merge(:tag_name => "hr"))
end
|
1532
1533
1534
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1532
def hrs(*args)
HRCollection.new(self, (args).merge(:tag_name => "hr"))
end
|
#html(*args) ⇒ Html
1541
1542
1543
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1541
def html(*args)
Html.new(self, (args).merge(:tag_name => "html"))
end
|
1549
1550
1551
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1549
def htmls(*args)
HtmlCollection.new(self, (args).merge(:tag_name => "html"))
end
|
1558
1559
1560
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1558
def i(*args)
HTMLElement.new(self, (args).merge(:tag_name => "i"))
end
|
#iframe(*args) ⇒ IFrame
1575
1576
1577
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1575
def iframe(*args)
IFrame.new(self, (args).merge(:tag_name => "iframe"))
end
|
1583
1584
1585
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1583
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
1592
1593
1594
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1592
def img(*args)
Image.new(self, (args).merge(:tag_name => "img"))
end
|
1600
1601
1602
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1600
def imgs(*args)
ImageCollection.new(self, (args).merge(:tag_name => "img"))
end
|
1609
1610
1611
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1609
def input(*args)
Input.new(self, (args).merge(:tag_name => "input"))
end
|
1617
1618
1619
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1617
def inputs(*args)
InputCollection.new(self, (args).merge(:tag_name => "input"))
end
|
#ins(*args) ⇒ Mod
1626
1627
1628
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1626
def ins(*args)
Mod.new(self, (args).merge(:tag_name => "ins"))
end
|
1634
1635
1636
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1634
def inses(*args)
ModCollection.new(self, (args).merge(:tag_name => "ins"))
end
|
1566
1567
1568
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1566
def is(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "i"))
end
|
1643
1644
1645
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1643
def kbd(*args)
HTMLElement.new(self, (args).merge(:tag_name => "kbd"))
end
|
1651
1652
1653
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1651
def kbds(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "kbd"))
end
|
#keygen(*args) ⇒ Keygen
1660
1661
1662
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1660
def keygen(*args)
Keygen.new(self, (args).merge(:tag_name => "keygen"))
end
|
1668
1669
1670
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1668
def keygens(*args)
KeygenCollection.new(self, (args).merge(:tag_name => "keygen"))
end
|
#label(*args) ⇒ Label
1677
1678
1679
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1677
def label(*args)
Label.new(self, (args).merge(:tag_name => "label"))
end
|
1685
1686
1687
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1685
def labels(*args)
LabelCollection.new(self, (args).merge(:tag_name => "label"))
end
|
#legend(*args) ⇒ Legend
1694
1695
1696
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1694
def legend(*args)
Legend.new(self, (args).merge(:tag_name => "legend"))
end
|
1702
1703
1704
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1702
def legends(*args)
LegendCollection.new(self, (args).merge(:tag_name => "legend"))
end
|
#li(*args) ⇒ LI
1711
1712
1713
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1711
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
|
1719
1720
1721
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1719
def lis(*args)
LICollection.new(self, (args).merge(:tag_name => "li"))
end
|
#map(*args) ⇒ Map
1728
1729
1730
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1728
def map(*args)
Map.new(self, (args).merge(:tag_name => "map"))
end
|
1736
1737
1738
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1736
def maps(*args)
MapCollection.new(self, (args).merge(:tag_name => "map"))
end
|
1745
1746
1747
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1745
def mark(*args)
HTMLElement.new(self, (args).merge(:tag_name => "mark"))
end
|
1753
1754
1755
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1753
def marks(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "mark"))
end
|
1762
1763
1764
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1762
def (*args)
Menu.new(self, (args).merge(:tag_name => "menu"))
end
|
1770
1771
1772
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1770
def (*args)
MenuCollection.new(self, (args).merge(:tag_name => "menu"))
end
|
1779
1780
1781
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1779
def meta(*args)
Meta.new(self, (args).merge(:tag_name => "meta"))
end
|
1787
1788
1789
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1787
def metas(*args)
MetaCollection.new(self, (args).merge(:tag_name => "meta"))
end
|
#meter(*args) ⇒ Meter
1796
1797
1798
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1796
def meter(*args)
Meter.new(self, (args).merge(:tag_name => "meter"))
end
|
1804
1805
1806
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1804
def meters(*args)
MeterCollection.new(self, (args).merge(:tag_name => "meter"))
end
|
1813
1814
1815
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1813
def nav(*args)
HTMLElement.new(self, (args).merge(:tag_name => "nav"))
end
|
1821
1822
1823
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1821
def navs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "nav"))
end
|
1830
1831
1832
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1830
def noscript(*args)
HTMLElement.new(self, (args).merge(:tag_name => "noscript"))
end
|
1838
1839
1840
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1838
def noscripts(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "noscript"))
end
|
#object(*args) ⇒ Object
1847
1848
1849
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1847
def object(*args)
Object.new(self, (args).merge(:tag_name => "object"))
end
|
1855
1856
1857
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1855
def objects(*args)
ObjectCollection.new(self, (args).merge(:tag_name => "object"))
end
|
#ol(*args) ⇒ OList
1864
1865
1866
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1864
def ol(*args)
OList.new(self, (args).merge(:tag_name => "ol"))
end
|
1872
1873
1874
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1872
def ols(*args)
OListCollection.new(self, (args).merge(:tag_name => "ol"))
end
|
#optgroup(*args) ⇒ OptGroup
1881
1882
1883
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1881
def optgroup(*args)
OptGroup.new(self, (args).merge(:tag_name => "optgroup"))
end
|
1889
1890
1891
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1889
def optgroups(*args)
OptGroupCollection.new(self, (args).merge(:tag_name => "optgroup"))
end
|
#option(*args) ⇒ Option
1898
1899
1900
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1898
def option(*args)
Option.new(self, (args).merge(:tag_name => "option"))
end
|
1906
1907
1908
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1906
def options(*args)
OptionCollection.new(self, (args).merge(:tag_name => "option"))
end
|
#output(*args) ⇒ Output
1915
1916
1917
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1915
def output(*args)
Output.new(self, (args).merge(:tag_name => "output"))
end
|
1923
1924
1925
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1923
def outputs(*args)
OutputCollection.new(self, (args).merge(:tag_name => "output"))
end
|
1932
1933
1934
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1932
def p(*args)
Paragraph.new(self, (args).merge(:tag_name => "p"))
end
|
#param(*args) ⇒ Param
1949
1950
1951
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1949
def param(*args)
Param.new(self, (args).merge(:tag_name => "param"))
end
|
1957
1958
1959
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1957
def params(*args)
ParamCollection.new(self, (args).merge(:tag_name => "param"))
end
|
#pre(*args) ⇒ Pre
1966
1967
1968
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1966
def pre(*args)
Pre.new(self, (args).merge(:tag_name => "pre"))
end
|
1974
1975
1976
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1974
def pres(*args)
PreCollection.new(self, (args).merge(:tag_name => "pre"))
end
|
#progress(*args) ⇒ Progress
1983
1984
1985
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1983
def progress(*args)
Progress.new(self, (args).merge(:tag_name => "progress"))
end
|
1991
1992
1993
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1991
def progresses(*args)
ProgressCollection.new(self, (args).merge(:tag_name => "progress"))
end
|
1940
1941
1942
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1940
def ps(*args)
ParagraphCollection.new(self, (args).merge(:tag_name => "p"))
end
|
#q(*args) ⇒ Quote
2000
2001
2002
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2000
def q(*args)
Quote.new(self, (args).merge(:tag_name => "q"))
end
|
2008
2009
2010
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2008
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
|
2017
2018
2019
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2017
def rp(*args)
HTMLElement.new(self, (args).merge(:tag_name => "rp"))
end
|
2025
2026
2027
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2025
def rps(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "rp"))
end
|
2034
2035
2036
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2034
def rt(*args)
HTMLElement.new(self, (args).merge(:tag_name => "rt"))
end
|
2042
2043
2044
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2042
def rts(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "rt"))
end
|
2059
2060
2061
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2059
def rubies(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "ruby"))
end
|
2051
2052
2053
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2051
def ruby(*args)
HTMLElement.new(self, (args).merge(:tag_name => "ruby"))
end
|
2068
2069
2070
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2068
def s(*args)
HTMLElement.new(self, (args).merge(:tag_name => "s"))
end
|
2085
2086
2087
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2085
def samp(*args)
HTMLElement.new(self, (args).merge(:tag_name => "samp"))
end
|
2093
2094
2095
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2093
def samps(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "samp"))
end
|
#script(*args) ⇒ Script
2102
2103
2104
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2102
def script(*args)
Script.new(self, (args).merge(:tag_name => "script"))
end
|
2110
2111
2112
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2110
def scripts(*args)
ScriptCollection.new(self, (args).merge(:tag_name => "script"))
end
|
2119
2120
2121
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2119
def section(*args)
HTMLElement.new(self, (args).merge(:tag_name => "section"))
end
|
2127
2128
2129
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2127
def sections(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "section"))
end
|
#select(*args) ⇒ Select
2136
2137
2138
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2136
def select(*args)
Select.new(self, (args).merge(:tag_name => "select"))
end
|
#select_list ⇒ Object
213
|
# File 'lib/watir-webdriver/elements/select.rb', line 213
alias_method :select_list, :select
|
#select_lists ⇒ Object
214
|
# File 'lib/watir-webdriver/elements/select.rb', line 214
alias_method :select_lists, :selects
|
2144
2145
2146
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2144
def selects(*args)
SelectCollection.new(self, (args).merge(:tag_name => "select"))
end
|
2153
2154
2155
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2153
def small(*args)
HTMLElement.new(self, (args).merge(:tag_name => "small"))
end
|
2161
2162
2163
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2161
def smalls(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "small"))
end
|
#source(*args) ⇒ Source
2170
2171
2172
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2170
def source(*args)
Source.new(self, (args).merge(:tag_name => "source"))
end
|
2178
2179
2180
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2178
def sources(*args)
SourceCollection.new(self, (args).merge(:tag_name => "source"))
end
|
#span(*args) ⇒ Span
2187
2188
2189
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2187
def span(*args)
Span.new(self, (args).merge(:tag_name => "span"))
end
|
2195
2196
2197
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2195
def spans(*args)
SpanCollection.new(self, (args).merge(:tag_name => "span"))
end
|
2076
2077
2078
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2076
def ss(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "s"))
end
|
2204
2205
2206
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2204
def strong(*args)
HTMLElement.new(self, (args).merge(:tag_name => "strong"))
end
|
2212
2213
2214
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2212
def strongs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "strong"))
end
|
#style(*args) ⇒ Style
2221
2222
2223
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2221
def style(*args)
Style.new(self, (args).merge(:tag_name => "style"))
end
|
2229
2230
2231
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2229
def styles(*args)
StyleCollection.new(self, (args).merge(:tag_name => "style"))
end
|
2238
2239
2240
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2238
def sub(*args)
HTMLElement.new(self, (args).merge(:tag_name => "sub"))
end
|
2246
2247
2248
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2246
def subs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "sub"))
end
|
2263
2264
2265
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2263
def summaries(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "summary"))
end
|
2255
2256
2257
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2255
def summary(*args)
HTMLElement.new(self, (args).merge(:tag_name => "summary"))
end
|
2272
2273
2274
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2272
def sup(*args)
HTMLElement.new(self, (args).merge(:tag_name => "sup"))
end
|
2280
2281
2282
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2280
def sups(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "sup"))
end
|
#table(*args) ⇒ Table
2289
2290
2291
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2289
def table(*args)
Table.new(self, (args).merge(:tag_name => "table"))
end
|
2297
2298
2299
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2297
def tables(*args)
TableCollection.new(self, (args).merge(:tag_name => "table"))
end
|
2306
2307
2308
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2306
def tbody(*args)
TableSection.new(self, (args).merge(:tag_name => "tbody"))
end
|
2314
2315
2316
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2314
def tbodys(*args)
TableSectionCollection.new(self, (args).merge(:tag_name => "tbody"))
end
|
2323
2324
2325
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2323
def td(*args)
TableDataCell.new(self, (args).merge(:tag_name => "td"))
end
|
2331
2332
2333
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2331
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
2340
2341
2342
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2340
def textarea(*args)
TextArea.new(self, (args).merge(:tag_name => "textarea"))
end
|
2348
2349
2350
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2348
def textareas(*args)
TextAreaCollection.new(self, (args).merge(:tag_name => "textarea"))
end
|
2357
2358
2359
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2357
def (*args)
TableSection.new(self, (args).merge(:tag_name => "tfoot"))
end
|
2365
2366
2367
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2365
def (*args)
TableSectionCollection.new(self, (args).merge(:tag_name => "tfoot"))
end
|
2374
2375
2376
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2374
def th(*args)
TableHeaderCell.new(self, (args).merge(:tag_name => "th"))
end
|
2391
2392
2393
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2391
def thead(*args)
TableSection.new(self, (args).merge(:tag_name => "thead"))
end
|
2399
2400
2401
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2399
def theads(*args)
TableSectionCollection.new(self, (args).merge(:tag_name => "thead"))
end
|
2382
2383
2384
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2382
def ths(*args)
TableHeaderCellCollection.new(self, (args).merge(:tag_name => "th"))
end
|
#time(*args) ⇒ Time
2408
2409
2410
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2408
def time(*args)
Time.new(self, (args).merge(:tag_name => "time"))
end
|
2416
2417
2418
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2416
def times(*args)
TimeCollection.new(self, (args).merge(:tag_name => "time"))
end
|
#title(*args) ⇒ Title
2425
2426
2427
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2425
def title(*args)
Title.new(self, (args).merge(:tag_name => "title"))
end
|
2433
2434
2435
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2433
def titles(*args)
TitleCollection.new(self, (args).merge(:tag_name => "title"))
end
|
2442
2443
2444
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2442
def tr(*args)
TableRow.new(self, (args).merge(:tag_name => "tr"))
end
|
#track(*args) ⇒ Track
2459
2460
2461
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2459
def track(*args)
Track.new(self, (args).merge(:tag_name => "track"))
end
|
2467
2468
2469
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2467
def tracks(*args)
TrackCollection.new(self, (args).merge(:tag_name => "track"))
end
|
2450
2451
2452
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2450
def trs(*args)
TableRowCollection.new(self, (args).merge(:tag_name => "tr"))
end
|
#ul(*args) ⇒ UList
2476
2477
2478
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2476
def ul(*args)
UList.new(self, (args).merge(:tag_name => "ul"))
end
|
2484
2485
2486
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2484
def uls(*args)
UListCollection.new(self, (args).merge(:tag_name => "ul"))
end
|
2493
2494
2495
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2493
def var(*args)
HTMLElement.new(self, (args).merge(:tag_name => "var"))
end
|
2501
2502
2503
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2501
def vars(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "var"))
end
|
#video(*args) ⇒ Video
2510
2511
2512
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2510
def video(*args)
Video.new(self, (args).merge(:tag_name => "video"))
end
|
2518
2519
2520
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2518
def videos(*args)
VideoCollection.new(self, (args).merge(:tag_name => "video"))
end
|
2527
2528
2529
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2527
def wbr(*args)
HTMLElement.new(self, (args).merge(:tag_name => "wbr"))
end
|
2535
2536
2537
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2535
def wbrs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "wbr"))
end
|