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