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/file_field.rb,
lib/watir-webdriver/elements/text_field.rb,
lib/watir-webdriver/elements/svg_elements.rb,
lib/watir-webdriver/elements/html_elements.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
- #animate(*args) ⇒ Animate
- #animate_motion(*args) ⇒ AnimateMotion
- #animate_motions(*args) ⇒ AnimateMotionCollection
- #animate_transform(*args) ⇒ AnimateTransform
- #animate_transforms(*args) ⇒ AnimateTransformCollection
- #animates(*args) ⇒ AnimateCollection
- #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
- #circle(*args) ⇒ Circle
- #circles(*args) ⇒ CircleCollection
- #cite(*args) ⇒ HTMLElement
- #cites(*args) ⇒ HTMLElementCollection
- #code(*args) ⇒ HTMLElement
- #codes(*args) ⇒ HTMLElementCollection
- #col(*args) ⇒ TableCol
- #colgroup(*args) ⇒ TableCol
- #colgroups(*args) ⇒ TableColCollection
- #cols(*args) ⇒ TableColCollection
- #cursor(*args) ⇒ Cursor
- #cursors(*args) ⇒ CursorCollection
- #data(*args) ⇒ Data
- #datalist(*args) ⇒ DataList
- #datalists(*args) ⇒ DataListCollection
- #datas(*args) ⇒ DataCollection
- #dd(*args) ⇒ HTMLElement
- #dds(*args) ⇒ HTMLElementCollection
- #defs(*args) ⇒ Defs
- #defss(*args) ⇒ DefsCollection
- #del(*args) ⇒ Mod
- #dels(*args) ⇒ ModCollection
- #desc(*args) ⇒ Desc
- #descs(*args) ⇒ DescCollection
- #details(*args) ⇒ Details
- #detailses(*args) ⇒ DetailsCollection
- #dfn(*args) ⇒ HTMLElement
- #dfns(*args) ⇒ HTMLElementCollection
- #dialog(*args) ⇒ Dialog
- #dialogs(*args) ⇒ DialogCollection
- #discard(*args) ⇒ Metadata
- #discards(*args) ⇒ MetadataCollection
- #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.
- #ellipse(*args) ⇒ Ellipse
- #ellipses(*args) ⇒ EllipseCollection
- #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
- #foreign_object(*args) ⇒ ForeignObject
- #foreign_objects(*args) ⇒ ForeignObjectCollection
- #form(*args) ⇒ Form
- #forms(*args) ⇒ FormCollection
- #frame(*args) ⇒ Object
- #frames(*args) ⇒ Object
- #frameset(*args) ⇒ FrameSet
- #framesets(*args) ⇒ FrameSetCollection
- #g(*args) ⇒ G
- #gs(*args) ⇒ GCollection
- #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
- #line(*args) ⇒ Line
- #linear_gradient(*args) ⇒ LinearGradient
- #linear_gradients(*args) ⇒ LinearGradientCollection
- #lines(*args) ⇒ LineCollection
- #link ⇒ Object
- #links ⇒ Object
- #lis(*args) ⇒ LICollection
- #main(*args) ⇒ HTMLElement
- #mains(*args) ⇒ HTMLElementCollection
- #map(*args) ⇒ Map
- #maps(*args) ⇒ MapCollection
- #mark(*args) ⇒ HTMLElement
- #marker(*args) ⇒ Marker
- #markers(*args) ⇒ MarkerCollection
- #marks(*args) ⇒ HTMLElementCollection
- #menu(*args) ⇒ Menu
- #menuitem(*args) ⇒ MenuItem
- #menuitems(*args) ⇒ MenuItemCollection
- #menus(*args) ⇒ MenuCollection
- #mesh_gradient(*args) ⇒ MeshGradient
- #mesh_gradients(*args) ⇒ MeshGradientCollection
- #mesh_patch(*args) ⇒ MeshPatch
- #mesh_patches(*args) ⇒ MeshPatchCollection
- #mesh_row(*args) ⇒ MeshRow
- #mesh_rows(*args) ⇒ MeshRowCollection
- #meta(*args) ⇒ Meta
- #metadata(*args) ⇒ Metadata
- #metadatas(*args) ⇒ MetadataCollection
- #metas(*args) ⇒ MetaCollection
- #meter(*args) ⇒ Meter
- #meters(*args) ⇒ MeterCollection
- #mpath(*args) ⇒ MPath
- #mpaths(*args) ⇒ MPathCollection
- #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
- #path(*args) ⇒ Path
- #paths(*args) ⇒ PathCollection
- #pattern(*args) ⇒ Pattern
- #patterns(*args) ⇒ PatternCollection
- #polygon(*args) ⇒ Polygon
- #polygons(*args) ⇒ PolygonCollection
- #polyline(*args) ⇒ Polyline
- #polylines(*args) ⇒ PolylineCollection
- #pre(*args) ⇒ Pre
- #pres(*args) ⇒ PreCollection
- #progress(*args) ⇒ Progress
- #progresses(*args) ⇒ ProgressCollection
- #ps(*args) ⇒ ParagraphCollection
- #q(*args) ⇒ Quote
- #qs(*args) ⇒ QuoteCollection
- #radial_gradient(*args) ⇒ RadialGradient
- #radial_gradients(*args) ⇒ RadialGradientCollection
- #radio(*args) ⇒ Object
- #radios(*args) ⇒ Object
- #rect(*args) ⇒ Rect
- #rects(*args) ⇒ RectCollection
- #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
- #set(*args) ⇒ Set
- #sets(*args) ⇒ SetCollection
- #small(*args) ⇒ HTMLElement
- #smalls(*args) ⇒ HTMLElementCollection
- #source(*args) ⇒ Source
- #sources(*args) ⇒ SourceCollection
- #span(*args) ⇒ Span
- #spans(*args) ⇒ SpanCollection
- #ss(*args) ⇒ HTMLElementCollection
- #stop(*args) ⇒ Stop
- #stops(*args) ⇒ StopCollection
- #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
- #svg(*args) ⇒ SVG
- #svgs(*args) ⇒ SVGCollection
- #switch(*args) ⇒ Switch
- #switches(*args) ⇒ SwitchCollection
- #symbol(*args) ⇒ Symbol
- #symbols(*args) ⇒ SymbolCollection
- #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
- #text_path(*args) ⇒ TextPath
- #text_paths(*args) ⇒ TextPathCollection
- #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
- #tspan(*args) ⇒ TSpan
- #tspans(*args) ⇒ TSpanCollection
- #u(*args) ⇒ HTMLElement
- #ul(*args) ⇒ UList
- #uls(*args) ⇒ UListCollection
- #us(*args) ⇒ HTMLElementCollection
- #use(*args) ⇒ Use
- #uses(*args) ⇒ UseCollection
- #var(*args) ⇒ HTMLElement
- #vars(*args) ⇒ HTMLElementCollection
- #video(*args) ⇒ Video
- #videos(*args) ⇒ VideoCollection
- #view(*args) ⇒ View
- #views(*args) ⇒ ViewCollection
- #wbr(*args) ⇒ HTMLElement
- #wbrs(*args) ⇒ HTMLElementCollection
Methods included from Atoms
Methods included from XpathSupport
Instance Method Details
#a(*args) ⇒ Anchor
944 945 946 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 944 def a(*args) Anchor.new(self, extract_selector(args).merge(tag_name: "a")) end |
#abbr(*args) ⇒ HTMLElement
954 955 956 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 954 def abbr(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "abbr")) end |
#abbrs(*args) ⇒ HTMLElementCollection
958 959 960 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 958 def abbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "abbr")) end |
#address(*args) ⇒ HTMLElement
964 965 966 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 964 def address(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "address")) end |
#addresses(*args) ⇒ HTMLElementCollection
968 969 970 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 968 def addresses(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "address")) end |
#animate(*args) ⇒ Animate
328 329 330 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 328 def animate(*args) Animate.new(self, extract_selector(args).merge(tag_name: "animate")) end |
#animate_motion(*args) ⇒ AnimateMotion
338 339 340 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 338 def animate_motion(*args) AnimateMotion.new(self, extract_selector(args).merge(tag_name: "animateMotion")) end |
#animate_motions(*args) ⇒ AnimateMotionCollection
342 343 344 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 342 def animate_motions(*args) AnimateMotionCollection.new(self, extract_selector(args).merge(tag_name: "animateMotion")) end |
#animate_transform(*args) ⇒ AnimateTransform
348 349 350 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 348 def animate_transform(*args) AnimateTransform.new(self, extract_selector(args).merge(tag_name: "animateTransform")) end |
#animate_transforms(*args) ⇒ AnimateTransformCollection
352 353 354 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 352 def animate_transforms(*args) AnimateTransformCollection.new(self, extract_selector(args).merge(tag_name: "animateTransform")) end |
#animates(*args) ⇒ AnimateCollection
332 333 334 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 332 def animates(*args) AnimateCollection.new(self, extract_selector(args).merge(tag_name: "animate")) end |
#area(*args) ⇒ Area
974 975 976 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 974 def area(*args) Area.new(self, extract_selector(args).merge(tag_name: "area")) end |
#areas(*args) ⇒ AreaCollection
978 979 980 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 978 def areas(*args) AreaCollection.new(self, extract_selector(args).merge(tag_name: "area")) end |
#article(*args) ⇒ HTMLElement
984 985 986 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 984 def article(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "article")) end |
#articles(*args) ⇒ HTMLElementCollection
988 989 990 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 988 def articles(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "article")) end |
#as(*args) ⇒ AnchorCollection
948 949 950 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 948 def as(*args) AnchorCollection.new(self, extract_selector(args).merge(tag_name: "a")) end |
#aside(*args) ⇒ HTMLElement
994 995 996 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 994 def aside(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "aside")) end |
#asides(*args) ⇒ HTMLElementCollection
998 999 1000 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 998 def asides(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "aside")) end |
#audio(*args) ⇒ Audio
1004 1005 1006 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1004 def audio(*args) Audio.new(self, extract_selector(args).merge(tag_name: "audio")) end |
#audios(*args) ⇒ AudioCollection
1008 1009 1010 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1008 def audios(*args) AudioCollection.new(self, extract_selector(args).merge(tag_name: "audio")) end |
#b(*args) ⇒ HTMLElement
1014 1015 1016 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1014 def b(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "b")) end |
#base(*args) ⇒ Base
1024 1025 1026 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1024 def base(*args) Base.new(self, extract_selector(args).merge(tag_name: "base")) end |
#bases(*args) ⇒ BaseCollection
1028 1029 1030 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1028 def bases(*args) BaseCollection.new(self, extract_selector(args).merge(tag_name: "base")) end |
#bdi(*args) ⇒ HTMLElement
1034 1035 1036 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1034 def bdi(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "bdi")) end |
#bdis(*args) ⇒ HTMLElementCollection
1038 1039 1040 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1038 def bdis(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "bdi")) end |
#bdo(*args) ⇒ HTMLElement
1044 1045 1046 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1044 def bdo(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "bdo")) end |
#bdos(*args) ⇒ HTMLElementCollection
1048 1049 1050 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1048 def bdos(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "bdo")) end |
#blockquote(*args) ⇒ Quote
1054 1055 1056 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1054 def blockquote(*args) Quote.new(self, extract_selector(args).merge(tag_name: "blockquote")) end |
#blockquotes(*args) ⇒ QuoteCollection
1058 1059 1060 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1058 def blockquotes(*args) QuoteCollection.new(self, extract_selector(args).merge(tag_name: "blockquote")) end |
#body(*args) ⇒ Body
1064 1065 1066 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1064 def body(*args) Body.new(self, extract_selector(args).merge(tag_name: "body")) end |
#bodys(*args) ⇒ BodyCollection
1068 1069 1070 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1068 def bodys(*args) BodyCollection.new(self, extract_selector(args).merge(tag_name: "body")) end |
#br(*args) ⇒ BR
1074 1075 1076 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1074 def br(*args) BR.new(self, extract_selector(args).merge(tag_name: "br")) end |
#brs(*args) ⇒ BRCollection
1078 1079 1080 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1078 def brs(*args) BRCollection.new(self, extract_selector(args).merge(tag_name: "br")) end |
#bs(*args) ⇒ HTMLElementCollection
1018 1019 1020 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1018 def bs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "b")) end |
#button(*args) ⇒ Button
1084 1085 1086 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1084 def (*args) Button.new(self, extract_selector(args).merge(tag_name: "button")) end |
#buttons(*args) ⇒ ButtonCollection
1088 1089 1090 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1088 def (*args) ButtonCollection.new(self, extract_selector(args).merge(tag_name: "button")) end |
#canvas(*args) ⇒ Canvas
1094 1095 1096 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1094 def canvas(*args) Canvas.new(self, extract_selector(args).merge(tag_name: "canvas")) end |
#canvases(*args) ⇒ CanvasCollection
1098 1099 1100 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1098 def canvases(*args) CanvasCollection.new(self, extract_selector(args).merge(tag_name: "canvas")) end |
#caption(*args) ⇒ TableCaption
1104 1105 1106 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1104 def (*args) TableCaption.new(self, extract_selector(args).merge(tag_name: "caption")) end |
#captions(*args) ⇒ TableCaptionCollection
1108 1109 1110 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1108 def (*args) TableCaptionCollection.new(self, extract_selector(args).merge(tag_name: "caption")) end |
#checkbox(*args) ⇒ Object
43 44 45 |
# File 'lib/watir-webdriver/elements/checkbox.rb', line 43 def checkbox(*args) CheckBox.new(self, extract_selector(args).merge(tag_name: "input", type: "checkbox")) end |
#checkboxes(*args) ⇒ Object
47 48 49 |
# File 'lib/watir-webdriver/elements/checkbox.rb', line 47 def checkboxes(*args) CheckBoxCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "checkbox")) end |
#circle(*args) ⇒ Circle
358 359 360 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 358 def circle(*args) Circle.new(self, extract_selector(args).merge(tag_name: "circle")) end |
#circles(*args) ⇒ CircleCollection
362 363 364 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 362 def circles(*args) CircleCollection.new(self, extract_selector(args).merge(tag_name: "circle")) end |
#cite(*args) ⇒ HTMLElement
1114 1115 1116 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1114 def cite(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "cite")) end |
#cites(*args) ⇒ HTMLElementCollection
1118 1119 1120 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1118 def cites(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "cite")) end |
#code(*args) ⇒ HTMLElement
1124 1125 1126 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1124 def code(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "code")) end |
#codes(*args) ⇒ HTMLElementCollection
1128 1129 1130 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1128 def codes(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "code")) end |
#col(*args) ⇒ TableCol
1134 1135 1136 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1134 def col(*args) TableCol.new(self, extract_selector(args).merge(tag_name: "col")) end |
#colgroup(*args) ⇒ TableCol
1144 1145 1146 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1144 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/html_elements.rb', line 1148 def colgroups(*args) TableColCollection.new(self, extract_selector(args).merge(tag_name: "colgroup")) end |
#cols(*args) ⇒ TableColCollection
1138 1139 1140 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1138 def cols(*args) TableColCollection.new(self, extract_selector(args).merge(tag_name: "col")) end |
#cursor(*args) ⇒ Cursor
368 369 370 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 368 def cursor(*args) Cursor.new(self, extract_selector(args).merge(tag_name: "cursor")) end |
#cursors(*args) ⇒ CursorCollection
372 373 374 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 372 def cursors(*args) CursorCollection.new(self, extract_selector(args).merge(tag_name: "cursor")) end |
#data(*args) ⇒ Data
1154 1155 1156 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1154 def data(*args) Data.new(self, extract_selector(args).merge(tag_name: "data")) end |
#datalist(*args) ⇒ DataList
1164 1165 1166 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1164 def datalist(*args) DataList.new(self, extract_selector(args).merge(tag_name: "datalist")) end |
#datalists(*args) ⇒ DataListCollection
1168 1169 1170 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1168 def datalists(*args) DataListCollection.new(self, extract_selector(args).merge(tag_name: "datalist")) end |
#datas(*args) ⇒ DataCollection
1158 1159 1160 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1158 def datas(*args) DataCollection.new(self, extract_selector(args).merge(tag_name: "data")) end |
#dd(*args) ⇒ HTMLElement
1174 1175 1176 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1174 def dd(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "dd")) end |
#dds(*args) ⇒ HTMLElementCollection
1178 1179 1180 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1178 def dds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dd")) end |
#defs(*args) ⇒ Defs
378 379 380 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 378 def defs(*args) Defs.new(self, extract_selector(args).merge(tag_name: "defs")) end |
#defss(*args) ⇒ DefsCollection
382 383 384 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 382 def defss(*args) DefsCollection.new(self, extract_selector(args).merge(tag_name: "defs")) end |
#del(*args) ⇒ Mod
1184 1185 1186 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1184 def del(*args) Mod.new(self, extract_selector(args).merge(tag_name: "del")) end |
#dels(*args) ⇒ ModCollection
1188 1189 1190 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1188 def dels(*args) ModCollection.new(self, extract_selector(args).merge(tag_name: "del")) end |
#desc(*args) ⇒ Desc
388 389 390 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 388 def desc(*args) Desc.new(self, extract_selector(args).merge(tag_name: "desc")) end |
#descs(*args) ⇒ DescCollection
392 393 394 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 392 def descs(*args) DescCollection.new(self, extract_selector(args).merge(tag_name: "desc")) end |
#details(*args) ⇒ Details
1194 1195 1196 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1194 def details(*args) Details.new(self, extract_selector(args).merge(tag_name: "details")) end |
#detailses(*args) ⇒ DetailsCollection
1198 1199 1200 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1198 def detailses(*args) DetailsCollection.new(self, extract_selector(args).merge(tag_name: "details")) end |
#dfn(*args) ⇒ HTMLElement
1204 1205 1206 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1204 def dfn(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "dfn")) end |
#dfns(*args) ⇒ HTMLElementCollection
1208 1209 1210 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1208 def dfns(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dfn")) end |
#dialog(*args) ⇒ Dialog
1214 1215 1216 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1214 def dialog(*args) Dialog.new(self, extract_selector(args).merge(tag_name: "dialog")) end |
#dialogs(*args) ⇒ DialogCollection
1218 1219 1220 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1218 def dialogs(*args) DialogCollection.new(self, extract_selector(args).merge(tag_name: "dialog")) end |
#discard(*args) ⇒ Metadata
398 399 400 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 398 def discard(*args) Metadata.new(self, extract_selector(args).merge(tag_name: "discard")) end |
#discards(*args) ⇒ MetadataCollection
402 403 404 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 402 def discards(*args) MetadataCollection.new(self, extract_selector(args).merge(tag_name: "discard")) end |
#div(*args) ⇒ Div
1224 1225 1226 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1224 def div(*args) Div.new(self, extract_selector(args).merge(tag_name: "div")) end |
#divs(*args) ⇒ DivCollection
1228 1229 1230 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1228 def divs(*args) DivCollection.new(self, extract_selector(args).merge(tag_name: "div")) end |
#dl(*args) ⇒ DList
1234 1235 1236 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1234 def dl(*args) DList.new(self, extract_selector(args).merge(tag_name: "dl")) end |
#dls(*args) ⇒ DListCollection
1238 1239 1240 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1238 def dls(*args) DListCollection.new(self, extract_selector(args).merge(tag_name: "dl")) end |
#dt(*args) ⇒ HTMLElement
1244 1245 1246 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1244 def dt(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "dt")) end |
#dts(*args) ⇒ HTMLElementCollection
1248 1249 1250 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1248 def dts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dt")) end |
#element(*args) ⇒ HTMLElement
Returns element.
15 16 17 |
# File 'lib/watir-webdriver/container.rb', line 15 def element(*args) HTMLElement.new(self, extract_selector(args)) end |
#elements(*args) ⇒ HTMLElementCollection
Returns element collection.
28 29 30 |
# File 'lib/watir-webdriver/container.rb', line 28 def elements(*args) HTMLElementCollection.new(self, extract_selector(args)) end |
#ellipse(*args) ⇒ Ellipse
408 409 410 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 408 def ellipse(*args) Ellipse.new(self, extract_selector(args).merge(tag_name: "ellipse")) end |
#ellipses(*args) ⇒ EllipseCollection
412 413 414 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 412 def ellipses(*args) EllipseCollection.new(self, extract_selector(args).merge(tag_name: "ellipse")) end |
#em(*args) ⇒ HTMLElement
1254 1255 1256 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1254 def em(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "em")) end |
#embed(*args) ⇒ Embed
1264 1265 1266 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1264 def (*args) Embed.new(self, extract_selector(args).merge(tag_name: "embed")) end |
#embeds(*args) ⇒ EmbedCollection
1268 1269 1270 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1268 def (*args) EmbedCollection.new(self, extract_selector(args).merge(tag_name: "embed")) end |
#ems(*args) ⇒ HTMLElementCollection
1258 1259 1260 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1258 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.
36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/watir-webdriver/container.rb', line 36 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
1274 1275 1276 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1274 def fieldset(*args) FieldSet.new(self, extract_selector(args).merge(tag_name: "fieldset")) end |
#fieldsets(*args) ⇒ FieldSetCollection
1278 1279 1280 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1278 def fieldsets(*args) FieldSetCollection.new(self, extract_selector(args).merge(tag_name: "fieldset")) end |
#figcaption(*args) ⇒ HTMLElement
1284 1285 1286 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1284 def (*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "figcaption")) end |
#figcaptions(*args) ⇒ HTMLElementCollection
1288 1289 1290 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1288 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "figcaption")) end |
#figure(*args) ⇒ HTMLElement
1294 1295 1296 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1294 def figure(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "figure")) end |
#figures(*args) ⇒ HTMLElementCollection
1298 1299 1300 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1298 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
1304 1305 1306 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1304 def (*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "footer")) end |
#footers(*args) ⇒ HTMLElementCollection
1308 1309 1310 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1308 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "footer")) end |
#foreign_object(*args) ⇒ ForeignObject
418 419 420 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 418 def foreign_object(*args) ForeignObject.new(self, extract_selector(args).merge(tag_name: "foreignObject")) end |
#foreign_objects(*args) ⇒ ForeignObjectCollection
422 423 424 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 422 def foreign_objects(*args) ForeignObjectCollection.new(self, extract_selector(args).merge(tag_name: "foreignObject")) end |
#form(*args) ⇒ Form
1314 1315 1316 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1314 def form(*args) Form.new(self, extract_selector(args).merge(tag_name: "form")) end |
#forms(*args) ⇒ FormCollection
1318 1319 1320 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1318 def forms(*args) FormCollection.new(self, extract_selector(args).merge(tag_name: "form")) end |
#frame(*args) ⇒ Object
107 108 109 |
# File 'lib/watir-webdriver/elements/iframe.rb', line 107 def frame(*args) Frame.new(self, extract_selector(args).merge(tag_name: "frame")) end |
#frames(*args) ⇒ Object
111 112 113 |
# File 'lib/watir-webdriver/elements/iframe.rb', line 111 def frames(*args) FrameCollection.new(self, extract_selector(args).merge(tag_name: "frame")) end |
#frameset(*args) ⇒ FrameSet
1324 1325 1326 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1324 def frameset(*args) FrameSet.new(self, extract_selector(args).merge(tag_name: "frameset")) end |
#framesets(*args) ⇒ FrameSetCollection
1328 1329 1330 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1328 def framesets(*args) FrameSetCollection.new(self, extract_selector(args).merge(tag_name: "frameset")) end |
#g(*args) ⇒ G
428 429 430 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 428 def g(*args) G.new(self, extract_selector(args).merge(tag_name: "g")) end |
#gs(*args) ⇒ GCollection
432 433 434 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 432 def gs(*args) GCollection.new(self, extract_selector(args).merge(tag_name: "g")) end |
#h1(*args) ⇒ Heading
1334 1335 1336 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1334 def h1(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h1")) end |
#h1s(*args) ⇒ HeadingCollection
1338 1339 1340 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1338 def h1s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h1")) end |
#h2(*args) ⇒ Heading
1344 1345 1346 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1344 def h2(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h2")) end |
#h2s(*args) ⇒ HeadingCollection
1348 1349 1350 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1348 def h2s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h2")) end |
#h3(*args) ⇒ Heading
1354 1355 1356 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1354 def h3(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h3")) end |
#h3s(*args) ⇒ HeadingCollection
1358 1359 1360 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1358 def h3s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h3")) end |
#h4(*args) ⇒ Heading
1364 1365 1366 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1364 def h4(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h4")) end |
#h4s(*args) ⇒ HeadingCollection
1368 1369 1370 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1368 def h4s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h4")) end |
#h5(*args) ⇒ Heading
1374 1375 1376 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1374 def h5(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h5")) end |
#h5s(*args) ⇒ HeadingCollection
1378 1379 1380 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1378 def h5s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h5")) end |
#h6(*args) ⇒ Heading
1384 1385 1386 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1384 def h6(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h6")) end |
#h6s(*args) ⇒ HeadingCollection
1388 1389 1390 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1388 def h6s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h6")) end |
#head(*args) ⇒ Head
1394 1395 1396 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1394 def head(*args) Head.new(self, extract_selector(args).merge(tag_name: "head")) end |
#header(*args) ⇒ HTMLElement
1404 1405 1406 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1404 def header(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "header")) end |
#headers(*args) ⇒ HTMLElementCollection
1408 1409 1410 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1408 def headers(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "header")) end |
#heads(*args) ⇒ HeadCollection
1398 1399 1400 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1398 def heads(*args) HeadCollection.new(self, extract_selector(args).merge(tag_name: "head")) end |
#hgroup(*args) ⇒ HTMLElement
1414 1415 1416 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1414 def hgroup(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "hgroup")) end |
#hgroups(*args) ⇒ HTMLElementCollection
1418 1419 1420 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1418 def hgroups(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "hgroup")) end |
#hidden(*args) ⇒ Object
9 10 11 |
# File 'lib/watir-webdriver/elements/hidden.rb', line 9 def hidden(*args) Hidden.new(self, extract_selector(args).merge(tag_name: "input", type: "hidden")) end |
#hiddens(*args) ⇒ Object
13 14 15 |
# File 'lib/watir-webdriver/elements/hidden.rb', line 13 def hiddens(*args) HiddenCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "hidden")) end |
#hr(*args) ⇒ HR
1424 1425 1426 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1424 def hr(*args) HR.new(self, extract_selector(args).merge(tag_name: "hr")) end |
#hrs(*args) ⇒ HRCollection
1428 1429 1430 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1428 def hrs(*args) HRCollection.new(self, extract_selector(args).merge(tag_name: "hr")) end |
#html(*args) ⇒ Html
1434 1435 1436 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1434 def html(*args) Html.new(self, extract_selector(args).merge(tag_name: "html")) end |
#htmls(*args) ⇒ HtmlCollection
1438 1439 1440 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1438 def htmls(*args) HtmlCollection.new(self, extract_selector(args).merge(tag_name: "html")) end |
#i(*args) ⇒ HTMLElement
1444 1445 1446 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1444 def i(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "i")) end |
#iframe(*args) ⇒ IFrame
1454 1455 1456 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1454 def iframe(*args) IFrame.new(self, extract_selector(args).merge(tag_name: "iframe")) end |
#iframes(*args) ⇒ IFrameCollection
1458 1459 1460 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1458 def iframes(*args) IFrameCollection.new(self, extract_selector(args).merge(tag_name: "iframe")) end |
#image ⇒ Object
59 |
# File 'lib/watir-webdriver/elements/image.rb', line 59 alias_method :image, :img |
#images ⇒ Object
60 |
# File 'lib/watir-webdriver/elements/image.rb', line 60 alias_method :images, :imgs |
#img(*args) ⇒ Image
1464 1465 1466 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1464 def img(*args) Image.new(self, extract_selector(args).merge(tag_name: "img")) end |
#imgs(*args) ⇒ ImageCollection
1468 1469 1470 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1468 def imgs(*args) ImageCollection.new(self, extract_selector(args).merge(tag_name: "img")) end |
#input(*args) ⇒ Input
1474 1475 1476 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1474 def input(*args) Input.new(self, extract_selector(args).merge(tag_name: "input")) end |
#inputs(*args) ⇒ InputCollection
1478 1479 1480 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1478 def inputs(*args) InputCollection.new(self, extract_selector(args).merge(tag_name: "input")) end |
#ins(*args) ⇒ Mod
1484 1485 1486 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1484 def ins(*args) Mod.new(self, extract_selector(args).merge(tag_name: "ins")) end |
#inses(*args) ⇒ ModCollection
1488 1489 1490 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1488 def inses(*args) ModCollection.new(self, extract_selector(args).merge(tag_name: "ins")) end |
#is(*args) ⇒ HTMLElementCollection
1448 1449 1450 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1448 def is(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "i")) end |
#kbd(*args) ⇒ HTMLElement
1494 1495 1496 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1494 def kbd(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "kbd")) end |
#kbds(*args) ⇒ HTMLElementCollection
1498 1499 1500 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1498 def kbds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "kbd")) end |
#keygen(*args) ⇒ Keygen
1504 1505 1506 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1504 def keygen(*args) Keygen.new(self, extract_selector(args).merge(tag_name: "keygen")) end |
#keygens(*args) ⇒ KeygenCollection
1508 1509 1510 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1508 def keygens(*args) KeygenCollection.new(self, extract_selector(args).merge(tag_name: "keygen")) end |
#label(*args) ⇒ Label
1514 1515 1516 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1514 def label(*args) Label.new(self, extract_selector(args).merge(tag_name: "label")) end |
#labels(*args) ⇒ LabelCollection
1518 1519 1520 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1518 def labels(*args) LabelCollection.new(self, extract_selector(args).merge(tag_name: "label")) end |
#legend(*args) ⇒ Legend
1524 1525 1526 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1524 def legend(*args) Legend.new(self, extract_selector(args).merge(tag_name: "legend")) end |
#legends(*args) ⇒ LegendCollection
1528 1529 1530 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1528 def legends(*args) LegendCollection.new(self, extract_selector(args).merge(tag_name: "legend")) end |
#li(*args) ⇒ LI
1534 1535 1536 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1534 def li(*args) LI.new(self, extract_selector(args).merge(tag_name: "li")) end |
#line(*args) ⇒ Line
438 439 440 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 438 def line(*args) Line.new(self, extract_selector(args).merge(tag_name: "line")) end |
#linear_gradient(*args) ⇒ LinearGradient
448 449 450 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 448 def linear_gradient(*args) LinearGradient.new(self, extract_selector(args).merge(tag_name: "linearGradient")) end |
#linear_gradients(*args) ⇒ LinearGradientCollection
452 453 454 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 452 def linear_gradients(*args) LinearGradientCollection.new(self, extract_selector(args).merge(tag_name: "linearGradient")) end |
#lines(*args) ⇒ LineCollection
442 443 444 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 442 def lines(*args) LineCollection.new(self, extract_selector(args).merge(tag_name: "line")) end |
#link ⇒ Object
3 |
# File 'lib/watir-webdriver/elements/link.rb', line 3 alias_method :link, :a |
#links ⇒ Object
4 |
# File 'lib/watir-webdriver/elements/link.rb', line 4 alias_method :links, :as |
#lis(*args) ⇒ LICollection
1538 1539 1540 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1538 def lis(*args) LICollection.new(self, extract_selector(args).merge(tag_name: "li")) end |
#main(*args) ⇒ HTMLElement
1544 1545 1546 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1544 def main(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "main")) end |
#mains(*args) ⇒ HTMLElementCollection
1548 1549 1550 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1548 def mains(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "main")) end |
#map(*args) ⇒ Map
1554 1555 1556 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1554 def map(*args) Map.new(self, extract_selector(args).merge(tag_name: "map")) end |
#maps(*args) ⇒ MapCollection
1558 1559 1560 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1558 def maps(*args) MapCollection.new(self, extract_selector(args).merge(tag_name: "map")) end |
#mark(*args) ⇒ HTMLElement
1564 1565 1566 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1564 def mark(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "mark")) end |
#marker(*args) ⇒ Marker
458 459 460 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 458 def marker(*args) Marker.new(self, extract_selector(args).merge(tag_name: "marker")) end |
#markers(*args) ⇒ MarkerCollection
462 463 464 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 462 def markers(*args) MarkerCollection.new(self, extract_selector(args).merge(tag_name: "marker")) end |
#marks(*args) ⇒ HTMLElementCollection
1568 1569 1570 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1568 def marks(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "mark")) end |
#menu(*args) ⇒ Menu
1574 1575 1576 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1574 def (*args) Menu.new(self, extract_selector(args).merge(tag_name: "menu")) end |
#menuitem(*args) ⇒ MenuItem
1584 1585 1586 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1584 def (*args) MenuItem.new(self, extract_selector(args).merge(tag_name: "menuitem")) end |
#menuitems(*args) ⇒ MenuItemCollection
1588 1589 1590 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1588 def (*args) MenuItemCollection.new(self, extract_selector(args).merge(tag_name: "menuitem")) end |
#menus(*args) ⇒ MenuCollection
1578 1579 1580 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1578 def (*args) MenuCollection.new(self, extract_selector(args).merge(tag_name: "menu")) end |
#mesh_gradient(*args) ⇒ MeshGradient
468 469 470 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 468 def mesh_gradient(*args) MeshGradient.new(self, extract_selector(args).merge(tag_name: "meshGradient")) end |
#mesh_gradients(*args) ⇒ MeshGradientCollection
472 473 474 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 472 def mesh_gradients(*args) MeshGradientCollection.new(self, extract_selector(args).merge(tag_name: "meshGradient")) end |
#mesh_patch(*args) ⇒ MeshPatch
478 479 480 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 478 def mesh_patch(*args) MeshPatch.new(self, extract_selector(args).merge(tag_name: "meshPatch")) end |
#mesh_patches(*args) ⇒ MeshPatchCollection
482 483 484 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 482 def mesh_patches(*args) MeshPatchCollection.new(self, extract_selector(args).merge(tag_name: "meshPatch")) end |
#mesh_row(*args) ⇒ MeshRow
488 489 490 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 488 def mesh_row(*args) MeshRow.new(self, extract_selector(args).merge(tag_name: "meshRow")) end |
#mesh_rows(*args) ⇒ MeshRowCollection
492 493 494 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 492 def mesh_rows(*args) MeshRowCollection.new(self, extract_selector(args).merge(tag_name: "meshRow")) end |
#meta(*args) ⇒ Meta
1594 1595 1596 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1594 def (*args) Meta.new(self, extract_selector(args).merge(tag_name: "meta")) end |
#metadata(*args) ⇒ Metadata
498 499 500 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 498 def (*args) Metadata.new(self, extract_selector(args).merge(tag_name: "metadata")) end |
#metadatas(*args) ⇒ MetadataCollection
502 503 504 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 502 def (*args) MetadataCollection.new(self, extract_selector(args).merge(tag_name: "metadata")) end |
#metas(*args) ⇒ MetaCollection
1598 1599 1600 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1598 def (*args) MetaCollection.new(self, extract_selector(args).merge(tag_name: "meta")) end |
#meter(*args) ⇒ Meter
1604 1605 1606 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1604 def meter(*args) Meter.new(self, extract_selector(args).merge(tag_name: "meter")) end |
#meters(*args) ⇒ MeterCollection
1608 1609 1610 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1608 def meters(*args) MeterCollection.new(self, extract_selector(args).merge(tag_name: "meter")) end |
#mpath(*args) ⇒ MPath
508 509 510 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 508 def mpath(*args) MPath.new(self, extract_selector(args).merge(tag_name: "mpath")) end |
#mpaths(*args) ⇒ MPathCollection
512 513 514 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 512 def mpaths(*args) MPathCollection.new(self, extract_selector(args).merge(tag_name: "mpath")) end |
#nav(*args) ⇒ HTMLElement
1614 1615 1616 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1614 def nav(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "nav")) end |
#navs(*args) ⇒ HTMLElementCollection
1618 1619 1620 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1618 def navs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "nav")) end |
#noscript(*args) ⇒ HTMLElement
1624 1625 1626 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1624 def noscript(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "noscript")) end |
#noscripts(*args) ⇒ HTMLElementCollection
1628 1629 1630 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1628 def noscripts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "noscript")) end |
#object(*args) ⇒ Object
1634 1635 1636 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1634 def object(*args) Object.new(self, extract_selector(args).merge(tag_name: "object")) end |
#objects(*args) ⇒ ObjectCollection
1638 1639 1640 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1638 def objects(*args) ObjectCollection.new(self, extract_selector(args).merge(tag_name: "object")) end |
#ol(*args) ⇒ OList
1644 1645 1646 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1644 def ol(*args) OList.new(self, extract_selector(args).merge(tag_name: "ol")) end |
#ols(*args) ⇒ OListCollection
1648 1649 1650 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1648 def ols(*args) OListCollection.new(self, extract_selector(args).merge(tag_name: "ol")) end |
#optgroup(*args) ⇒ OptGroup
1654 1655 1656 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1654 def optgroup(*args) OptGroup.new(self, extract_selector(args).merge(tag_name: "optgroup")) end |
#optgroups(*args) ⇒ OptGroupCollection
1658 1659 1660 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1658 def optgroups(*args) OptGroupCollection.new(self, extract_selector(args).merge(tag_name: "optgroup")) end |
#option(*args) ⇒ Option
1664 1665 1666 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1664 def option(*args) Option.new(self, extract_selector(args).merge(tag_name: "option")) end |
#options(*args) ⇒ OptionCollection
1668 1669 1670 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1668 def (*args) OptionCollection.new(self, extract_selector(args).merge(tag_name: "option")) end |
#output(*args) ⇒ Output
1674 1675 1676 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1674 def output(*args) Output.new(self, extract_selector(args).merge(tag_name: "output")) end |
#outputs(*args) ⇒ OutputCollection
1678 1679 1680 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1678 def outputs(*args) OutputCollection.new(self, extract_selector(args).merge(tag_name: "output")) end |
#p(*args) ⇒ Paragraph
1684 1685 1686 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1684 def p(*args) Paragraph.new(self, extract_selector(args).merge(tag_name: "p")) end |
#param(*args) ⇒ Param
1694 1695 1696 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1694 def param(*args) Param.new(self, extract_selector(args).merge(tag_name: "param")) end |
#params(*args) ⇒ ParamCollection
1698 1699 1700 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1698 def params(*args) ParamCollection.new(self, extract_selector(args).merge(tag_name: "param")) end |
#path(*args) ⇒ Path
518 519 520 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 518 def path(*args) Path.new(self, extract_selector(args).merge(tag_name: "path")) end |
#paths(*args) ⇒ PathCollection
522 523 524 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 522 def paths(*args) PathCollection.new(self, extract_selector(args).merge(tag_name: "path")) end |
#pattern(*args) ⇒ Pattern
528 529 530 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 528 def pattern(*args) Pattern.new(self, extract_selector(args).merge(tag_name: "pattern")) end |
#patterns(*args) ⇒ PatternCollection
532 533 534 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 532 def patterns(*args) PatternCollection.new(self, extract_selector(args).merge(tag_name: "pattern")) end |
#polygon(*args) ⇒ Polygon
538 539 540 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 538 def polygon(*args) Polygon.new(self, extract_selector(args).merge(tag_name: "polygon")) end |
#polygons(*args) ⇒ PolygonCollection
542 543 544 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 542 def polygons(*args) PolygonCollection.new(self, extract_selector(args).merge(tag_name: "polygon")) end |
#polyline(*args) ⇒ Polyline
548 549 550 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 548 def polyline(*args) Polyline.new(self, extract_selector(args).merge(tag_name: "polyline")) end |
#polylines(*args) ⇒ PolylineCollection
552 553 554 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 552 def polylines(*args) PolylineCollection.new(self, extract_selector(args).merge(tag_name: "polyline")) end |
#pre(*args) ⇒ Pre
1704 1705 1706 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1704 def pre(*args) Pre.new(self, extract_selector(args).merge(tag_name: "pre")) end |
#pres(*args) ⇒ PreCollection
1708 1709 1710 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1708 def pres(*args) PreCollection.new(self, extract_selector(args).merge(tag_name: "pre")) end |
#progress(*args) ⇒ Progress
1714 1715 1716 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1714 def progress(*args) Progress.new(self, extract_selector(args).merge(tag_name: "progress")) end |
#progresses(*args) ⇒ ProgressCollection
1718 1719 1720 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1718 def progresses(*args) ProgressCollection.new(self, extract_selector(args).merge(tag_name: "progress")) end |
#ps(*args) ⇒ ParagraphCollection
1688 1689 1690 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1688 def ps(*args) ParagraphCollection.new(self, extract_selector(args).merge(tag_name: "p")) end |
#q(*args) ⇒ Quote
1724 1725 1726 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1724 def q(*args) Quote.new(self, extract_selector(args).merge(tag_name: "q")) end |
#qs(*args) ⇒ QuoteCollection
1728 1729 1730 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1728 def qs(*args) QuoteCollection.new(self, extract_selector(args).merge(tag_name: "q")) end |
#radial_gradient(*args) ⇒ RadialGradient
558 559 560 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 558 def radial_gradient(*args) RadialGradient.new(self, extract_selector(args).merge(tag_name: "radialGradient")) end |
#radial_gradients(*args) ⇒ RadialGradientCollection
562 563 564 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 562 def radial_gradients(*args) RadialGradientCollection.new(self, extract_selector(args).merge(tag_name: "radialGradient")) 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 |
#rect(*args) ⇒ Rect
568 569 570 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 568 def rect(*args) Rect.new(self, extract_selector(args).merge(tag_name: "rect")) end |
#rects(*args) ⇒ RectCollection
572 573 574 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 572 def rects(*args) RectCollection.new(self, extract_selector(args).merge(tag_name: "rect")) end |
#rp(*args) ⇒ HTMLElement
1734 1735 1736 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1734 def rp(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "rp")) end |
#rps(*args) ⇒ HTMLElementCollection
1738 1739 1740 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1738 def rps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rp")) end |
#rt(*args) ⇒ HTMLElement
1744 1745 1746 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1744 def rt(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "rt")) end |
#rts(*args) ⇒ HTMLElementCollection
1748 1749 1750 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1748 def rts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rt")) end |
#rubies(*args) ⇒ HTMLElementCollection
1758 1759 1760 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1758 def rubies(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "ruby")) end |
#ruby(*args) ⇒ HTMLElement
1754 1755 1756 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1754 def ruby(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "ruby")) end |
#s(*args) ⇒ HTMLElement
1764 1765 1766 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1764 def s(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "s")) end |
#samp(*args) ⇒ HTMLElement
1774 1775 1776 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1774 def samp(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "samp")) end |
#samps(*args) ⇒ HTMLElementCollection
1778 1779 1780 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1778 def samps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "samp")) end |
#script(*args) ⇒ Script
1784 1785 1786 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1784 def script(*args) Script.new(self, extract_selector(args).merge(tag_name: "script")) end |
#scripts(*args) ⇒ ScriptCollection
1788 1789 1790 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1788 def scripts(*args) ScriptCollection.new(self, extract_selector(args).merge(tag_name: "script")) end |
#section(*args) ⇒ HTMLElement
1794 1795 1796 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1794 def section(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "section")) end |
#sections(*args) ⇒ HTMLElementCollection
1798 1799 1800 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1798 def sections(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "section")) end |
#select(*args) ⇒ Select
1804 1805 1806 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1804 def select(*args) Select.new(self, extract_selector(args).merge(tag_name: "select")) end |
#select_list ⇒ Object
233 |
# File 'lib/watir-webdriver/elements/select.rb', line 233 alias_method :select_list, :select |
#select_lists ⇒ Object
234 |
# File 'lib/watir-webdriver/elements/select.rb', line 234 alias_method :select_lists, :selects |
#selects(*args) ⇒ SelectCollection
1808 1809 1810 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1808 def selects(*args) SelectCollection.new(self, extract_selector(args).merge(tag_name: "select")) end |
#set(*args) ⇒ Set
578 579 580 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 578 def set(*args) Set.new(self, extract_selector(args).merge(tag_name: "set")) end |
#sets(*args) ⇒ SetCollection
582 583 584 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 582 def sets(*args) SetCollection.new(self, extract_selector(args).merge(tag_name: "set")) end |
#small(*args) ⇒ HTMLElement
1814 1815 1816 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1814 def small(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "small")) end |
#smalls(*args) ⇒ HTMLElementCollection
1818 1819 1820 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1818 def smalls(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "small")) end |
#source(*args) ⇒ Source
1824 1825 1826 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1824 def source(*args) Source.new(self, extract_selector(args).merge(tag_name: "source")) end |
#sources(*args) ⇒ SourceCollection
1828 1829 1830 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1828 def sources(*args) SourceCollection.new(self, extract_selector(args).merge(tag_name: "source")) end |
#span(*args) ⇒ Span
1834 1835 1836 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1834 def span(*args) Span.new(self, extract_selector(args).merge(tag_name: "span")) end |
#spans(*args) ⇒ SpanCollection
1838 1839 1840 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1838 def spans(*args) SpanCollection.new(self, extract_selector(args).merge(tag_name: "span")) end |
#ss(*args) ⇒ HTMLElementCollection
1768 1769 1770 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1768 def ss(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "s")) end |
#stop(*args) ⇒ Stop
588 589 590 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 588 def stop(*args) Stop.new(self, extract_selector(args).merge(tag_name: "stop")) end |
#stops(*args) ⇒ StopCollection
592 593 594 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 592 def stops(*args) StopCollection.new(self, extract_selector(args).merge(tag_name: "stop")) end |
#strong(*args) ⇒ HTMLElement
1844 1845 1846 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1844 def strong(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "strong")) end |
#strongs(*args) ⇒ HTMLElementCollection
1848 1849 1850 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1848 def strongs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "strong")) end |
#style(*args) ⇒ Style
1854 1855 1856 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1854 def style(*args) Style.new(self, extract_selector(args).merge(tag_name: "style")) end |
#styles(*args) ⇒ StyleCollection
1858 1859 1860 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1858 def styles(*args) StyleCollection.new(self, extract_selector(args).merge(tag_name: "style")) end |
#sub(*args) ⇒ HTMLElement
1864 1865 1866 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1864 def sub(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "sub")) end |
#subs(*args) ⇒ HTMLElementCollection
1868 1869 1870 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1868 def subs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "sub")) end |
#summaries(*args) ⇒ HTMLElementCollection
1878 1879 1880 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1878 def summaries(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "summary")) end |
#summary(*args) ⇒ HTMLElement
1874 1875 1876 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1874 def summary(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "summary")) end |
#sup(*args) ⇒ HTMLElement
1884 1885 1886 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1884 def sup(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "sup")) end |
#sups(*args) ⇒ HTMLElementCollection
1888 1889 1890 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1888 def sups(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "sup")) end |
#svg(*args) ⇒ SVG
598 599 600 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 598 def svg(*args) SVG.new(self, extract_selector(args).merge(tag_name: "svg")) end |
#svgs(*args) ⇒ SVGCollection
602 603 604 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 602 def svgs(*args) SVGCollection.new(self, extract_selector(args).merge(tag_name: "svg")) end |
#switch(*args) ⇒ Switch
608 609 610 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 608 def switch(*args) Switch.new(self, extract_selector(args).merge(tag_name: "switch")) end |
#switches(*args) ⇒ SwitchCollection
612 613 614 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 612 def switches(*args) SwitchCollection.new(self, extract_selector(args).merge(tag_name: "switch")) end |
#symbol(*args) ⇒ Symbol
618 619 620 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 618 def symbol(*args) Symbol.new(self, extract_selector(args).merge(tag_name: "symbol")) end |
#symbols(*args) ⇒ SymbolCollection
622 623 624 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 622 def symbols(*args) SymbolCollection.new(self, extract_selector(args).merge(tag_name: "symbol")) end |
#table(*args) ⇒ Table
1894 1895 1896 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1894 def table(*args) Table.new(self, extract_selector(args).merge(tag_name: "table")) end |
#tables(*args) ⇒ TableCollection
1898 1899 1900 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1898 def tables(*args) TableCollection.new(self, extract_selector(args).merge(tag_name: "table")) end |
#tbody(*args) ⇒ TableSection
1904 1905 1906 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1904 def tbody(*args) TableSection.new(self, extract_selector(args).merge(tag_name: "tbody")) end |
#tbodys(*args) ⇒ TableSectionCollection
1908 1909 1910 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1908 def tbodys(*args) TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "tbody")) end |
#td(*args) ⇒ TableDataCell
1914 1915 1916 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1914 def td(*args) TableDataCell.new(self, extract_selector(args).merge(tag_name: "td")) end |
#tds(*args) ⇒ TableDataCellCollection
1918 1919 1920 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1918 def tds(*args) TableDataCellCollection.new(self, extract_selector(args).merge(tag_name: "td")) end |
#template(*args) ⇒ Template
1924 1925 1926 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1924 def template(*args) Template.new(self, extract_selector(args).merge(tag_name: "template")) end |
#templates(*args) ⇒ TemplateCollection
1928 1929 1930 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1928 def templates(*args) TemplateCollection.new(self, extract_selector(args).merge(tag_name: "template")) end |
#text_field(*args) ⇒ Object
21 22 23 |
# File 'lib/watir-webdriver/elements/text_field.rb', line 21 def text_field(*args) TextField.new(self, extract_selector(args).merge(tag_name: "input")) end |
#text_fields(*args) ⇒ Object
25 26 27 |
# File 'lib/watir-webdriver/elements/text_field.rb', line 25 def text_fields(*args) TextFieldCollection.new(self, extract_selector(args).merge(tag_name: "input")) end |
#text_path(*args) ⇒ TextPath
628 629 630 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 628 def text_path(*args) TextPath.new(self, extract_selector(args).merge(tag_name: "textPath")) end |
#text_paths(*args) ⇒ TextPathCollection
632 633 634 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 632 def text_paths(*args) TextPathCollection.new(self, extract_selector(args).merge(tag_name: "textPath")) end |
#textarea(*args) ⇒ TextArea
1934 1935 1936 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1934 def textarea(*args) TextArea.new(self, extract_selector(args).merge(tag_name: "textarea")) end |
#textareas(*args) ⇒ TextAreaCollection
1938 1939 1940 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1938 def textareas(*args) TextAreaCollection.new(self, extract_selector(args).merge(tag_name: "textarea")) end |
#tfoot(*args) ⇒ TableSection
1944 1945 1946 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1944 def tfoot(*args) TableSection.new(self, extract_selector(args).merge(tag_name: "tfoot")) end |
#tfoots(*args) ⇒ TableSectionCollection
1948 1949 1950 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1948 def tfoots(*args) TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "tfoot")) end |
#th(*args) ⇒ TableHeaderCell
1954 1955 1956 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1954 def th(*args) TableHeaderCell.new(self, extract_selector(args).merge(tag_name: "th")) end |
#thead(*args) ⇒ TableSection
1964 1965 1966 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1964 def thead(*args) TableSection.new(self, extract_selector(args).merge(tag_name: "thead")) end |
#theads(*args) ⇒ TableSectionCollection
1968 1969 1970 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1968 def theads(*args) TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "thead")) end |
#ths(*args) ⇒ TableHeaderCellCollection
1958 1959 1960 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1958 def ths(*args) TableHeaderCellCollection.new(self, extract_selector(args).merge(tag_name: "th")) end |
#time(*args) ⇒ Time
1974 1975 1976 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1974 def time(*args) Time.new(self, extract_selector(args).merge(tag_name: "time")) end |
#times(*args) ⇒ TimeCollection
1978 1979 1980 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1978 def times(*args) TimeCollection.new(self, extract_selector(args).merge(tag_name: "time")) end |
#title(*args) ⇒ Title
1984 1985 1986 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1984 def title(*args) Title.new(self, extract_selector(args).merge(tag_name: "title")) end |
#titles(*args) ⇒ TitleCollection
1988 1989 1990 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1988 def titles(*args) TitleCollection.new(self, extract_selector(args).merge(tag_name: "title")) end |
#tr(*args) ⇒ TableRow
1994 1995 1996 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1994 def tr(*args) TableRow.new(self, extract_selector(args).merge(tag_name: "tr")) end |
#track(*args) ⇒ Track
2004 2005 2006 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2004 def track(*args) Track.new(self, extract_selector(args).merge(tag_name: "track")) end |
#tracks(*args) ⇒ TrackCollection
2008 2009 2010 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2008 def tracks(*args) TrackCollection.new(self, extract_selector(args).merge(tag_name: "track")) end |
#trs(*args) ⇒ TableRowCollection
1998 1999 2000 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1998 def trs(*args) TableRowCollection.new(self, extract_selector(args).merge(tag_name: "tr")) end |
#tspan(*args) ⇒ TSpan
638 639 640 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 638 def tspan(*args) TSpan.new(self, extract_selector(args).merge(tag_name: "tspan")) end |
#tspans(*args) ⇒ TSpanCollection
642 643 644 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 642 def tspans(*args) TSpanCollection.new(self, extract_selector(args).merge(tag_name: "tspan")) end |
#u(*args) ⇒ HTMLElement
2014 2015 2016 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2014 def u(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "u")) end |
#ul(*args) ⇒ UList
2024 2025 2026 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2024 def ul(*args) UList.new(self, extract_selector(args).merge(tag_name: "ul")) end |
#uls(*args) ⇒ UListCollection
2028 2029 2030 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2028 def uls(*args) UListCollection.new(self, extract_selector(args).merge(tag_name: "ul")) end |
#us(*args) ⇒ HTMLElementCollection
2018 2019 2020 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2018 def us(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "u")) end |
#use(*args) ⇒ Use
648 649 650 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 648 def use(*args) Use.new(self, extract_selector(args).merge(tag_name: "use")) end |
#uses(*args) ⇒ UseCollection
652 653 654 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 652 def uses(*args) UseCollection.new(self, extract_selector(args).merge(tag_name: "use")) end |
#var(*args) ⇒ HTMLElement
2034 2035 2036 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2034 def var(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "var")) end |
#vars(*args) ⇒ HTMLElementCollection
2038 2039 2040 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2038 def vars(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "var")) end |
#video(*args) ⇒ Video
2044 2045 2046 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2044 def video(*args) Video.new(self, extract_selector(args).merge(tag_name: "video")) end |
#videos(*args) ⇒ VideoCollection
2048 2049 2050 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2048 def videos(*args) VideoCollection.new(self, extract_selector(args).merge(tag_name: "video")) end |
#view(*args) ⇒ View
658 659 660 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 658 def view(*args) View.new(self, extract_selector(args).merge(tag_name: "view")) end |
#views(*args) ⇒ ViewCollection
662 663 664 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 662 def views(*args) ViewCollection.new(self, extract_selector(args).merge(tag_name: "view")) end |
#wbr(*args) ⇒ HTMLElement
2054 2055 2056 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2054 def wbr(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "wbr")) end |
#wbrs(*args) ⇒ HTMLElementCollection
2058 2059 2060 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2058 def wbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "wbr")) end |