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
- #dialog(*args) ⇒ Dialog
- #dialogs(*args) ⇒ DialogCollection
- #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
791 792 793 |
# File 'lib/watir-webdriver/elements/generated.rb', line 791 def a(*args) Anchor.new(self, extract_selector(args).merge(:tag_name => "a")) end |
#abbr(*args) ⇒ HTMLElement
808 809 810 |
# File 'lib/watir-webdriver/elements/generated.rb', line 808 def abbr(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "abbr")) end |
#abbrs(*args) ⇒ HTMLElementCollection
816 817 818 |
# File 'lib/watir-webdriver/elements/generated.rb', line 816 def abbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "abbr")) end |
#address(*args) ⇒ HTMLElement
825 826 827 |
# File 'lib/watir-webdriver/elements/generated.rb', line 825 def address(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "address")) end |
#addresses(*args) ⇒ HTMLElementCollection
833 834 835 |
# File 'lib/watir-webdriver/elements/generated.rb', line 833 def addresses(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "address")) end |
#area(*args) ⇒ Area
842 843 844 |
# File 'lib/watir-webdriver/elements/generated.rb', line 842 def area(*args) Area.new(self, extract_selector(args).merge(:tag_name => "area")) end |
#areas(*args) ⇒ AreaCollection
850 851 852 |
# File 'lib/watir-webdriver/elements/generated.rb', line 850 def areas(*args) AreaCollection.new(self, extract_selector(args).merge(:tag_name => "area")) end |
#article(*args) ⇒ HTMLElement
859 860 861 |
# File 'lib/watir-webdriver/elements/generated.rb', line 859 def article(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "article")) end |
#articles(*args) ⇒ HTMLElementCollection
867 868 869 |
# File 'lib/watir-webdriver/elements/generated.rb', line 867 def articles(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "article")) end |
#as(*args) ⇒ AnchorCollection
799 800 801 |
# File 'lib/watir-webdriver/elements/generated.rb', line 799 def as(*args) AnchorCollection.new(self, extract_selector(args).merge(:tag_name => "a")) end |
#aside(*args) ⇒ HTMLElement
876 877 878 |
# File 'lib/watir-webdriver/elements/generated.rb', line 876 def aside(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "aside")) end |
#asides(*args) ⇒ HTMLElementCollection
884 885 886 |
# File 'lib/watir-webdriver/elements/generated.rb', line 884 def asides(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "aside")) end |
#audio(*args) ⇒ Audio
893 894 895 |
# File 'lib/watir-webdriver/elements/generated.rb', line 893 def audio(*args) Audio.new(self, extract_selector(args).merge(:tag_name => "audio")) end |
#audios(*args) ⇒ AudioCollection
901 902 903 |
# File 'lib/watir-webdriver/elements/generated.rb', line 901 def audios(*args) AudioCollection.new(self, extract_selector(args).merge(:tag_name => "audio")) end |
#b(*args) ⇒ HTMLElement
910 911 912 |
# File 'lib/watir-webdriver/elements/generated.rb', line 910 def b(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "b")) end |
#base(*args) ⇒ Base
927 928 929 |
# File 'lib/watir-webdriver/elements/generated.rb', line 927 def base(*args) Base.new(self, extract_selector(args).merge(:tag_name => "base")) end |
#bases(*args) ⇒ BaseCollection
935 936 937 |
# File 'lib/watir-webdriver/elements/generated.rb', line 935 def bases(*args) BaseCollection.new(self, extract_selector(args).merge(:tag_name => "base")) end |
#bdi(*args) ⇒ HTMLElement
944 945 946 |
# File 'lib/watir-webdriver/elements/generated.rb', line 944 def bdi(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "bdi")) end |
#bdis(*args) ⇒ HTMLElementCollection
952 953 954 |
# File 'lib/watir-webdriver/elements/generated.rb', line 952 def bdis(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "bdi")) end |
#bdo(*args) ⇒ HTMLElement
961 962 963 |
# File 'lib/watir-webdriver/elements/generated.rb', line 961 def bdo(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "bdo")) end |
#bdos(*args) ⇒ HTMLElementCollection
969 970 971 |
# File 'lib/watir-webdriver/elements/generated.rb', line 969 def bdos(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "bdo")) end |
#blockquote(*args) ⇒ Quote
978 979 980 |
# File 'lib/watir-webdriver/elements/generated.rb', line 978 def blockquote(*args) Quote.new(self, extract_selector(args).merge(:tag_name => "blockquote")) end |
#blockquotes(*args) ⇒ QuoteCollection
986 987 988 |
# File 'lib/watir-webdriver/elements/generated.rb', line 986 def blockquotes(*args) QuoteCollection.new(self, extract_selector(args).merge(:tag_name => "blockquote")) end |
#body(*args) ⇒ Body
995 996 997 |
# File 'lib/watir-webdriver/elements/generated.rb', line 995 def body(*args) Body.new(self, extract_selector(args).merge(:tag_name => "body")) end |
#bodys(*args) ⇒ BodyCollection
1003 1004 1005 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1003 def bodys(*args) BodyCollection.new(self, extract_selector(args).merge(:tag_name => "body")) end |
#br(*args) ⇒ BR
1012 1013 1014 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1012 def br(*args) BR.new(self, extract_selector(args).merge(:tag_name => "br")) end |
#brs(*args) ⇒ BRCollection
1020 1021 1022 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1020 def brs(*args) BRCollection.new(self, extract_selector(args).merge(:tag_name => "br")) end |
#bs(*args) ⇒ HTMLElementCollection
918 919 920 |
# File 'lib/watir-webdriver/elements/generated.rb', line 918 def bs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "b")) end |
#button(*args) ⇒ Button
1029 1030 1031 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1029 def (*args) Button.new(self, extract_selector(args).merge(:tag_name => "button")) end |
#buttons(*args) ⇒ ButtonCollection
1037 1038 1039 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1037 def (*args) ButtonCollection.new(self, extract_selector(args).merge(:tag_name => "button")) end |
#canvas(*args) ⇒ Canvas
1046 1047 1048 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1046 def canvas(*args) Canvas.new(self, extract_selector(args).merge(:tag_name => "canvas")) end |
#canvases(*args) ⇒ CanvasCollection
1054 1055 1056 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1054 def canvases(*args) CanvasCollection.new(self, extract_selector(args).merge(:tag_name => "canvas")) end |
#caption(*args) ⇒ TableCaption
1063 1064 1065 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1063 def (*args) TableCaption.new(self, extract_selector(args).merge(:tag_name => "caption")) end |
#captions(*args) ⇒ TableCaptionCollection
1071 1072 1073 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1071 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
1080 1081 1082 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1080 def cite(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "cite")) end |
#cites(*args) ⇒ HTMLElementCollection
1088 1089 1090 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1088 def cites(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "cite")) end |
#code(*args) ⇒ HTMLElement
1097 1098 1099 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1097 def code(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "code")) end |
#codes(*args) ⇒ HTMLElementCollection
1105 1106 1107 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1105 def codes(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "code")) end |
#col(*args) ⇒ TableCol
1114 1115 1116 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1114 def col(*args) TableCol.new(self, extract_selector(args).merge(:tag_name => "col")) end |
#colgroup(*args) ⇒ TableCol
1131 1132 1133 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1131 def colgroup(*args) TableCol.new(self, extract_selector(args).merge(:tag_name => "colgroup")) end |
#colgroups(*args) ⇒ TableColCollection
1139 1140 1141 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1139 def colgroups(*args) TableColCollection.new(self, extract_selector(args).merge(:tag_name => "colgroup")) end |
#cols(*args) ⇒ TableColCollection
1122 1123 1124 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1122 def cols(*args) TableColCollection.new(self, extract_selector(args).merge(:tag_name => "col")) end |
#command(*args) ⇒ Command
1148 1149 1150 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1148 def command(*args) Command.new(self, extract_selector(args).merge(:tag_name => "command")) end |
#commands(*args) ⇒ CommandCollection
1156 1157 1158 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1156 def commands(*args) CommandCollection.new(self, extract_selector(args).merge(:tag_name => "command")) end |
#data(*args) ⇒ DataCollection
1165 1166 1167 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1165 def data(*args) Data.new(self, extract_selector(args).merge(:tag_name => "data")) end |
#datalist(*args) ⇒ DataList
1182 1183 1184 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1182 def datalist(*args) DataList.new(self, extract_selector(args).merge(:tag_name => "datalist")) end |
#datalists(*args) ⇒ DataListCollection
1190 1191 1192 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1190 def datalists(*args) DataListCollection.new(self, extract_selector(args).merge(:tag_name => "datalist")) end |
#dd(*args) ⇒ HTMLElement
1199 1200 1201 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1199 def dd(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "dd")) end |
#dds(*args) ⇒ HTMLElementCollection
1207 1208 1209 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1207 def dds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "dd")) end |
#del(*args) ⇒ Mod
1216 1217 1218 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1216 def del(*args) Mod.new(self, extract_selector(args).merge(:tag_name => "del")) end |
#dels(*args) ⇒ ModCollection
1224 1225 1226 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1224 def dels(*args) ModCollection.new(self, extract_selector(args).merge(:tag_name => "del")) end |
#details(*args) ⇒ Details
1233 1234 1235 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1233 def details(*args) Details.new(self, extract_selector(args).merge(:tag_name => "details")) end |
#detailses(*args) ⇒ DetailsCollection
1241 1242 1243 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1241 def detailses(*args) DetailsCollection.new(self, extract_selector(args).merge(:tag_name => "details")) end |
#dfn(*args) ⇒ HTMLElement
1250 1251 1252 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1250 def dfn(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "dfn")) end |
#dfns(*args) ⇒ HTMLElementCollection
1258 1259 1260 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1258 def dfns(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "dfn")) end |
#dialog(*args) ⇒ Dialog
1267 1268 1269 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1267 def dialog(*args) Dialog.new(self, extract_selector(args).merge(:tag_name => "dialog")) end |
#dialogs(*args) ⇒ DialogCollection
1275 1276 1277 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1275 def dialogs(*args) DialogCollection.new(self, extract_selector(args).merge(:tag_name => "dialog")) end |
#div(*args) ⇒ Div
1284 1285 1286 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1284 def div(*args) Div.new(self, extract_selector(args).merge(:tag_name => "div")) end |
#divs(*args) ⇒ DivCollection
1292 1293 1294 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1292 def divs(*args) DivCollection.new(self, extract_selector(args).merge(:tag_name => "div")) end |
#dl(*args) ⇒ DList
1301 1302 1303 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1301 def dl(*args) DList.new(self, extract_selector(args).merge(:tag_name => "dl")) end |
#dls(*args) ⇒ DListCollection
1309 1310 1311 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1309 def dls(*args) DListCollection.new(self, extract_selector(args).merge(:tag_name => "dl")) end |
#dt(*args) ⇒ HTMLElement
1318 1319 1320 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1318 def dt(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "dt")) end |
#dts(*args) ⇒ HTMLElementCollection
1326 1327 1328 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1326 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
1335 1336 1337 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1335 def em(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "em")) end |
#embed(*args) ⇒ Embed
1352 1353 1354 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1352 def (*args) Embed.new(self, extract_selector(args).merge(:tag_name => "embed")) end |
#embeds(*args) ⇒ EmbedCollection
1360 1361 1362 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1360 def (*args) EmbedCollection.new(self, extract_selector(args).merge(:tag_name => "embed")) end |
#ems(*args) ⇒ HTMLElementCollection
1343 1344 1345 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1343 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
1369 1370 1371 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1369 def fieldset(*args) FieldSet.new(self, extract_selector(args).merge(:tag_name => "fieldset")) end |
#fieldsets(*args) ⇒ FieldSetCollection
1377 1378 1379 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1377 def fieldsets(*args) FieldSetCollection.new(self, extract_selector(args).merge(:tag_name => "fieldset")) end |
#figcaption(*args) ⇒ HTMLElement
1386 1387 1388 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1386 def (*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "figcaption")) end |
#figcaptions(*args) ⇒ HTMLElementCollection
1394 1395 1396 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1394 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "figcaption")) end |
#figure(*args) ⇒ HTMLElement
1403 1404 1405 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1403 def figure(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "figure")) end |
#figures(*args) ⇒ HTMLElementCollection
1411 1412 1413 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1411 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
1420 1421 1422 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1420 def (*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "footer")) end |
#footers(*args) ⇒ HTMLElementCollection
1428 1429 1430 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1428 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "footer")) end |
#form(*args) ⇒ Form
1437 1438 1439 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1437 def form(*args) Form.new(self, extract_selector(args).merge(:tag_name => "form")) end |
#forms(*args) ⇒ FormCollection
1445 1446 1447 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1445 def forms(*args) FormCollection.new(self, extract_selector(args).merge(:tag_name => "form")) end |
#frame(*args) ⇒ Object
63 64 65 |
# File 'lib/watir-webdriver/elements/frame.rb', line 63 def frame(*args) Frame.new(self, extract_selector(args)) end |
#frames(*args) ⇒ Object
67 68 69 |
# File 'lib/watir-webdriver/elements/frame.rb', line 67 def frames(*args) FrameCollection.new(self, extract_selector(args).merge(:tag_name => /^(iframe|frame)$/)) # hack end |
#frameset(*args) ⇒ FrameSet
1454 1455 1456 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1454 def frameset(*args) FrameSet.new(self, extract_selector(args).merge(:tag_name => "frameset")) end |
#framesets(*args) ⇒ FrameSetCollection
1462 1463 1464 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1462 def framesets(*args) FrameSetCollection.new(self, extract_selector(args).merge(:tag_name => "frameset")) end |
#h1(*args) ⇒ Heading
1471 1472 1473 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1471 def h1(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h1")) end |
#h1s(*args) ⇒ HeadingCollection
1479 1480 1481 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1479 def h1s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h1")) end |
#h2(*args) ⇒ Heading
1488 1489 1490 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1488 def h2(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h2")) end |
#h2s(*args) ⇒ HeadingCollection
1496 1497 1498 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1496 def h2s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h2")) end |
#h3(*args) ⇒ Heading
1505 1506 1507 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1505 def h3(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h3")) end |
#h3s(*args) ⇒ HeadingCollection
1513 1514 1515 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1513 def h3s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h3")) end |
#h4(*args) ⇒ Heading
1522 1523 1524 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1522 def h4(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h4")) end |
#h4s(*args) ⇒ HeadingCollection
1530 1531 1532 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1530 def h4s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h4")) end |
#h5(*args) ⇒ Heading
1539 1540 1541 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1539 def h5(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h5")) end |
#h5s(*args) ⇒ HeadingCollection
1547 1548 1549 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1547 def h5s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h5")) end |
#h6(*args) ⇒ Heading
1556 1557 1558 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1556 def h6(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h6")) end |
#h6s(*args) ⇒ HeadingCollection
1564 1565 1566 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1564 def h6s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h6")) end |
#head(*args) ⇒ Head
1573 1574 1575 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1573 def head(*args) Head.new(self, extract_selector(args).merge(:tag_name => "head")) end |
#header(*args) ⇒ HTMLElement
1590 1591 1592 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1590 def header(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "header")) end |
#headers(*args) ⇒ HTMLElementCollection
1598 1599 1600 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1598 def headers(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "header")) end |
#heads(*args) ⇒ HeadCollection
1581 1582 1583 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1581 def heads(*args) HeadCollection.new(self, extract_selector(args).merge(:tag_name => "head")) end |
#hgroup(*args) ⇒ HTMLElement
1607 1608 1609 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1607 def hgroup(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "hgroup")) end |
#hgroups(*args) ⇒ HTMLElementCollection
1615 1616 1617 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1615 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
1624 1625 1626 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1624 def hr(*args) HR.new(self, extract_selector(args).merge(:tag_name => "hr")) end |
#hrs(*args) ⇒ HRCollection
1632 1633 1634 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1632 def hrs(*args) HRCollection.new(self, extract_selector(args).merge(:tag_name => "hr")) end |
#html(*args) ⇒ Html
1641 1642 1643 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1641 def html(*args) Html.new(self, extract_selector(args).merge(:tag_name => "html")) end |
#htmls(*args) ⇒ HtmlCollection
1649 1650 1651 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1649 def htmls(*args) HtmlCollection.new(self, extract_selector(args).merge(:tag_name => "html")) end |
#i(*args) ⇒ HTMLElement
1658 1659 1660 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1658 def i(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "i")) end |
#iframe(*args) ⇒ IFrame
1675 1676 1677 1678 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1675 def iframe(*args) warn "Watir::Container#iframe is replaced by Watir::Container#frame" frame(*args) end |
#iframes(*args) ⇒ IFrameCollection
1683 1684 1685 1686 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1683 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
1692 1693 1694 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1692 def img(*args) Image.new(self, extract_selector(args).merge(:tag_name => "img")) end |
#imgs(*args) ⇒ ImageCollection
1700 1701 1702 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1700 def imgs(*args) ImageCollection.new(self, extract_selector(args).merge(:tag_name => "img")) end |
#input(*args) ⇒ Input
1709 1710 1711 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1709 def input(*args) Input.new(self, extract_selector(args).merge(:tag_name => "input")) end |
#inputs(*args) ⇒ InputCollection
1717 1718 1719 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1717 def inputs(*args) InputCollection.new(self, extract_selector(args).merge(:tag_name => "input")) end |
#ins(*args) ⇒ Mod
1726 1727 1728 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1726 def ins(*args) Mod.new(self, extract_selector(args).merge(:tag_name => "ins")) end |
#inses(*args) ⇒ ModCollection
1734 1735 1736 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1734 def inses(*args) ModCollection.new(self, extract_selector(args).merge(:tag_name => "ins")) end |
#is(*args) ⇒ HTMLElementCollection
1666 1667 1668 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1666 def is(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "i")) end |
#kbd(*args) ⇒ HTMLElement
1743 1744 1745 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1743 def kbd(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "kbd")) end |
#kbds(*args) ⇒ HTMLElementCollection
1751 1752 1753 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1751 def kbds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "kbd")) end |
#keygen(*args) ⇒ Keygen
1760 1761 1762 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1760 def keygen(*args) Keygen.new(self, extract_selector(args).merge(:tag_name => "keygen")) end |
#keygens(*args) ⇒ KeygenCollection
1768 1769 1770 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1768 def keygens(*args) KeygenCollection.new(self, extract_selector(args).merge(:tag_name => "keygen")) end |
#label(*args) ⇒ Label
1777 1778 1779 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1777 def label(*args) Label.new(self, extract_selector(args).merge(:tag_name => "label")) end |
#labels(*args) ⇒ LabelCollection
1785 1786 1787 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1785 def labels(*args) LabelCollection.new(self, extract_selector(args).merge(:tag_name => "label")) end |
#legend(*args) ⇒ Legend
1794 1795 1796 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1794 def legend(*args) Legend.new(self, extract_selector(args).merge(:tag_name => "legend")) end |
#legends(*args) ⇒ LegendCollection
1802 1803 1804 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1802 def legends(*args) LegendCollection.new(self, extract_selector(args).merge(:tag_name => "legend")) end |
#li(*args) ⇒ LI
1811 1812 1813 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1811 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
1819 1820 1821 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1819 def lis(*args) LICollection.new(self, extract_selector(args).merge(:tag_name => "li")) end |
#map(*args) ⇒ Map
1828 1829 1830 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1828 def map(*args) Map.new(self, extract_selector(args).merge(:tag_name => "map")) end |
#maps(*args) ⇒ MapCollection
1836 1837 1838 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1836 def maps(*args) MapCollection.new(self, extract_selector(args).merge(:tag_name => "map")) end |
#mark(*args) ⇒ HTMLElement
1845 1846 1847 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1845 def mark(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "mark")) end |
#marks(*args) ⇒ HTMLElementCollection
1853 1854 1855 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1853 def marks(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "mark")) end |
#menu(*args) ⇒ Menu
1862 1863 1864 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1862 def (*args) Menu.new(self, extract_selector(args).merge(:tag_name => "menu")) end |
#menus(*args) ⇒ MenuCollection
1870 1871 1872 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1870 def (*args) MenuCollection.new(self, extract_selector(args).merge(:tag_name => "menu")) end |
#meta(*args) ⇒ Meta
1879 1880 1881 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1879 def (*args) Meta.new(self, extract_selector(args).merge(:tag_name => "meta")) end |
#metas(*args) ⇒ MetaCollection
1887 1888 1889 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1887 def (*args) MetaCollection.new(self, extract_selector(args).merge(:tag_name => "meta")) end |
#meter(*args) ⇒ Meter
1896 1897 1898 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1896 def meter(*args) Meter.new(self, extract_selector(args).merge(:tag_name => "meter")) end |
#meters(*args) ⇒ MeterCollection
1904 1905 1906 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1904 def meters(*args) MeterCollection.new(self, extract_selector(args).merge(:tag_name => "meter")) end |
#nav(*args) ⇒ HTMLElement
1913 1914 1915 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1913 def nav(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "nav")) end |
#navs(*args) ⇒ HTMLElementCollection
1921 1922 1923 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1921 def navs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "nav")) end |
#noscript(*args) ⇒ HTMLElement
1930 1931 1932 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1930 def noscript(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "noscript")) end |
#noscripts(*args) ⇒ HTMLElementCollection
1938 1939 1940 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1938 def noscripts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "noscript")) end |
#object(*args) ⇒ Object
1947 1948 1949 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1947 def object(*args) Object.new(self, extract_selector(args).merge(:tag_name => "object")) end |
#objects(*args) ⇒ ObjectCollection
1955 1956 1957 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1955 def objects(*args) ObjectCollection.new(self, extract_selector(args).merge(:tag_name => "object")) end |
#ol(*args) ⇒ OList
1964 1965 1966 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1964 def ol(*args) OList.new(self, extract_selector(args).merge(:tag_name => "ol")) end |
#ols(*args) ⇒ OListCollection
1972 1973 1974 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1972 def ols(*args) OListCollection.new(self, extract_selector(args).merge(:tag_name => "ol")) end |
#optgroup(*args) ⇒ OptGroup
1981 1982 1983 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1981 def optgroup(*args) OptGroup.new(self, extract_selector(args).merge(:tag_name => "optgroup")) end |
#optgroups(*args) ⇒ OptGroupCollection
1989 1990 1991 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1989 def optgroups(*args) OptGroupCollection.new(self, extract_selector(args).merge(:tag_name => "optgroup")) end |
#option(*args) ⇒ Option
1998 1999 2000 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1998 def option(*args) Option.new(self, extract_selector(args).merge(:tag_name => "option")) end |
#options(*args) ⇒ OptionCollection
2006 2007 2008 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2006 def (*args) OptionCollection.new(self, extract_selector(args).merge(:tag_name => "option")) end |
#output(*args) ⇒ Output
2015 2016 2017 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2015 def output(*args) Output.new(self, extract_selector(args).merge(:tag_name => "output")) end |
#outputs(*args) ⇒ OutputCollection
2023 2024 2025 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2023 def outputs(*args) OutputCollection.new(self, extract_selector(args).merge(:tag_name => "output")) end |
#p(*args) ⇒ Paragraph
2032 2033 2034 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2032 def p(*args) Paragraph.new(self, extract_selector(args).merge(:tag_name => "p")) end |
#param(*args) ⇒ Param
2049 2050 2051 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2049 def param(*args) Param.new(self, extract_selector(args).merge(:tag_name => "param")) end |
#params(*args) ⇒ ParamCollection
2057 2058 2059 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2057 def params(*args) ParamCollection.new(self, extract_selector(args).merge(:tag_name => "param")) end |
#pre(*args) ⇒ Pre
2066 2067 2068 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2066 def pre(*args) Pre.new(self, extract_selector(args).merge(:tag_name => "pre")) end |
#pres(*args) ⇒ PreCollection
2074 2075 2076 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2074 def pres(*args) PreCollection.new(self, extract_selector(args).merge(:tag_name => "pre")) end |
#progress(*args) ⇒ Progress
2083 2084 2085 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2083 def progress(*args) Progress.new(self, extract_selector(args).merge(:tag_name => "progress")) end |
#progresses(*args) ⇒ ProgressCollection
2091 2092 2093 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2091 def progresses(*args) ProgressCollection.new(self, extract_selector(args).merge(:tag_name => "progress")) end |
#ps(*args) ⇒ ParagraphCollection
2040 2041 2042 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2040 def ps(*args) ParagraphCollection.new(self, extract_selector(args).merge(:tag_name => "p")) end |
#q(*args) ⇒ Quote
2100 2101 2102 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2100 def q(*args) Quote.new(self, extract_selector(args).merge(:tag_name => "q")) end |
#qs(*args) ⇒ QuoteCollection
2108 2109 2110 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2108 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
2117 2118 2119 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2117 def rp(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "rp")) end |
#rps(*args) ⇒ HTMLElementCollection
2125 2126 2127 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2125 def rps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "rp")) end |
#rt(*args) ⇒ HTMLElement
2134 2135 2136 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2134 def rt(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "rt")) end |
#rts(*args) ⇒ HTMLElementCollection
2142 2143 2144 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2142 def rts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "rt")) end |
#rubies(*args) ⇒ HTMLElementCollection
2159 2160 2161 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2159 def rubies(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "ruby")) end |
#ruby(*args) ⇒ HTMLElement
2151 2152 2153 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2151 def ruby(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "ruby")) end |
#s(*args) ⇒ HTMLElement
2168 2169 2170 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2168 def s(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "s")) end |
#samp(*args) ⇒ HTMLElement
2185 2186 2187 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2185 def samp(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "samp")) end |
#samps(*args) ⇒ HTMLElementCollection
2193 2194 2195 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2193 def samps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "samp")) end |
#script(*args) ⇒ Script
2202 2203 2204 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2202 def script(*args) Script.new(self, extract_selector(args).merge(:tag_name => "script")) end |
#scripts(*args) ⇒ ScriptCollection
2210 2211 2212 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2210 def scripts(*args) ScriptCollection.new(self, extract_selector(args).merge(:tag_name => "script")) end |
#section(*args) ⇒ HTMLElement
2219 2220 2221 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2219 def section(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "section")) end |
#sections(*args) ⇒ HTMLElementCollection
2227 2228 2229 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2227 def sections(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "section")) end |
#select(*args) ⇒ Select
2236 2237 2238 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2236 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
2244 2245 2246 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2244 def selects(*args) SelectCollection.new(self, extract_selector(args).merge(:tag_name => "select")) end |
#small(*args) ⇒ HTMLElement
2253 2254 2255 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2253 def small(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "small")) end |
#smalls(*args) ⇒ HTMLElementCollection
2261 2262 2263 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2261 def smalls(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "small")) end |
#source(*args) ⇒ Source
2270 2271 2272 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2270 def source(*args) Source.new(self, extract_selector(args).merge(:tag_name => "source")) end |
#sources(*args) ⇒ SourceCollection
2278 2279 2280 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2278 def sources(*args) SourceCollection.new(self, extract_selector(args).merge(:tag_name => "source")) end |
#span(*args) ⇒ Span
2287 2288 2289 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2287 def span(*args) Span.new(self, extract_selector(args).merge(:tag_name => "span")) end |
#spans(*args) ⇒ SpanCollection
2295 2296 2297 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2295 def spans(*args) SpanCollection.new(self, extract_selector(args).merge(:tag_name => "span")) end |
#ss(*args) ⇒ HTMLElementCollection
2176 2177 2178 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2176 def ss(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "s")) end |
#strong(*args) ⇒ HTMLElement
2304 2305 2306 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2304 def strong(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "strong")) end |
#strongs(*args) ⇒ HTMLElementCollection
2312 2313 2314 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2312 def strongs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "strong")) end |
#style(*args) ⇒ Style
2321 2322 2323 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2321 def style(*args) Style.new(self, extract_selector(args).merge(:tag_name => "style")) end |
#styles(*args) ⇒ StyleCollection
2329 2330 2331 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2329 def styles(*args) StyleCollection.new(self, extract_selector(args).merge(:tag_name => "style")) end |
#sub(*args) ⇒ HTMLElement
2338 2339 2340 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2338 def sub(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "sub")) end |
#subs(*args) ⇒ HTMLElementCollection
2346 2347 2348 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2346 def subs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "sub")) end |
#summaries(*args) ⇒ HTMLElementCollection
2363 2364 2365 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2363 def summaries(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "summary")) end |
#summary(*args) ⇒ HTMLElement
2355 2356 2357 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2355 def summary(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "summary")) end |
#sup(*args) ⇒ HTMLElement
2372 2373 2374 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2372 def sup(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "sup")) end |
#sups(*args) ⇒ HTMLElementCollection
2380 2381 2382 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2380 def sups(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "sup")) end |
#table(*args) ⇒ Table
2389 2390 2391 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2389 def table(*args) Table.new(self, extract_selector(args).merge(:tag_name => "table")) end |
#tables(*args) ⇒ TableCollection
2397 2398 2399 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2397 def tables(*args) TableCollection.new(self, extract_selector(args).merge(:tag_name => "table")) end |
#tbody(*args) ⇒ TableSection
2406 2407 2408 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2406 def tbody(*args) TableSection.new(self, extract_selector(args).merge(:tag_name => "tbody")) end |
#tbodys(*args) ⇒ TableSectionCollection
2414 2415 2416 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2414 def tbodys(*args) TableSectionCollection.new(self, extract_selector(args).merge(:tag_name => "tbody")) end |
#td(*args) ⇒ TableDataCell
2423 2424 2425 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2423 def td(*args) TableDataCell.new(self, extract_selector(args).merge(:tag_name => "td")) end |
#tds(*args) ⇒ TableDataCellCollection
2431 2432 2433 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2431 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
2440 2441 2442 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2440 def textarea(*args) TextArea.new(self, extract_selector(args).merge(:tag_name => "textarea")) end |
#textareas(*args) ⇒ TextAreaCollection
2448 2449 2450 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2448 def textareas(*args) TextAreaCollection.new(self, extract_selector(args).merge(:tag_name => "textarea")) end |
#tfoot(*args) ⇒ TableSection
2457 2458 2459 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2457 def tfoot(*args) TableSection.new(self, extract_selector(args).merge(:tag_name => "tfoot")) end |
#tfoots(*args) ⇒ TableSectionCollection
2465 2466 2467 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2465 def tfoots(*args) TableSectionCollection.new(self, extract_selector(args).merge(:tag_name => "tfoot")) end |
#th(*args) ⇒ TableHeaderCell
2474 2475 2476 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2474 def th(*args) TableHeaderCell.new(self, extract_selector(args).merge(:tag_name => "th")) end |
#thead(*args) ⇒ TableSection
2491 2492 2493 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2491 def thead(*args) TableSection.new(self, extract_selector(args).merge(:tag_name => "thead")) end |
#theads(*args) ⇒ TableSectionCollection
2499 2500 2501 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2499 def theads(*args) TableSectionCollection.new(self, extract_selector(args).merge(:tag_name => "thead")) end |
#ths(*args) ⇒ TableHeaderCellCollection
2482 2483 2484 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2482 def ths(*args) TableHeaderCellCollection.new(self, extract_selector(args).merge(:tag_name => "th")) end |
#time(*args) ⇒ Time
2508 2509 2510 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2508 def time(*args) Time.new(self, extract_selector(args).merge(:tag_name => "time")) end |
#times(*args) ⇒ TimeCollection
2516 2517 2518 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2516 def times(*args) TimeCollection.new(self, extract_selector(args).merge(:tag_name => "time")) end |
#title(*args) ⇒ Title
2525 2526 2527 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2525 def title(*args) Title.new(self, extract_selector(args).merge(:tag_name => "title")) end |
#titles(*args) ⇒ TitleCollection
2533 2534 2535 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2533 def titles(*args) TitleCollection.new(self, extract_selector(args).merge(:tag_name => "title")) end |
#tr(*args) ⇒ TableRow
2542 2543 2544 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2542 def tr(*args) TableRow.new(self, extract_selector(args).merge(:tag_name => "tr")) end |
#track(*args) ⇒ Track
2559 2560 2561 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2559 def track(*args) Track.new(self, extract_selector(args).merge(:tag_name => "track")) end |
#tracks(*args) ⇒ TrackCollection
2567 2568 2569 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2567 def tracks(*args) TrackCollection.new(self, extract_selector(args).merge(:tag_name => "track")) end |
#trs(*args) ⇒ TableRowCollection
2550 2551 2552 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2550 def trs(*args) TableRowCollection.new(self, extract_selector(args).merge(:tag_name => "tr")) end |
#u(*args) ⇒ HTMLElement
2576 2577 2578 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2576 def u(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "u")) end |
#ul(*args) ⇒ UList
2593 2594 2595 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2593 def ul(*args) UList.new(self, extract_selector(args).merge(:tag_name => "ul")) end |
#uls(*args) ⇒ UListCollection
2601 2602 2603 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2601 def uls(*args) UListCollection.new(self, extract_selector(args).merge(:tag_name => "ul")) end |
#us(*args) ⇒ HTMLElementCollection
2584 2585 2586 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2584 def us(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "u")) end |
#var(*args) ⇒ HTMLElement
2610 2611 2612 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2610 def var(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "var")) end |
#vars(*args) ⇒ HTMLElementCollection
2618 2619 2620 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2618 def vars(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "var")) end |
#video(*args) ⇒ Video
2627 2628 2629 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2627 def video(*args) Video.new(self, extract_selector(args).merge(:tag_name => "video")) end |
#videos(*args) ⇒ VideoCollection
2635 2636 2637 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2635 def videos(*args) VideoCollection.new(self, extract_selector(args).merge(:tag_name => "video")) end |
#wbr(*args) ⇒ HTMLElement
2644 2645 2646 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2644 def wbr(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "wbr")) end |
#wbrs(*args) ⇒ HTMLElementCollection
2652 2653 2654 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2652 def wbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "wbr")) end |