Module: Watir::Container
- Includes:
- Atoms, XpathSupport
- Defined in:
- lib/watir-webdriver/elements/image.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/radio.rb,
lib/watir-webdriver/elements/hidden.rb,
lib/watir-webdriver/elements/iframe.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
TextField
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
- #data(*args) ⇒ Data
- #datalist(*args) ⇒ DataList
- #datalists(*args) ⇒ DataListCollection
- #datas(*args) ⇒ DataCollection
- #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) ⇒ HTMLElement
Returns element.
-
#elements(*args) ⇒ HTMLElementCollection
Returns element collection.
- #em(*args) ⇒ HTMLElement
- #embed(*args) ⇒ Embed
- #embeds(*args) ⇒ EmbedCollection
- #ems(*args) ⇒ HTMLElementCollection
- #extract_selector(selectors) ⇒ Object private
- #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
- #main(*args) ⇒ HTMLElement
- #mains(*args) ⇒ HTMLElementCollection
- #map(*args) ⇒ Map
- #maps(*args) ⇒ MapCollection
- #mark(*args) ⇒ HTMLElement
- #marks(*args) ⇒ HTMLElementCollection
- #menu(*args) ⇒ Menu
- #menuitem(*args) ⇒ MenuItem
- #menuitems(*args) ⇒ MenuItemCollection
- #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
- #template(*args) ⇒ Template
- #templates(*args) ⇒ TemplateCollection
- #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
800 801 802 |
# File 'lib/watir-webdriver/elements/generated.rb', line 800 def a(*args) Anchor.new(self, extract_selector(args).merge(:tag_name => "a")) end |
#abbr(*args) ⇒ HTMLElement
817 818 819 |
# File 'lib/watir-webdriver/elements/generated.rb', line 817 def abbr(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "abbr")) end |
#abbrs(*args) ⇒ HTMLElementCollection
825 826 827 |
# File 'lib/watir-webdriver/elements/generated.rb', line 825 def abbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "abbr")) end |
#address(*args) ⇒ HTMLElement
834 835 836 |
# File 'lib/watir-webdriver/elements/generated.rb', line 834 def address(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "address")) end |
#addresses(*args) ⇒ HTMLElementCollection
842 843 844 |
# File 'lib/watir-webdriver/elements/generated.rb', line 842 def addresses(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "address")) end |
#area(*args) ⇒ Area
851 852 853 |
# File 'lib/watir-webdriver/elements/generated.rb', line 851 def area(*args) Area.new(self, extract_selector(args).merge(:tag_name => "area")) end |
#areas(*args) ⇒ AreaCollection
859 860 861 |
# File 'lib/watir-webdriver/elements/generated.rb', line 859 def areas(*args) AreaCollection.new(self, extract_selector(args).merge(:tag_name => "area")) end |
#article(*args) ⇒ HTMLElement
868 869 870 |
# File 'lib/watir-webdriver/elements/generated.rb', line 868 def article(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "article")) end |
#articles(*args) ⇒ HTMLElementCollection
876 877 878 |
# File 'lib/watir-webdriver/elements/generated.rb', line 876 def articles(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "article")) end |
#as(*args) ⇒ AnchorCollection
808 809 810 |
# File 'lib/watir-webdriver/elements/generated.rb', line 808 def as(*args) AnchorCollection.new(self, extract_selector(args).merge(:tag_name => "a")) end |
#aside(*args) ⇒ HTMLElement
885 886 887 |
# File 'lib/watir-webdriver/elements/generated.rb', line 885 def aside(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "aside")) end |
#asides(*args) ⇒ HTMLElementCollection
893 894 895 |
# File 'lib/watir-webdriver/elements/generated.rb', line 893 def asides(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "aside")) end |
#audio(*args) ⇒ Audio
902 903 904 |
# File 'lib/watir-webdriver/elements/generated.rb', line 902 def audio(*args) Audio.new(self, extract_selector(args).merge(:tag_name => "audio")) end |
#audios(*args) ⇒ AudioCollection
910 911 912 |
# File 'lib/watir-webdriver/elements/generated.rb', line 910 def audios(*args) AudioCollection.new(self, extract_selector(args).merge(:tag_name => "audio")) end |
#b(*args) ⇒ HTMLElement
919 920 921 |
# File 'lib/watir-webdriver/elements/generated.rb', line 919 def b(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "b")) end |
#base(*args) ⇒ Base
936 937 938 |
# File 'lib/watir-webdriver/elements/generated.rb', line 936 def base(*args) Base.new(self, extract_selector(args).merge(:tag_name => "base")) end |
#bases(*args) ⇒ BaseCollection
944 945 946 |
# File 'lib/watir-webdriver/elements/generated.rb', line 944 def bases(*args) BaseCollection.new(self, extract_selector(args).merge(:tag_name => "base")) end |
#bdi(*args) ⇒ HTMLElement
953 954 955 |
# File 'lib/watir-webdriver/elements/generated.rb', line 953 def bdi(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "bdi")) end |
#bdis(*args) ⇒ HTMLElementCollection
961 962 963 |
# File 'lib/watir-webdriver/elements/generated.rb', line 961 def bdis(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "bdi")) end |
#bdo(*args) ⇒ HTMLElement
970 971 972 |
# File 'lib/watir-webdriver/elements/generated.rb', line 970 def bdo(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "bdo")) end |
#bdos(*args) ⇒ HTMLElementCollection
978 979 980 |
# File 'lib/watir-webdriver/elements/generated.rb', line 978 def bdos(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "bdo")) end |
#blockquote(*args) ⇒ Quote
987 988 989 |
# File 'lib/watir-webdriver/elements/generated.rb', line 987 def blockquote(*args) Quote.new(self, extract_selector(args).merge(:tag_name => "blockquote")) end |
#blockquotes(*args) ⇒ QuoteCollection
995 996 997 |
# File 'lib/watir-webdriver/elements/generated.rb', line 995 def blockquotes(*args) QuoteCollection.new(self, extract_selector(args).merge(:tag_name => "blockquote")) end |
#body(*args) ⇒ Body
1004 1005 1006 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1004 def body(*args) Body.new(self, extract_selector(args).merge(:tag_name => "body")) end |
#bodys(*args) ⇒ BodyCollection
1012 1013 1014 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1012 def bodys(*args) BodyCollection.new(self, extract_selector(args).merge(:tag_name => "body")) end |
#br(*args) ⇒ BR
1021 1022 1023 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1021 def br(*args) BR.new(self, extract_selector(args).merge(:tag_name => "br")) end |
#brs(*args) ⇒ BRCollection
1029 1030 1031 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1029 def brs(*args) BRCollection.new(self, extract_selector(args).merge(:tag_name => "br")) end |
#bs(*args) ⇒ HTMLElementCollection
927 928 929 |
# File 'lib/watir-webdriver/elements/generated.rb', line 927 def bs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "b")) end |
#button(*args) ⇒ Button
1038 1039 1040 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1038 def (*args) Button.new(self, extract_selector(args).merge(:tag_name => "button")) end |
#buttons(*args) ⇒ ButtonCollection
1046 1047 1048 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1046 def (*args) ButtonCollection.new(self, extract_selector(args).merge(:tag_name => "button")) end |
#canvas(*args) ⇒ Canvas
1055 1056 1057 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1055 def canvas(*args) Canvas.new(self, extract_selector(args).merge(:tag_name => "canvas")) end |
#canvases(*args) ⇒ CanvasCollection
1063 1064 1065 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1063 def canvases(*args) CanvasCollection.new(self, extract_selector(args).merge(:tag_name => "canvas")) end |
#caption(*args) ⇒ TableCaption
1072 1073 1074 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1072 def (*args) TableCaption.new(self, extract_selector(args).merge(:tag_name => "caption")) end |
#captions(*args) ⇒ TableCaptionCollection
1080 1081 1082 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1080 def (*args) TableCaptionCollection.new(self, extract_selector(args).merge(:tag_name => "caption")) end |
#checkbox(*args) ⇒ Object
53 54 55 |
# File 'lib/watir-webdriver/elements/checkbox.rb', line 53 def checkbox(*args) CheckBox.new(self, extract_selector(args).merge(:tag_name => "input", :type => "checkbox")) end |
#checkboxes(*args) ⇒ Object
57 58 59 |
# File 'lib/watir-webdriver/elements/checkbox.rb', line 57 def checkboxes(*args) CheckBoxCollection.new(self, extract_selector(args).merge(:tag_name => "input", :type => "checkbox")) end |
#cite(*args) ⇒ HTMLElement
1089 1090 1091 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1089 def cite(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "cite")) end |
#cites(*args) ⇒ HTMLElementCollection
1097 1098 1099 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1097 def cites(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "cite")) end |
#code(*args) ⇒ HTMLElement
1106 1107 1108 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1106 def code(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "code")) end |
#codes(*args) ⇒ HTMLElementCollection
1114 1115 1116 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1114 def codes(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "code")) end |
#col(*args) ⇒ TableCol
1123 1124 1125 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1123 def col(*args) TableCol.new(self, extract_selector(args).merge(:tag_name => "col")) end |
#colgroup(*args) ⇒ TableCol
1140 1141 1142 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1140 def colgroup(*args) TableCol.new(self, extract_selector(args).merge(:tag_name => "colgroup")) end |
#colgroups(*args) ⇒ TableColCollection
1148 1149 1150 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1148 def colgroups(*args) TableColCollection.new(self, extract_selector(args).merge(:tag_name => "colgroup")) end |
#cols(*args) ⇒ TableColCollection
1131 1132 1133 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1131 def cols(*args) TableColCollection.new(self, extract_selector(args).merge(:tag_name => "col")) end |
#data(*args) ⇒ Data
1157 1158 1159 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1157 def data(*args) Data.new(self, extract_selector(args).merge(:tag_name => "data")) end |
#datalist(*args) ⇒ DataList
1174 1175 1176 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1174 def datalist(*args) DataList.new(self, extract_selector(args).merge(:tag_name => "datalist")) end |
#datalists(*args) ⇒ DataListCollection
1182 1183 1184 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1182 def datalists(*args) DataListCollection.new(self, extract_selector(args).merge(:tag_name => "datalist")) end |
#datas(*args) ⇒ DataCollection
1165 1166 1167 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1165 def datas(*args) DataCollection.new(self, extract_selector(args).merge(:tag_name => "data")) end |
#dd(*args) ⇒ HTMLElement
1191 1192 1193 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1191 def dd(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "dd")) end |
#dds(*args) ⇒ HTMLElementCollection
1199 1200 1201 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1199 def dds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "dd")) end |
#del(*args) ⇒ Mod
1208 1209 1210 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1208 def del(*args) Mod.new(self, extract_selector(args).merge(:tag_name => "del")) end |
#dels(*args) ⇒ ModCollection
1216 1217 1218 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1216 def dels(*args) ModCollection.new(self, extract_selector(args).merge(:tag_name => "del")) end |
#details(*args) ⇒ Details
1225 1226 1227 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1225 def details(*args) Details.new(self, extract_selector(args).merge(:tag_name => "details")) end |
#detailses(*args) ⇒ DetailsCollection
1233 1234 1235 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1233 def detailses(*args) DetailsCollection.new(self, extract_selector(args).merge(:tag_name => "details")) end |
#dfn(*args) ⇒ HTMLElement
1242 1243 1244 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1242 def dfn(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "dfn")) end |
#dfns(*args) ⇒ HTMLElementCollection
1250 1251 1252 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1250 def dfns(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "dfn")) end |
#dialog(*args) ⇒ Dialog
1259 1260 1261 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1259 def dialog(*args) Dialog.new(self, extract_selector(args).merge(:tag_name => "dialog")) end |
#dialogs(*args) ⇒ DialogCollection
1267 1268 1269 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1267 def dialogs(*args) DialogCollection.new(self, extract_selector(args).merge(:tag_name => "dialog")) end |
#div(*args) ⇒ Div
1276 1277 1278 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1276 def div(*args) Div.new(self, extract_selector(args).merge(:tag_name => "div")) end |
#divs(*args) ⇒ DivCollection
1284 1285 1286 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1284 def divs(*args) DivCollection.new(self, extract_selector(args).merge(:tag_name => "div")) end |
#dl(*args) ⇒ DList
1293 1294 1295 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1293 def dl(*args) DList.new(self, extract_selector(args).merge(:tag_name => "dl")) end |
#dls(*args) ⇒ DListCollection
1301 1302 1303 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1301 def dls(*args) DListCollection.new(self, extract_selector(args).merge(:tag_name => "dl")) end |
#dt(*args) ⇒ HTMLElement
1310 1311 1312 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1310 def dt(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "dt")) end |
#dts(*args) ⇒ HTMLElementCollection
1318 1319 1320 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1318 def dts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "dt")) end |
#element(*args) ⇒ HTMLElement
Returns element.
16 17 18 |
# File 'lib/watir-webdriver/container.rb', line 16 def element(*args) HTMLElement.new(self, extract_selector(args)) end |
#elements(*args) ⇒ HTMLElementCollection
Returns element collection.
29 30 31 |
# File 'lib/watir-webdriver/container.rb', line 29 def elements(*args) HTMLElementCollection.new(self, extract_selector(args)) end |
#em(*args) ⇒ HTMLElement
1327 1328 1329 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1327 def em(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "em")) end |
#embed(*args) ⇒ Embed
1344 1345 1346 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1344 def (*args) Embed.new(self, extract_selector(args).merge(:tag_name => "embed")) end |
#embeds(*args) ⇒ EmbedCollection
1352 1353 1354 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1352 def (*args) EmbedCollection.new(self, extract_selector(args).merge(:tag_name => "embed")) end |
#ems(*args) ⇒ HTMLElementCollection
1335 1336 1337 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1335 def ems(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "em")) end |
#extract_selector(selectors) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/watir-webdriver/container.rb', line 37 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
1361 1362 1363 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1361 def fieldset(*args) FieldSet.new(self, extract_selector(args).merge(:tag_name => "fieldset")) end |
#fieldsets(*args) ⇒ FieldSetCollection
1369 1370 1371 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1369 def fieldsets(*args) FieldSetCollection.new(self, extract_selector(args).merge(:tag_name => "fieldset")) end |
#figcaption(*args) ⇒ HTMLElement
1378 1379 1380 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1378 def (*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "figcaption")) end |
#figcaptions(*args) ⇒ HTMLElementCollection
1386 1387 1388 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1386 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "figcaption")) end |
#figure(*args) ⇒ HTMLElement
1395 1396 1397 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1395 def figure(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "figure")) end |
#figures(*args) ⇒ HTMLElementCollection
1403 1404 1405 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1403 def figures(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "figure")) end |
#file_field(*args) ⇒ Object
32 33 34 |
# File 'lib/watir-webdriver/elements/file_field.rb', line 32 def file_field(*args) FileField.new(self, extract_selector(args).merge(:tag_name => "input", :type => "file")) end |
#file_fields(*args) ⇒ Object
36 37 38 |
# File 'lib/watir-webdriver/elements/file_field.rb', line 36 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
1412 1413 1414 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1412 def (*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "footer")) end |
#footers(*args) ⇒ HTMLElementCollection
1420 1421 1422 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1420 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "footer")) end |
#form(*args) ⇒ Form
1429 1430 1431 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1429 def form(*args) Form.new(self, extract_selector(args).merge(:tag_name => "form")) end |
#forms(*args) ⇒ FormCollection
1437 1438 1439 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1437 def forms(*args) FormCollection.new(self, extract_selector(args).merge(:tag_name => "form")) end |
#frame(*args) ⇒ Object
90 91 92 |
# File 'lib/watir-webdriver/elements/iframe.rb', line 90 def frame(*args) Frame.new(self, extract_selector(args).merge(:tag_name => "frame")) end |
#frames(*args) ⇒ Object
94 95 96 |
# File 'lib/watir-webdriver/elements/iframe.rb', line 94 def frames(*args) FrameCollection.new(self, extract_selector(args).merge(:tag_name => "frame")) end |
#frameset(*args) ⇒ FrameSet
1446 1447 1448 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1446 def frameset(*args) FrameSet.new(self, extract_selector(args).merge(:tag_name => "frameset")) end |
#framesets(*args) ⇒ FrameSetCollection
1454 1455 1456 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1454 def framesets(*args) FrameSetCollection.new(self, extract_selector(args).merge(:tag_name => "frameset")) end |
#h1(*args) ⇒ Heading
1463 1464 1465 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1463 def h1(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h1")) end |
#h1s(*args) ⇒ HeadingCollection
1471 1472 1473 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1471 def h1s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h1")) end |
#h2(*args) ⇒ Heading
1480 1481 1482 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1480 def h2(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h2")) end |
#h2s(*args) ⇒ HeadingCollection
1488 1489 1490 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1488 def h2s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h2")) end |
#h3(*args) ⇒ Heading
1497 1498 1499 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1497 def h3(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h3")) end |
#h3s(*args) ⇒ HeadingCollection
1505 1506 1507 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1505 def h3s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h3")) end |
#h4(*args) ⇒ Heading
1514 1515 1516 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1514 def h4(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h4")) end |
#h4s(*args) ⇒ HeadingCollection
1522 1523 1524 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1522 def h4s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h4")) end |
#h5(*args) ⇒ Heading
1531 1532 1533 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1531 def h5(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h5")) end |
#h5s(*args) ⇒ HeadingCollection
1539 1540 1541 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1539 def h5s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h5")) end |
#h6(*args) ⇒ Heading
1548 1549 1550 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1548 def h6(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h6")) end |
#h6s(*args) ⇒ HeadingCollection
1556 1557 1558 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1556 def h6s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h6")) end |
#head(*args) ⇒ Head
1565 1566 1567 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1565 def head(*args) Head.new(self, extract_selector(args).merge(:tag_name => "head")) end |
#header(*args) ⇒ HTMLElement
1582 1583 1584 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1582 def header(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "header")) end |
#headers(*args) ⇒ HTMLElementCollection
1590 1591 1592 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1590 def headers(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "header")) end |
#heads(*args) ⇒ HeadCollection
1573 1574 1575 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1573 def heads(*args) HeadCollection.new(self, extract_selector(args).merge(:tag_name => "head")) end |
#hgroup(*args) ⇒ HTMLElement
1599 1600 1601 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1599 def hgroup(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "hgroup")) end |
#hgroups(*args) ⇒ HTMLElementCollection
1607 1608 1609 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1607 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
1616 1617 1618 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1616 def hr(*args) HR.new(self, extract_selector(args).merge(:tag_name => "hr")) end |
#hrs(*args) ⇒ HRCollection
1624 1625 1626 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1624 def hrs(*args) HRCollection.new(self, extract_selector(args).merge(:tag_name => "hr")) end |
#html(*args) ⇒ Html
1633 1634 1635 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1633 def html(*args) Html.new(self, extract_selector(args).merge(:tag_name => "html")) end |
#htmls(*args) ⇒ HtmlCollection
1641 1642 1643 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1641 def htmls(*args) HtmlCollection.new(self, extract_selector(args).merge(:tag_name => "html")) end |
#i(*args) ⇒ HTMLElement
1650 1651 1652 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1650 def i(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "i")) end |
#iframe(*args) ⇒ IFrame
1667 1668 1669 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1667 def iframe(*args) IFrame.new(self, extract_selector(args).merge(:tag_name => "iframe")) end |
#iframes(*args) ⇒ IFrameCollection
1675 1676 1677 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1675 def iframes(*args) IFrameCollection.new(self, extract_selector(args).merge(:tag_name => "iframe")) end |
#image ⇒ Object
60 |
# File 'lib/watir-webdriver/elements/image.rb', line 60 alias_method :image, :img |
#images ⇒ Object
61 |
# File 'lib/watir-webdriver/elements/image.rb', line 61 alias_method :images, :imgs |
#img(*args) ⇒ Image
1684 1685 1686 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1684 def img(*args) Image.new(self, extract_selector(args).merge(:tag_name => "img")) end |
#imgs(*args) ⇒ ImageCollection
1692 1693 1694 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1692 def imgs(*args) ImageCollection.new(self, extract_selector(args).merge(:tag_name => "img")) end |
#input(*args) ⇒ Input
1701 1702 1703 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1701 def input(*args) Input.new(self, extract_selector(args).merge(:tag_name => "input")) end |
#inputs(*args) ⇒ InputCollection
1709 1710 1711 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1709 def inputs(*args) InputCollection.new(self, extract_selector(args).merge(:tag_name => "input")) end |
#ins(*args) ⇒ Mod
1718 1719 1720 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1718 def ins(*args) Mod.new(self, extract_selector(args).merge(:tag_name => "ins")) end |
#inses(*args) ⇒ ModCollection
1726 1727 1728 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1726 def inses(*args) ModCollection.new(self, extract_selector(args).merge(:tag_name => "ins")) end |
#is(*args) ⇒ HTMLElementCollection
1658 1659 1660 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1658 def is(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "i")) end |
#kbd(*args) ⇒ HTMLElement
1735 1736 1737 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1735 def kbd(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "kbd")) end |
#kbds(*args) ⇒ HTMLElementCollection
1743 1744 1745 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1743 def kbds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "kbd")) end |
#keygen(*args) ⇒ Keygen
1752 1753 1754 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1752 def keygen(*args) Keygen.new(self, extract_selector(args).merge(:tag_name => "keygen")) end |
#keygens(*args) ⇒ KeygenCollection
1760 1761 1762 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1760 def keygens(*args) KeygenCollection.new(self, extract_selector(args).merge(:tag_name => "keygen")) end |
#label(*args) ⇒ Label
1769 1770 1771 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1769 def label(*args) Label.new(self, extract_selector(args).merge(:tag_name => "label")) end |
#labels(*args) ⇒ LabelCollection
1777 1778 1779 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1777 def labels(*args) LabelCollection.new(self, extract_selector(args).merge(:tag_name => "label")) end |
#legend(*args) ⇒ Legend
1786 1787 1788 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1786 def legend(*args) Legend.new(self, extract_selector(args).merge(:tag_name => "legend")) end |
#legends(*args) ⇒ LegendCollection
1794 1795 1796 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1794 def legends(*args) LegendCollection.new(self, extract_selector(args).merge(:tag_name => "legend")) end |
#li(*args) ⇒ LI
1803 1804 1805 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1803 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
1811 1812 1813 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1811 def lis(*args) LICollection.new(self, extract_selector(args).merge(:tag_name => "li")) end |
#main(*args) ⇒ HTMLElement
1820 1821 1822 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1820 def main(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "main")) end |
#mains(*args) ⇒ HTMLElementCollection
1828 1829 1830 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1828 def mains(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "main")) end |
#map(*args) ⇒ Map
1837 1838 1839 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1837 def map(*args) Map.new(self, extract_selector(args).merge(:tag_name => "map")) end |
#maps(*args) ⇒ MapCollection
1845 1846 1847 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1845 def maps(*args) MapCollection.new(self, extract_selector(args).merge(:tag_name => "map")) end |
#mark(*args) ⇒ HTMLElement
1854 1855 1856 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1854 def mark(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "mark")) end |
#marks(*args) ⇒ HTMLElementCollection
1862 1863 1864 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1862 def marks(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "mark")) end |
#menu(*args) ⇒ Menu
1871 1872 1873 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1871 def (*args) Menu.new(self, extract_selector(args).merge(:tag_name => "menu")) end |
#menuitem(*args) ⇒ MenuItem
1888 1889 1890 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1888 def (*args) MenuItem.new(self, extract_selector(args).merge(:tag_name => "menuitem")) end |
#menuitems(*args) ⇒ MenuItemCollection
1896 1897 1898 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1896 def (*args) MenuItemCollection.new(self, extract_selector(args).merge(:tag_name => "menuitem")) end |
#menus(*args) ⇒ MenuCollection
1879 1880 1881 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1879 def (*args) MenuCollection.new(self, extract_selector(args).merge(:tag_name => "menu")) end |
#meta(*args) ⇒ Meta
1905 1906 1907 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1905 def (*args) Meta.new(self, extract_selector(args).merge(:tag_name => "meta")) end |
#metas(*args) ⇒ MetaCollection
1913 1914 1915 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1913 def (*args) MetaCollection.new(self, extract_selector(args).merge(:tag_name => "meta")) end |
#meter(*args) ⇒ Meter
1922 1923 1924 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1922 def meter(*args) Meter.new(self, extract_selector(args).merge(:tag_name => "meter")) end |
#meters(*args) ⇒ MeterCollection
1930 1931 1932 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1930 def meters(*args) MeterCollection.new(self, extract_selector(args).merge(:tag_name => "meter")) end |
#nav(*args) ⇒ HTMLElement
1939 1940 1941 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1939 def nav(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "nav")) end |
#navs(*args) ⇒ HTMLElementCollection
1947 1948 1949 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1947 def navs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "nav")) end |
#noscript(*args) ⇒ HTMLElement
1956 1957 1958 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1956 def noscript(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "noscript")) end |
#noscripts(*args) ⇒ HTMLElementCollection
1964 1965 1966 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1964 def noscripts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "noscript")) end |
#object(*args) ⇒ Object
1973 1974 1975 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1973 def object(*args) Object.new(self, extract_selector(args).merge(:tag_name => "object")) end |
#objects(*args) ⇒ ObjectCollection
1981 1982 1983 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1981 def objects(*args) ObjectCollection.new(self, extract_selector(args).merge(:tag_name => "object")) end |
#ol(*args) ⇒ OList
1990 1991 1992 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1990 def ol(*args) OList.new(self, extract_selector(args).merge(:tag_name => "ol")) end |
#ols(*args) ⇒ OListCollection
1998 1999 2000 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1998 def ols(*args) OListCollection.new(self, extract_selector(args).merge(:tag_name => "ol")) end |
#optgroup(*args) ⇒ OptGroup
2007 2008 2009 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2007 def optgroup(*args) OptGroup.new(self, extract_selector(args).merge(:tag_name => "optgroup")) end |
#optgroups(*args) ⇒ OptGroupCollection
2015 2016 2017 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2015 def optgroups(*args) OptGroupCollection.new(self, extract_selector(args).merge(:tag_name => "optgroup")) end |
#option(*args) ⇒ Option
2024 2025 2026 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2024 def option(*args) Option.new(self, extract_selector(args).merge(:tag_name => "option")) end |
#options(*args) ⇒ OptionCollection
2032 2033 2034 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2032 def (*args) OptionCollection.new(self, extract_selector(args).merge(:tag_name => "option")) end |
#output(*args) ⇒ Output
2041 2042 2043 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2041 def output(*args) Output.new(self, extract_selector(args).merge(:tag_name => "output")) end |
#outputs(*args) ⇒ OutputCollection
2049 2050 2051 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2049 def outputs(*args) OutputCollection.new(self, extract_selector(args).merge(:tag_name => "output")) end |
#p(*args) ⇒ Paragraph
2058 2059 2060 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2058 def p(*args) Paragraph.new(self, extract_selector(args).merge(:tag_name => "p")) end |
#param(*args) ⇒ Param
2075 2076 2077 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2075 def param(*args) Param.new(self, extract_selector(args).merge(:tag_name => "param")) end |
#params(*args) ⇒ ParamCollection
2083 2084 2085 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2083 def params(*args) ParamCollection.new(self, extract_selector(args).merge(:tag_name => "param")) end |
#pre(*args) ⇒ Pre
2092 2093 2094 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2092 def pre(*args) Pre.new(self, extract_selector(args).merge(:tag_name => "pre")) end |
#pres(*args) ⇒ PreCollection
2100 2101 2102 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2100 def pres(*args) PreCollection.new(self, extract_selector(args).merge(:tag_name => "pre")) end |
#progress(*args) ⇒ Progress
2109 2110 2111 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2109 def progress(*args) Progress.new(self, extract_selector(args).merge(:tag_name => "progress")) end |
#progresses(*args) ⇒ ProgressCollection
2117 2118 2119 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2117 def progresses(*args) ProgressCollection.new(self, extract_selector(args).merge(:tag_name => "progress")) end |
#ps(*args) ⇒ ParagraphCollection
2066 2067 2068 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2066 def ps(*args) ParagraphCollection.new(self, extract_selector(args).merge(:tag_name => "p")) end |
#q(*args) ⇒ Quote
2126 2127 2128 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2126 def q(*args) Quote.new(self, extract_selector(args).merge(:tag_name => "q")) end |
#qs(*args) ⇒ QuoteCollection
2134 2135 2136 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2134 def qs(*args) QuoteCollection.new(self, extract_selector(args).merge(:tag_name => "q")) end |
#radio(*args) ⇒ Object
30 31 32 |
# File 'lib/watir-webdriver/elements/radio.rb', line 30 def radio(*args) Radio.new(self, extract_selector(args).merge(:tag_name => "input", :type => "radio")) end |
#radios(*args) ⇒ Object
34 35 36 |
# File 'lib/watir-webdriver/elements/radio.rb', line 34 def radios(*args) RadioCollection.new(self, extract_selector(args).merge(:tag_name => "input", :type => "radio" )) end |
#rp(*args) ⇒ HTMLElement
2143 2144 2145 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2143 def rp(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "rp")) end |
#rps(*args) ⇒ HTMLElementCollection
2151 2152 2153 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2151 def rps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "rp")) end |
#rt(*args) ⇒ HTMLElement
2160 2161 2162 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2160 def rt(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "rt")) end |
#rts(*args) ⇒ HTMLElementCollection
2168 2169 2170 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2168 def rts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "rt")) end |
#rubies(*args) ⇒ HTMLElementCollection
2185 2186 2187 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2185 def rubies(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "ruby")) end |
#ruby(*args) ⇒ HTMLElement
2177 2178 2179 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2177 def ruby(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "ruby")) end |
#s(*args) ⇒ HTMLElement
2194 2195 2196 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2194 def s(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "s")) end |
#samp(*args) ⇒ HTMLElement
2211 2212 2213 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2211 def samp(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "samp")) end |
#samps(*args) ⇒ HTMLElementCollection
2219 2220 2221 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2219 def samps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "samp")) end |
#script(*args) ⇒ Script
2228 2229 2230 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2228 def script(*args) Script.new(self, extract_selector(args).merge(:tag_name => "script")) end |
#scripts(*args) ⇒ ScriptCollection
2236 2237 2238 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2236 def scripts(*args) ScriptCollection.new(self, extract_selector(args).merge(:tag_name => "script")) end |
#section(*args) ⇒ HTMLElement
2245 2246 2247 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2245 def section(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "section")) end |
#sections(*args) ⇒ HTMLElementCollection
2253 2254 2255 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2253 def sections(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "section")) end |
#select(*args) ⇒ Select
2262 2263 2264 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2262 def select(*args) Select.new(self, extract_selector(args).merge(:tag_name => "select")) end |
#select_list ⇒ Object
223 |
# File 'lib/watir-webdriver/elements/select.rb', line 223 alias_method :select_list, :select |
#select_lists ⇒ Object
224 |
# File 'lib/watir-webdriver/elements/select.rb', line 224 alias_method :select_lists, :selects |
#selects(*args) ⇒ SelectCollection
2270 2271 2272 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2270 def selects(*args) SelectCollection.new(self, extract_selector(args).merge(:tag_name => "select")) end |
#small(*args) ⇒ HTMLElement
2279 2280 2281 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2279 def small(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "small")) end |
#smalls(*args) ⇒ HTMLElementCollection
2287 2288 2289 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2287 def smalls(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "small")) end |
#source(*args) ⇒ Source
2296 2297 2298 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2296 def source(*args) Source.new(self, extract_selector(args).merge(:tag_name => "source")) end |
#sources(*args) ⇒ SourceCollection
2304 2305 2306 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2304 def sources(*args) SourceCollection.new(self, extract_selector(args).merge(:tag_name => "source")) end |
#span(*args) ⇒ Span
2313 2314 2315 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2313 def span(*args) Span.new(self, extract_selector(args).merge(:tag_name => "span")) end |
#spans(*args) ⇒ SpanCollection
2321 2322 2323 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2321 def spans(*args) SpanCollection.new(self, extract_selector(args).merge(:tag_name => "span")) end |
#ss(*args) ⇒ HTMLElementCollection
2202 2203 2204 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2202 def ss(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "s")) end |
#strong(*args) ⇒ HTMLElement
2330 2331 2332 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2330 def strong(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "strong")) end |
#strongs(*args) ⇒ HTMLElementCollection
2338 2339 2340 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2338 def strongs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "strong")) end |
#style(*args) ⇒ Style
2347 2348 2349 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2347 def style(*args) Style.new(self, extract_selector(args).merge(:tag_name => "style")) end |
#styles(*args) ⇒ StyleCollection
2355 2356 2357 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2355 def styles(*args) StyleCollection.new(self, extract_selector(args).merge(:tag_name => "style")) end |
#sub(*args) ⇒ HTMLElement
2364 2365 2366 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2364 def sub(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "sub")) end |
#subs(*args) ⇒ HTMLElementCollection
2372 2373 2374 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2372 def subs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "sub")) end |
#summaries(*args) ⇒ HTMLElementCollection
2389 2390 2391 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2389 def summaries(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "summary")) end |
#summary(*args) ⇒ HTMLElement
2381 2382 2383 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2381 def summary(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "summary")) end |
#sup(*args) ⇒ HTMLElement
2398 2399 2400 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2398 def sup(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "sup")) end |
#sups(*args) ⇒ HTMLElementCollection
2406 2407 2408 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2406 def sups(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "sup")) end |
#table(*args) ⇒ Table
2415 2416 2417 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2415 def table(*args) Table.new(self, extract_selector(args).merge(:tag_name => "table")) end |
#tables(*args) ⇒ TableCollection
2423 2424 2425 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2423 def tables(*args) TableCollection.new(self, extract_selector(args).merge(:tag_name => "table")) end |
#tbody(*args) ⇒ TableSection
2432 2433 2434 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2432 def tbody(*args) TableSection.new(self, extract_selector(args).merge(:tag_name => "tbody")) end |
#tbodys(*args) ⇒ TableSectionCollection
2440 2441 2442 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2440 def tbodys(*args) TableSectionCollection.new(self, extract_selector(args).merge(:tag_name => "tbody")) end |
#td(*args) ⇒ TableDataCell
2449 2450 2451 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2449 def td(*args) TableDataCell.new(self, extract_selector(args).merge(:tag_name => "td")) end |
#tds(*args) ⇒ TableDataCellCollection
2457 2458 2459 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2457 def tds(*args) TableDataCellCollection.new(self, extract_selector(args).merge(:tag_name => "td")) end |
#template(*args) ⇒ Template
2466 2467 2468 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2466 def template(*args) Template.new(self, extract_selector(args).merge(:tag_name => "template")) end |
#templates(*args) ⇒ TemplateCollection
2474 2475 2476 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2474 def templates(*args) TemplateCollection.new(self, extract_selector(args).merge(:tag_name => "template")) 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
2483 2484 2485 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2483 def textarea(*args) TextArea.new(self, extract_selector(args).merge(:tag_name => "textarea")) end |
#textareas(*args) ⇒ TextAreaCollection
2491 2492 2493 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2491 def textareas(*args) TextAreaCollection.new(self, extract_selector(args).merge(:tag_name => "textarea")) end |
#tfoot(*args) ⇒ TableSection
2500 2501 2502 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2500 def tfoot(*args) TableSection.new(self, extract_selector(args).merge(:tag_name => "tfoot")) end |
#tfoots(*args) ⇒ TableSectionCollection
2508 2509 2510 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2508 def tfoots(*args) TableSectionCollection.new(self, extract_selector(args).merge(:tag_name => "tfoot")) end |
#th(*args) ⇒ TableHeaderCell
2517 2518 2519 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2517 def th(*args) TableHeaderCell.new(self, extract_selector(args).merge(:tag_name => "th")) end |
#thead(*args) ⇒ TableSection
2534 2535 2536 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2534 def thead(*args) TableSection.new(self, extract_selector(args).merge(:tag_name => "thead")) end |
#theads(*args) ⇒ TableSectionCollection
2542 2543 2544 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2542 def theads(*args) TableSectionCollection.new(self, extract_selector(args).merge(:tag_name => "thead")) end |
#ths(*args) ⇒ TableHeaderCellCollection
2525 2526 2527 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2525 def ths(*args) TableHeaderCellCollection.new(self, extract_selector(args).merge(:tag_name => "th")) end |
#time(*args) ⇒ Time
2551 2552 2553 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2551 def time(*args) Time.new(self, extract_selector(args).merge(:tag_name => "time")) end |
#times(*args) ⇒ TimeCollection
2559 2560 2561 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2559 def times(*args) TimeCollection.new(self, extract_selector(args).merge(:tag_name => "time")) end |
#title(*args) ⇒ Title
2568 2569 2570 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2568 def title(*args) Title.new(self, extract_selector(args).merge(:tag_name => "title")) end |
#titles(*args) ⇒ TitleCollection
2576 2577 2578 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2576 def titles(*args) TitleCollection.new(self, extract_selector(args).merge(:tag_name => "title")) end |
#tr(*args) ⇒ TableRow
2585 2586 2587 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2585 def tr(*args) TableRow.new(self, extract_selector(args).merge(:tag_name => "tr")) end |
#track(*args) ⇒ Track
2602 2603 2604 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2602 def track(*args) Track.new(self, extract_selector(args).merge(:tag_name => "track")) end |
#tracks(*args) ⇒ TrackCollection
2610 2611 2612 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2610 def tracks(*args) TrackCollection.new(self, extract_selector(args).merge(:tag_name => "track")) end |
#trs(*args) ⇒ TableRowCollection
2593 2594 2595 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2593 def trs(*args) TableRowCollection.new(self, extract_selector(args).merge(:tag_name => "tr")) end |
#u(*args) ⇒ HTMLElement
2619 2620 2621 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2619 def u(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "u")) end |
#ul(*args) ⇒ UList
2636 2637 2638 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2636 def ul(*args) UList.new(self, extract_selector(args).merge(:tag_name => "ul")) end |
#uls(*args) ⇒ UListCollection
2644 2645 2646 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2644 def uls(*args) UListCollection.new(self, extract_selector(args).merge(:tag_name => "ul")) end |
#us(*args) ⇒ HTMLElementCollection
2627 2628 2629 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2627 def us(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "u")) end |
#var(*args) ⇒ HTMLElement
2653 2654 2655 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2653 def var(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "var")) end |
#vars(*args) ⇒ HTMLElementCollection
2661 2662 2663 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2661 def vars(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "var")) end |
#video(*args) ⇒ Video
2670 2671 2672 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2670 def video(*args) Video.new(self, extract_selector(args).merge(:tag_name => "video")) end |
#videos(*args) ⇒ VideoCollection
2678 2679 2680 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2678 def videos(*args) VideoCollection.new(self, extract_selector(args).merge(:tag_name => "video")) end |
#wbr(*args) ⇒ HTMLElement
2687 2688 2689 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2687 def wbr(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "wbr")) end |
#wbrs(*args) ⇒ HTMLElementCollection
2695 2696 2697 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2695 def wbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "wbr")) end |