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
762
763
764
|
# File 'lib/watir-webdriver/elements/generated.rb', line 762
def a(*args)
Anchor.new(self, (args).merge(:tag_name => "a"))
end
|
779
780
781
|
# File 'lib/watir-webdriver/elements/generated.rb', line 779
def abbr(*args)
HTMLElement.new(self, (args).merge(:tag_name => "abbr"))
end
|
787
788
789
|
# File 'lib/watir-webdriver/elements/generated.rb', line 787
def abbrs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "abbr"))
end
|
796
797
798
|
# File 'lib/watir-webdriver/elements/generated.rb', line 796
def address(*args)
HTMLElement.new(self, (args).merge(:tag_name => "address"))
end
|
804
805
806
|
# File 'lib/watir-webdriver/elements/generated.rb', line 804
def addresses(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "address"))
end
|
#area(*args) ⇒ Area
813
814
815
|
# File 'lib/watir-webdriver/elements/generated.rb', line 813
def area(*args)
Area.new(self, (args).merge(:tag_name => "area"))
end
|
821
822
823
|
# File 'lib/watir-webdriver/elements/generated.rb', line 821
def areas(*args)
AreaCollection.new(self, (args).merge(:tag_name => "area"))
end
|
830
831
832
|
# File 'lib/watir-webdriver/elements/generated.rb', line 830
def article(*args)
HTMLElement.new(self, (args).merge(:tag_name => "article"))
end
|
838
839
840
|
# File 'lib/watir-webdriver/elements/generated.rb', line 838
def articles(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "article"))
end
|
770
771
772
|
# File 'lib/watir-webdriver/elements/generated.rb', line 770
def as(*args)
AnchorCollection.new(self, (args).merge(:tag_name => "a"))
end
|
847
848
849
|
# File 'lib/watir-webdriver/elements/generated.rb', line 847
def aside(*args)
HTMLElement.new(self, (args).merge(:tag_name => "aside"))
end
|
855
856
857
|
# File 'lib/watir-webdriver/elements/generated.rb', line 855
def asides(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "aside"))
end
|
#audio(*args) ⇒ Audio
864
865
866
|
# File 'lib/watir-webdriver/elements/generated.rb', line 864
def audio(*args)
Audio.new(self, (args).merge(:tag_name => "audio"))
end
|
872
873
874
|
# File 'lib/watir-webdriver/elements/generated.rb', line 872
def audios(*args)
AudioCollection.new(self, (args).merge(:tag_name => "audio"))
end
|
881
882
883
|
# File 'lib/watir-webdriver/elements/generated.rb', line 881
def b(*args)
HTMLElement.new(self, (args).merge(:tag_name => "b"))
end
|
#base(*args) ⇒ Base
898
899
900
|
# File 'lib/watir-webdriver/elements/generated.rb', line 898
def base(*args)
Base.new(self, (args).merge(:tag_name => "base"))
end
|
906
907
908
|
# File 'lib/watir-webdriver/elements/generated.rb', line 906
def bases(*args)
BaseCollection.new(self, (args).merge(:tag_name => "base"))
end
|
915
916
917
|
# File 'lib/watir-webdriver/elements/generated.rb', line 915
def bdi(*args)
HTMLElement.new(self, (args).merge(:tag_name => "bdi"))
end
|
923
924
925
|
# File 'lib/watir-webdriver/elements/generated.rb', line 923
def bdis(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "bdi"))
end
|
932
933
934
|
# File 'lib/watir-webdriver/elements/generated.rb', line 932
def bdo(*args)
HTMLElement.new(self, (args).merge(:tag_name => "bdo"))
end
|
940
941
942
|
# File 'lib/watir-webdriver/elements/generated.rb', line 940
def bdos(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "bdo"))
end
|
#blockquote(*args) ⇒ Quote
949
950
951
|
# File 'lib/watir-webdriver/elements/generated.rb', line 949
def blockquote(*args)
Quote.new(self, (args).merge(:tag_name => "blockquote"))
end
|
957
958
959
|
# File 'lib/watir-webdriver/elements/generated.rb', line 957
def blockquotes(*args)
QuoteCollection.new(self, (args).merge(:tag_name => "blockquote"))
end
|
#body(*args) ⇒ Body
966
967
968
|
# File 'lib/watir-webdriver/elements/generated.rb', line 966
def body(*args)
Body.new(self, (args).merge(:tag_name => "body"))
end
|
974
975
976
|
# File 'lib/watir-webdriver/elements/generated.rb', line 974
def bodys(*args)
BodyCollection.new(self, (args).merge(:tag_name => "body"))
end
|
#br(*args) ⇒ BR
983
984
985
|
# File 'lib/watir-webdriver/elements/generated.rb', line 983
def br(*args)
BR.new(self, (args).merge(:tag_name => "br"))
end
|
991
992
993
|
# File 'lib/watir-webdriver/elements/generated.rb', line 991
def brs(*args)
BRCollection.new(self, (args).merge(:tag_name => "br"))
end
|
889
890
891
|
# File 'lib/watir-webdriver/elements/generated.rb', line 889
def bs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "b"))
end
|
1000
1001
1002
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1000
def button(*args)
Button.new(self, (args).merge(:tag_name => "button"))
end
|
1008
1009
1010
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1008
def buttons(*args)
ButtonCollection.new(self, (args).merge(:tag_name => "button"))
end
|
#canvas(*args) ⇒ Canvas
1017
1018
1019
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1017
def canvas(*args)
Canvas.new(self, (args).merge(:tag_name => "canvas"))
end
|
1025
1026
1027
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1025
def canvases(*args)
CanvasCollection.new(self, (args).merge(:tag_name => "canvas"))
end
|
1034
1035
1036
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1034
def caption(*args)
TableCaption.new(self, (args).merge(:tag_name => "caption"))
end
|
1042
1043
1044
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1042
def captions(*args)
TableCaptionCollection.new(self, (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, (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, (args).merge(:tag_name => "input", :type => "checkbox"))
end
|
1051
1052
1053
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1051
def cite(*args)
HTMLElement.new(self, (args).merge(:tag_name => "cite"))
end
|
1059
1060
1061
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1059
def cites(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "cite"))
end
|
1068
1069
1070
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1068
def code(*args)
HTMLElement.new(self, (args).merge(:tag_name => "code"))
end
|
1076
1077
1078
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1076
def codes(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "code"))
end
|
1085
1086
1087
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1085
def col(*args)
TableCol.new(self, (args).merge(:tag_name => "col"))
end
|
#colgroup(*args) ⇒ TableCol
1102
1103
1104
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1102
def colgroup(*args)
TableCol.new(self, (args).merge(:tag_name => "colgroup"))
end
|
1110
1111
1112
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1110
def colgroups(*args)
TableColCollection.new(self, (args).merge(:tag_name => "colgroup"))
end
|
1093
1094
1095
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1093
def cols(*args)
TableColCollection.new(self, (args).merge(:tag_name => "col"))
end
|
#command(*args) ⇒ Command
1119
1120
1121
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1119
def command(*args)
Command.new(self, (args).merge(:tag_name => "command"))
end
|
1127
1128
1129
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1127
def commands(*args)
CommandCollection.new(self, (args).merge(:tag_name => "command"))
end
|
#datalist(*args) ⇒ DataList
1136
1137
1138
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1136
def datalist(*args)
DataList.new(self, (args).merge(:tag_name => "datalist"))
end
|
1144
1145
1146
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1144
def datalists(*args)
DataListCollection.new(self, (args).merge(:tag_name => "datalist"))
end
|
1153
1154
1155
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1153
def dd(*args)
HTMLElement.new(self, (args).merge(:tag_name => "dd"))
end
|
1161
1162
1163
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1161
def dds(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "dd"))
end
|
#del(*args) ⇒ Mod
1170
1171
1172
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1170
def del(*args)
Mod.new(self, (args).merge(:tag_name => "del"))
end
|
1178
1179
1180
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1178
def dels(*args)
ModCollection.new(self, (args).merge(:tag_name => "del"))
end
|
1187
1188
1189
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1187
def details(*args)
Details.new(self, (args).merge(:tag_name => "details"))
end
|
1204
1205
1206
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1204
def dfn(*args)
HTMLElement.new(self, (args).merge(:tag_name => "dfn"))
end
|
1212
1213
1214
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1212
def dfns(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "dfn"))
end
|
#div(*args) ⇒ Div
1221
1222
1223
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1221
def div(*args)
Div.new(self, (args).merge(:tag_name => "div"))
end
|
1229
1230
1231
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1229
def divs(*args)
DivCollection.new(self, (args).merge(:tag_name => "div"))
end
|
#dl(*args) ⇒ DList
1238
1239
1240
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1238
def dl(*args)
DList.new(self, (args).merge(:tag_name => "dl"))
end
|
1246
1247
1248
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1246
def dls(*args)
DListCollection.new(self, (args).merge(:tag_name => "dl"))
end
|
1255
1256
1257
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1255
def dt(*args)
HTMLElement.new(self, (args).merge(:tag_name => "dt"))
end
|
1263
1264
1265
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1263
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
|
1272
1273
1274
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1272
def em(*args)
HTMLElement.new(self, (args).merge(:tag_name => "em"))
end
|
#embed(*args) ⇒ Embed
1289
1290
1291
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1289
def embed(*args)
Embed.new(self, (args).merge(:tag_name => "embed"))
end
|
1297
1298
1299
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1297
def embeds(*args)
EmbedCollection.new(self, (args).merge(:tag_name => "embed"))
end
|
1280
1281
1282
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1280
def ems(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "em"))
end
|
#fieldset(*args) ⇒ FieldSet
1306
1307
1308
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1306
def fieldset(*args)
FieldSet.new(self, (args).merge(:tag_name => "fieldset"))
end
|
1314
1315
1316
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1314
def fieldsets(*args)
FieldSetCollection.new(self, (args).merge(:tag_name => "fieldset"))
end
|
1323
1324
1325
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1323
def figcaption(*args)
HTMLElement.new(self, (args).merge(:tag_name => "figcaption"))
end
|
1331
1332
1333
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1331
def figcaptions(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "figcaption"))
end
|
1340
1341
1342
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1340
def figure(*args)
HTMLElement.new(self, (args).merge(:tag_name => "figure"))
end
|
1348
1349
1350
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1348
def figures(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "figure"))
end
|
#file_field(*args) ⇒ Object
47
48
49
|
# File 'lib/watir-webdriver/elements/file_field.rb', line 47
def file_field(*args)
FileField.new(self, (args).merge(:tag_name => "input", :type => "file"))
end
|
#file_fields(*args) ⇒ Object
51
52
53
|
# File 'lib/watir-webdriver/elements/file_field.rb', line 51
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
|
1357
1358
1359
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1357
def (*args)
HTMLElement.new(self, (args).merge(:tag_name => "footer"))
end
|
1365
1366
1367
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1365
def (*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "footer"))
end
|
1374
1375
1376
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1374
def form(*args)
Form.new(self, (args).merge(:tag_name => "form"))
end
|
1382
1383
1384
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1382
def forms(*args)
FormCollection.new(self, (args).merge(:tag_name => "form"))
end
|
#frame(*args) ⇒ Object
53
54
55
|
# File 'lib/watir-webdriver/elements/frame.rb', line 53
def frame(*args)
Frame.new(self, (args))
end
|
#frames(*args) ⇒ Object
57
58
59
|
# File 'lib/watir-webdriver/elements/frame.rb', line 57
def frames(*args)
FrameCollection.new(self, (args).merge(:tag_name => /^(iframe|frame)$/)) end
|
1391
1392
1393
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1391
def h1(*args)
Heading.new(self, (args).merge(:tag_name => "h1"))
end
|
1399
1400
1401
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1399
def h1s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h1"))
end
|
1408
1409
1410
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1408
def h2(*args)
Heading.new(self, (args).merge(:tag_name => "h2"))
end
|
1416
1417
1418
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1416
def h2s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h2"))
end
|
1425
1426
1427
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1425
def h3(*args)
Heading.new(self, (args).merge(:tag_name => "h3"))
end
|
1433
1434
1435
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1433
def h3s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h3"))
end
|
1442
1443
1444
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1442
def h4(*args)
Heading.new(self, (args).merge(:tag_name => "h4"))
end
|
1450
1451
1452
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1450
def h4s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h4"))
end
|
1459
1460
1461
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1459
def h5(*args)
Heading.new(self, (args).merge(:tag_name => "h5"))
end
|
1467
1468
1469
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1467
def h5s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h5"))
end
|
1476
1477
1478
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1476
def h6(*args)
Heading.new(self, (args).merge(:tag_name => "h6"))
end
|
1484
1485
1486
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1484
def h6s(*args)
HeadingCollection.new(self, (args).merge(:tag_name => "h6"))
end
|
#head(*args) ⇒ Head
1493
1494
1495
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1493
def head(*args)
Head.new(self, (args).merge(:tag_name => "head"))
end
|
1510
1511
1512
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1510
def (*args)
HTMLElement.new(self, (args).merge(:tag_name => "header"))
end
|
1518
1519
1520
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1518
def (*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "header"))
end
|
1501
1502
1503
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1501
def heads(*args)
HeadCollection.new(self, (args).merge(:tag_name => "head"))
end
|
1527
1528
1529
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1527
def hgroup(*args)
HTMLElement.new(self, (args).merge(:tag_name => "hgroup"))
end
|
1535
1536
1537
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1535
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
1544
1545
1546
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1544
def hr(*args)
HR.new(self, (args).merge(:tag_name => "hr"))
end
|
1552
1553
1554
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1552
def hrs(*args)
HRCollection.new(self, (args).merge(:tag_name => "hr"))
end
|
#html(*args) ⇒ Html
1561
1562
1563
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1561
def html(*args)
Html.new(self, (args).merge(:tag_name => "html"))
end
|
1569
1570
1571
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1569
def htmls(*args)
HtmlCollection.new(self, (args).merge(:tag_name => "html"))
end
|
1578
1579
1580
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1578
def i(*args)
HTMLElement.new(self, (args).merge(:tag_name => "i"))
end
|
#iframe(*args) ⇒ IFrame
1595
1596
1597
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1595
def iframe(*args)
IFrame.new(self, (args).merge(:tag_name => "iframe"))
end
|
1603
1604
1605
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1603
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
1612
1613
1614
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1612
def img(*args)
Image.new(self, (args).merge(:tag_name => "img"))
end
|
1620
1621
1622
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1620
def imgs(*args)
ImageCollection.new(self, (args).merge(:tag_name => "img"))
end
|
1629
1630
1631
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1629
def input(*args)
Input.new(self, (args).merge(:tag_name => "input"))
end
|
1637
1638
1639
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1637
def inputs(*args)
InputCollection.new(self, (args).merge(:tag_name => "input"))
end
|
#ins(*args) ⇒ Mod
1646
1647
1648
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1646
def ins(*args)
Mod.new(self, (args).merge(:tag_name => "ins"))
end
|
1654
1655
1656
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1654
def inses(*args)
ModCollection.new(self, (args).merge(:tag_name => "ins"))
end
|
1586
1587
1588
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1586
def is(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "i"))
end
|
1663
1664
1665
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1663
def kbd(*args)
HTMLElement.new(self, (args).merge(:tag_name => "kbd"))
end
|
1671
1672
1673
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1671
def kbds(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "kbd"))
end
|
#keygen(*args) ⇒ Keygen
1680
1681
1682
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1680
def keygen(*args)
Keygen.new(self, (args).merge(:tag_name => "keygen"))
end
|
1688
1689
1690
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1688
def keygens(*args)
KeygenCollection.new(self, (args).merge(:tag_name => "keygen"))
end
|
#label(*args) ⇒ Label
1697
1698
1699
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1697
def label(*args)
Label.new(self, (args).merge(:tag_name => "label"))
end
|
1705
1706
1707
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1705
def labels(*args)
LabelCollection.new(self, (args).merge(:tag_name => "label"))
end
|
#legend(*args) ⇒ Legend
1714
1715
1716
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1714
def legend(*args)
Legend.new(self, (args).merge(:tag_name => "legend"))
end
|
1722
1723
1724
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1722
def legends(*args)
LegendCollection.new(self, (args).merge(:tag_name => "legend"))
end
|
#li(*args) ⇒ LI
1731
1732
1733
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1731
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
|
1739
1740
1741
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1739
def lis(*args)
LICollection.new(self, (args).merge(:tag_name => "li"))
end
|
#map(*args) ⇒ Map
1748
1749
1750
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1748
def map(*args)
Map.new(self, (args).merge(:tag_name => "map"))
end
|
1756
1757
1758
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1756
def maps(*args)
MapCollection.new(self, (args).merge(:tag_name => "map"))
end
|
1765
1766
1767
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1765
def mark(*args)
HTMLElement.new(self, (args).merge(:tag_name => "mark"))
end
|
1773
1774
1775
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1773
def marks(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "mark"))
end
|
1782
1783
1784
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1782
def (*args)
Menu.new(self, (args).merge(:tag_name => "menu"))
end
|
1790
1791
1792
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1790
def (*args)
MenuCollection.new(self, (args).merge(:tag_name => "menu"))
end
|
1799
1800
1801
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1799
def meta(*args)
Meta.new(self, (args).merge(:tag_name => "meta"))
end
|
1807
1808
1809
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1807
def metas(*args)
MetaCollection.new(self, (args).merge(:tag_name => "meta"))
end
|
#meter(*args) ⇒ Meter
1816
1817
1818
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1816
def meter(*args)
Meter.new(self, (args).merge(:tag_name => "meter"))
end
|
1824
1825
1826
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1824
def meters(*args)
MeterCollection.new(self, (args).merge(:tag_name => "meter"))
end
|
1833
1834
1835
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1833
def nav(*args)
HTMLElement.new(self, (args).merge(:tag_name => "nav"))
end
|
1841
1842
1843
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1841
def navs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "nav"))
end
|
1850
1851
1852
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1850
def noscript(*args)
HTMLElement.new(self, (args).merge(:tag_name => "noscript"))
end
|
1858
1859
1860
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1858
def noscripts(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "noscript"))
end
|
#object(*args) ⇒ Object
1867
1868
1869
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1867
def object(*args)
Object.new(self, (args).merge(:tag_name => "object"))
end
|
1875
1876
1877
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1875
def objects(*args)
ObjectCollection.new(self, (args).merge(:tag_name => "object"))
end
|
#ol(*args) ⇒ OList
1884
1885
1886
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1884
def ol(*args)
OList.new(self, (args).merge(:tag_name => "ol"))
end
|
1892
1893
1894
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1892
def ols(*args)
OListCollection.new(self, (args).merge(:tag_name => "ol"))
end
|
#optgroup(*args) ⇒ OptGroup
1901
1902
1903
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1901
def optgroup(*args)
OptGroup.new(self, (args).merge(:tag_name => "optgroup"))
end
|
1909
1910
1911
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1909
def optgroups(*args)
OptGroupCollection.new(self, (args).merge(:tag_name => "optgroup"))
end
|
#option(*args) ⇒ Option
1918
1919
1920
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1918
def option(*args)
Option.new(self, (args).merge(:tag_name => "option"))
end
|
1926
1927
1928
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1926
def options(*args)
OptionCollection.new(self, (args).merge(:tag_name => "option"))
end
|
#output(*args) ⇒ Output
1935
1936
1937
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1935
def output(*args)
Output.new(self, (args).merge(:tag_name => "output"))
end
|
1943
1944
1945
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1943
def outputs(*args)
OutputCollection.new(self, (args).merge(:tag_name => "output"))
end
|
1952
1953
1954
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1952
def p(*args)
Paragraph.new(self, (args).merge(:tag_name => "p"))
end
|
#param(*args) ⇒ Param
1969
1970
1971
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1969
def param(*args)
Param.new(self, (args).merge(:tag_name => "param"))
end
|
1977
1978
1979
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1977
def params(*args)
ParamCollection.new(self, (args).merge(:tag_name => "param"))
end
|
#pre(*args) ⇒ Pre
1986
1987
1988
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1986
def pre(*args)
Pre.new(self, (args).merge(:tag_name => "pre"))
end
|
1994
1995
1996
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1994
def pres(*args)
PreCollection.new(self, (args).merge(:tag_name => "pre"))
end
|
#progress(*args) ⇒ Progress
2003
2004
2005
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2003
def progress(*args)
Progress.new(self, (args).merge(:tag_name => "progress"))
end
|
2011
2012
2013
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2011
def progresses(*args)
ProgressCollection.new(self, (args).merge(:tag_name => "progress"))
end
|
1960
1961
1962
|
# File 'lib/watir-webdriver/elements/generated.rb', line 1960
def ps(*args)
ParagraphCollection.new(self, (args).merge(:tag_name => "p"))
end
|
#q(*args) ⇒ Quote
2020
2021
2022
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2020
def q(*args)
Quote.new(self, (args).merge(:tag_name => "q"))
end
|
2028
2029
2030
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2028
def qs(*args)
QuoteCollection.new(self, (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, (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, (args).merge(:tag_name => "input", :type => "radio" ))
end
|
2037
2038
2039
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2037
def rp(*args)
HTMLElement.new(self, (args).merge(:tag_name => "rp"))
end
|
2045
2046
2047
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2045
def rps(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "rp"))
end
|
2054
2055
2056
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2054
def rt(*args)
HTMLElement.new(self, (args).merge(:tag_name => "rt"))
end
|
2062
2063
2064
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2062
def rts(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "rt"))
end
|
2079
2080
2081
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2079
def rubies(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "ruby"))
end
|
2071
2072
2073
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2071
def ruby(*args)
HTMLElement.new(self, (args).merge(:tag_name => "ruby"))
end
|
2088
2089
2090
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2088
def s(*args)
HTMLElement.new(self, (args).merge(:tag_name => "s"))
end
|
2105
2106
2107
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2105
def samp(*args)
HTMLElement.new(self, (args).merge(:tag_name => "samp"))
end
|
2113
2114
2115
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2113
def samps(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "samp"))
end
|
#script(*args) ⇒ Script
2122
2123
2124
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2122
def script(*args)
Script.new(self, (args).merge(:tag_name => "script"))
end
|
2130
2131
2132
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2130
def scripts(*args)
ScriptCollection.new(self, (args).merge(:tag_name => "script"))
end
|
2139
2140
2141
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2139
def section(*args)
HTMLElement.new(self, (args).merge(:tag_name => "section"))
end
|
2147
2148
2149
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2147
def sections(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "section"))
end
|
#select(*args) ⇒ Select
2156
2157
2158
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2156
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
|
2164
2165
2166
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2164
def selects(*args)
SelectCollection.new(self, (args).merge(:tag_name => "select"))
end
|
2173
2174
2175
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2173
def small(*args)
HTMLElement.new(self, (args).merge(:tag_name => "small"))
end
|
2181
2182
2183
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2181
def smalls(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "small"))
end
|
#source(*args) ⇒ Source
2190
2191
2192
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2190
def source(*args)
Source.new(self, (args).merge(:tag_name => "source"))
end
|
2198
2199
2200
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2198
def sources(*args)
SourceCollection.new(self, (args).merge(:tag_name => "source"))
end
|
#span(*args) ⇒ Span
2207
2208
2209
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2207
def span(*args)
Span.new(self, (args).merge(:tag_name => "span"))
end
|
2215
2216
2217
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2215
def spans(*args)
SpanCollection.new(self, (args).merge(:tag_name => "span"))
end
|
2096
2097
2098
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2096
def ss(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "s"))
end
|
2224
2225
2226
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2224
def strong(*args)
HTMLElement.new(self, (args).merge(:tag_name => "strong"))
end
|
2232
2233
2234
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2232
def strongs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "strong"))
end
|
#style(*args) ⇒ Style
2241
2242
2243
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2241
def style(*args)
Style.new(self, (args).merge(:tag_name => "style"))
end
|
2249
2250
2251
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2249
def styles(*args)
StyleCollection.new(self, (args).merge(:tag_name => "style"))
end
|
2258
2259
2260
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2258
def sub(*args)
HTMLElement.new(self, (args).merge(:tag_name => "sub"))
end
|
2266
2267
2268
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2266
def subs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "sub"))
end
|
2283
2284
2285
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2283
def summaries(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "summary"))
end
|
2275
2276
2277
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2275
def summary(*args)
HTMLElement.new(self, (args).merge(:tag_name => "summary"))
end
|
2292
2293
2294
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2292
def sup(*args)
HTMLElement.new(self, (args).merge(:tag_name => "sup"))
end
|
2300
2301
2302
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2300
def sups(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "sup"))
end
|
#table(*args) ⇒ Table
2309
2310
2311
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2309
def table(*args)
Table.new(self, (args).merge(:tag_name => "table"))
end
|
2317
2318
2319
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2317
def tables(*args)
TableCollection.new(self, (args).merge(:tag_name => "table"))
end
|
2326
2327
2328
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2326
def tbody(*args)
TableSection.new(self, (args).merge(:tag_name => "tbody"))
end
|
2334
2335
2336
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2334
def tbodys(*args)
TableSectionCollection.new(self, (args).merge(:tag_name => "tbody"))
end
|
2343
2344
2345
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2343
def td(*args)
TableDataCell.new(self, (args).merge(:tag_name => "td"))
end
|
2351
2352
2353
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2351
def tds(*args)
TableDataCellCollection.new(self, (args).merge(:tag_name => "td"))
end
|
#text_field(*args) ⇒ Object
67
68
69
|
# File 'lib/watir-webdriver/elements/text_field.rb', line 67
def text_field(*args)
TextField.new(self, (args).merge(:tag_name => "input"))
end
|
#text_fields(*args) ⇒ Object
71
72
73
|
# File 'lib/watir-webdriver/elements/text_field.rb', line 71
def text_fields(*args)
TextFieldCollection.new(self, (args).merge(:tag_name => "input"))
end
|
#textarea(*args) ⇒ TextArea
2360
2361
2362
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2360
def textarea(*args)
TextArea.new(self, (args).merge(:tag_name => "textarea"))
end
|
2368
2369
2370
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2368
def textareas(*args)
TextAreaCollection.new(self, (args).merge(:tag_name => "textarea"))
end
|
2377
2378
2379
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2377
def (*args)
TableSection.new(self, (args).merge(:tag_name => "tfoot"))
end
|
2385
2386
2387
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2385
def (*args)
TableSectionCollection.new(self, (args).merge(:tag_name => "tfoot"))
end
|
2394
2395
2396
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2394
def th(*args)
TableHeaderCell.new(self, (args).merge(:tag_name => "th"))
end
|
2411
2412
2413
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2411
def thead(*args)
TableSection.new(self, (args).merge(:tag_name => "thead"))
end
|
2419
2420
2421
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2419
def theads(*args)
TableSectionCollection.new(self, (args).merge(:tag_name => "thead"))
end
|
2402
2403
2404
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2402
def ths(*args)
TableHeaderCellCollection.new(self, (args).merge(:tag_name => "th"))
end
|
#time(*args) ⇒ Time
2428
2429
2430
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2428
def time(*args)
Time.new(self, (args).merge(:tag_name => "time"))
end
|
2436
2437
2438
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2436
def times(*args)
TimeCollection.new(self, (args).merge(:tag_name => "time"))
end
|
#title(*args) ⇒ Title
2445
2446
2447
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2445
def title(*args)
Title.new(self, (args).merge(:tag_name => "title"))
end
|
2453
2454
2455
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2453
def titles(*args)
TitleCollection.new(self, (args).merge(:tag_name => "title"))
end
|
2462
2463
2464
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2462
def tr(*args)
TableRow.new(self, (args).merge(:tag_name => "tr"))
end
|
#track(*args) ⇒ Track
2479
2480
2481
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2479
def track(*args)
Track.new(self, (args).merge(:tag_name => "track"))
end
|
2487
2488
2489
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2487
def tracks(*args)
TrackCollection.new(self, (args).merge(:tag_name => "track"))
end
|
2470
2471
2472
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2470
def trs(*args)
TableRowCollection.new(self, (args).merge(:tag_name => "tr"))
end
|
#ul(*args) ⇒ UList
2496
2497
2498
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2496
def ul(*args)
UList.new(self, (args).merge(:tag_name => "ul"))
end
|
2504
2505
2506
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2504
def uls(*args)
UListCollection.new(self, (args).merge(:tag_name => "ul"))
end
|
2513
2514
2515
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2513
def var(*args)
HTMLElement.new(self, (args).merge(:tag_name => "var"))
end
|
2521
2522
2523
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2521
def vars(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "var"))
end
|
#video(*args) ⇒ Video
2530
2531
2532
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2530
def video(*args)
Video.new(self, (args).merge(:tag_name => "video"))
end
|
2538
2539
2540
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2538
def videos(*args)
VideoCollection.new(self, (args).merge(:tag_name => "video"))
end
|
2547
2548
2549
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2547
def wbr(*args)
HTMLElement.new(self, (args).merge(:tag_name => "wbr"))
end
|
2555
2556
2557
|
# File 'lib/watir-webdriver/elements/generated.rb', line 2555
def wbrs(*args)
HTMLElementCollection.new(self, (args).merge(:tag_name => "wbr"))
end
|