module Watir::Container
Public Instance Methods
@return [Anchor]
# File lib/watir/elements/html_elements.rb, line 873 def a(*args) Anchor.new(self, extract_selector(args).merge(tag_name: "a")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 883 def abbr(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "abbr")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 887 def abbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "abbr")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 893 def address(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "address")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 897 def addresses(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "address")) end
@return [Area]
# File lib/watir/elements/html_elements.rb, line 903 def area(*args) Area.new(self, extract_selector(args).merge(tag_name: "area")) end
@return [AreaCollection]
# File lib/watir/elements/html_elements.rb, line 907 def areas(*args) AreaCollection.new(self, extract_selector(args).merge(tag_name: "area")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 913 def article(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "article")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 917 def articles(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "article")) end
@return [AnchorCollection]
# File lib/watir/elements/html_elements.rb, line 877 def as(*args) AnchorCollection.new(self, extract_selector(args).merge(tag_name: "a")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 923 def aside(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "aside")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 927 def asides(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "aside")) end
@return [Audio]
# File lib/watir/elements/html_elements.rb, line 933 def audio(*args) Audio.new(self, extract_selector(args).merge(tag_name: "audio")) end
@return [AudioCollection]
# File lib/watir/elements/html_elements.rb, line 937 def audios(*args) AudioCollection.new(self, extract_selector(args).merge(tag_name: "audio")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 943 def b(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "b")) end
@return [Base]
# File lib/watir/elements/html_elements.rb, line 953 def base(*args) Base.new(self, extract_selector(args).merge(tag_name: "base")) end
@return [BaseCollection]
# File lib/watir/elements/html_elements.rb, line 957 def bases(*args) BaseCollection.new(self, extract_selector(args).merge(tag_name: "base")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 963 def bdi(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "bdi")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 967 def bdis(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "bdi")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 973 def bdo(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "bdo")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 977 def bdos(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "bdo")) end
@return [Quote]
# File lib/watir/elements/html_elements.rb, line 983 def blockquote(*args) Quote.new(self, extract_selector(args).merge(tag_name: "blockquote")) end
@return [QuoteCollection]
# File lib/watir/elements/html_elements.rb, line 987 def blockquotes(*args) QuoteCollection.new(self, extract_selector(args).merge(tag_name: "blockquote")) end
@return [Body]
# File lib/watir/elements/html_elements.rb, line 993 def body(*args) Body.new(self, extract_selector(args).merge(tag_name: "body")) end
@return [BodyCollection]
# File lib/watir/elements/html_elements.rb, line 997 def bodys(*args) BodyCollection.new(self, extract_selector(args).merge(tag_name: "body")) end
@return [BR]
# File lib/watir/elements/html_elements.rb, line 1003 def br(*args) BR.new(self, extract_selector(args).merge(tag_name: "br")) end
@return [BRCollection]
# File lib/watir/elements/html_elements.rb, line 1007 def brs(*args) BRCollection.new(self, extract_selector(args).merge(tag_name: "br")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 947 def bs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "b")) end
@return [Canvas]
# File lib/watir/elements/html_elements.rb, line 1023 def canvas(*args) Canvas.new(self, extract_selector(args).merge(tag_name: "canvas")) end
@return [CanvasCollection]
# File lib/watir/elements/html_elements.rb, line 1027 def canvases(*args) CanvasCollection.new(self, extract_selector(args).merge(tag_name: "canvas")) end
@return [TableCaption]
# File lib/watir/elements/html_elements.rb, line 1033 def caption(*args) TableCaption.new(self, extract_selector(args).merge(tag_name: "caption")) end
@return [TableCaptionCollection]
# File lib/watir/elements/html_elements.rb, line 1037 def captions(*args) TableCaptionCollection.new(self, extract_selector(args).merge(tag_name: "caption")) end
# File lib/watir/elements/checkbox.rb, line 43 def checkbox(*args) CheckBox.new(self, extract_selector(args).merge(tag_name: 'input', type: 'checkbox')) end
# File lib/watir/elements/checkbox.rb, line 47 def checkboxes(*args) CheckBoxCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'checkbox')) end
@return [Circle]
# File lib/watir/elements/svg_elements.rb, line 258 def circle(*args) Circle.new(self, extract_selector(args).merge(tag_name: "circle")) end
@return [CircleCollection]
# File lib/watir/elements/svg_elements.rb, line 262 def circles(*args) CircleCollection.new(self, extract_selector(args).merge(tag_name: "circle")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1043 def cite(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "cite")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1047 def cites(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "cite")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1053 def code(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "code")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1057 def codes(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "code")) end
@return [TableCol]
# File lib/watir/elements/html_elements.rb, line 1063 def col(*args) TableCol.new(self, extract_selector(args).merge(tag_name: "col")) end
@return [TableCol]
# File lib/watir/elements/html_elements.rb, line 1073 def colgroup(*args) TableCol.new(self, extract_selector(args).merge(tag_name: "colgroup")) end
@return [TableColCollection]
# File lib/watir/elements/html_elements.rb, line 1077 def colgroups(*args) TableColCollection.new(self, extract_selector(args).merge(tag_name: "colgroup")) end
@return [TableColCollection]
# File lib/watir/elements/html_elements.rb, line 1067 def cols(*args) TableColCollection.new(self, extract_selector(args).merge(tag_name: "col")) end
@return [Data]
# File lib/watir/elements/html_elements.rb, line 1083 def data(*args) Data.new(self, extract_selector(args).merge(tag_name: "data")) end
@return [DataList]
# File lib/watir/elements/html_elements.rb, line 1093 def datalist(*args) DataList.new(self, extract_selector(args).merge(tag_name: "datalist")) end
@return [DataListCollection]
# File lib/watir/elements/html_elements.rb, line 1097 def datalists(*args) DataListCollection.new(self, extract_selector(args).merge(tag_name: "datalist")) end
@return [DataCollection]
# File lib/watir/elements/html_elements.rb, line 1087 def datas(*args) DataCollection.new(self, extract_selector(args).merge(tag_name: "data")) end
# File lib/watir/elements/date_field.rb, line 21 def date_field(*args) DateField.new(self, extract_selector(args).merge(tag_name: 'input', type: 'date')) end
# File lib/watir/elements/date_field.rb, line 25 def date_fields(*args) DateFieldCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'date')) end
# File lib/watir/elements/date_time_field.rb, line 21 def date_time_field(*args) DateTimeField.new(self, extract_selector(args).merge(tag_name: 'input', type: 'datetime-local')) end
# File lib/watir/elements/date_time_field.rb, line 25 def date_time_fields(*args) DateTimeFieldCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'datetime-local')) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1103 def dd(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "dd")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1107 def dds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dd")) end
@return [Defs]
# File lib/watir/elements/svg_elements.rb, line 268 def defs(*args) Defs.new(self, extract_selector(args).merge(tag_name: "defs")) end
@return [DefsCollection]
# File lib/watir/elements/svg_elements.rb, line 272 def defss(*args) DefsCollection.new(self, extract_selector(args).merge(tag_name: "defs")) end
@return [Mod]
# File lib/watir/elements/html_elements.rb, line 1113 def del(*args) Mod.new(self, extract_selector(args).merge(tag_name: "del")) end
@return [ModCollection]
# File lib/watir/elements/html_elements.rb, line 1117 def dels(*args) ModCollection.new(self, extract_selector(args).merge(tag_name: "del")) end
@return [Desc]
# File lib/watir/elements/svg_elements.rb, line 278 def desc(*args) Desc.new(self, extract_selector(args).merge(tag_name: "desc")) end
@return [DescCollection]
# File lib/watir/elements/svg_elements.rb, line 282 def descs(*args) DescCollection.new(self, extract_selector(args).merge(tag_name: "desc")) end
@return [Details]
# File lib/watir/elements/html_elements.rb, line 1123 def details(*args) Details.new(self, extract_selector(args).merge(tag_name: "details")) end
@return [DetailsCollection]
# File lib/watir/elements/html_elements.rb, line 1127 def detailses(*args) DetailsCollection.new(self, extract_selector(args).merge(tag_name: "details")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1133 def dfn(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "dfn")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1137 def dfns(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dfn")) end
@return [Dialog]
# File lib/watir/elements/html_elements.rb, line 1143 def dialog(*args) Dialog.new(self, extract_selector(args).merge(tag_name: "dialog")) end
@return [DialogCollection]
# File lib/watir/elements/html_elements.rb, line 1147 def dialogs(*args) DialogCollection.new(self, extract_selector(args).merge(tag_name: "dialog")) end
@return [Div]
# File lib/watir/elements/html_elements.rb, line 1153 def div(*args) Div.new(self, extract_selector(args).merge(tag_name: "div")) end
@return [DivCollection]
# File lib/watir/elements/html_elements.rb, line 1157 def divs(*args) DivCollection.new(self, extract_selector(args).merge(tag_name: "div")) end
@return [DList]
# File lib/watir/elements/html_elements.rb, line 1163 def dl(*args) DList.new(self, extract_selector(args).merge(tag_name: "dl")) end
@return [DListCollection]
# File lib/watir/elements/html_elements.rb, line 1167 def dls(*args) DListCollection.new(self, extract_selector(args).merge(tag_name: "dl")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1173 def dt(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "dt")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1177 def dts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dt")) end
Returns element.
@example
browser.element(data_bind: 'func')
@return [HTMLElement]
# File lib/watir/container.rb, line 14 def element(*args) HTMLElement.new(self, extract_selector(args)) end
Returns element collection.
@example
browser.elements(data_bind: 'func')
@return [HTMLElementCollection]
# File lib/watir/container.rb, line 27 def elements(*args) HTMLElementCollection.new(self, extract_selector(args)) end
@return [Ellipse]
# File lib/watir/elements/svg_elements.rb, line 288 def ellipse(*args) Ellipse.new(self, extract_selector(args).merge(tag_name: "ellipse")) end
@return [EllipseCollection]
# File lib/watir/elements/svg_elements.rb, line 292 def ellipses(*args) EllipseCollection.new(self, extract_selector(args).merge(tag_name: "ellipse")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1183 def em(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "em")) end
@return [Embed]
# File lib/watir/elements/html_elements.rb, line 1193 def embed(*args) Embed.new(self, extract_selector(args).merge(tag_name: "embed")) end
@return [EmbedCollection]
# File lib/watir/elements/html_elements.rb, line 1197 def embeds(*args) EmbedCollection.new(self, extract_selector(args).merge(tag_name: "embed")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1187 def ems(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "em")) end
@api private
# File lib/watir/container.rb, line 35 def extract_selector(selector) case selector.size when 2 msg = "Using ordered parameters to locate elements (:#{selector.first}, #{selector.last.inspect})" Watir.logger.deprecate msg, "{#{selector.first}: #{selector.last.inspect}}", ids: [:selector_parameters] return {selector[0] => selector[1]} when 1 obj = selector.first return obj if obj.is_a? Hash when 0 return {} end raise ArgumentError, "expected Hash, got #{selector.inspect}" end
@return [FieldSet]
# File lib/watir/elements/html_elements.rb, line 1203 def fieldset(*args) FieldSet.new(self, extract_selector(args).merge(tag_name: "fieldset")) end
@return [FieldSetCollection]
# File lib/watir/elements/html_elements.rb, line 1207 def fieldsets(*args) FieldSetCollection.new(self, extract_selector(args).merge(tag_name: "fieldset")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1213 def figcaption(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "figcaption")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1217 def figcaptions(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "figcaption")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1223 def figure(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "figure")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1227 def figures(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "figure")) end
# File lib/watir/elements/file_field.rb, line 30 def file_field(*args) FileField.new(self, extract_selector(args).merge(tag_name: 'input', type: 'file')) end
# File lib/watir/elements/file_field.rb, line 34 def file_fields(*args) FileFieldCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'file')) end
# File lib/watir/elements/font.rb, line 15 def font(*args) Font.new(self, extract_selector(args).merge(tag_name: 'font')) end
# File lib/watir/elements/font.rb, line 19 def fonts(*args) FontCollection.new(self, extract_selector(args).merge(tag_name: 'font')) end
@return [ForeignObject]
# File lib/watir/elements/svg_elements.rb, line 298 def foreign_object(*args) ForeignObject.new(self, extract_selector(args).merge(tag_name: "foreignObject")) end
@return [ForeignObjectCollection]
# File lib/watir/elements/svg_elements.rb, line 302 def foreign_objects(*args) ForeignObjectCollection.new(self, extract_selector(args).merge(tag_name: "foreignObject")) end
@return [Form]
# File lib/watir/elements/html_elements.rb, line 1243 def form(*args) Form.new(self, extract_selector(args).merge(tag_name: "form")) end
@return [FormCollection]
# File lib/watir/elements/html_elements.rb, line 1247 def forms(*args) FormCollection.new(self, extract_selector(args).merge(tag_name: "form")) end
# File lib/watir/elements/iframe.rb, line 94 def frame(*args) Frame.new(self, extract_selector(args).merge(tag_name: 'frame')) end
# File lib/watir/elements/iframe.rb, line 98 def frames(*args) FrameCollection.new(self, extract_selector(args).merge(tag_name: 'frame')) end
@return [FrameSet]
# File lib/watir/elements/html_elements.rb, line 1253 def frameset(*args) FrameSet.new(self, extract_selector(args).merge(tag_name: "frameset")) end
@return [FrameSetCollection]
# File lib/watir/elements/html_elements.rb, line 1257 def framesets(*args) FrameSetCollection.new(self, extract_selector(args).merge(tag_name: "frameset")) end
@return [G]
# File lib/watir/elements/svg_elements.rb, line 308 def g(*args) G.new(self, extract_selector(args).merge(tag_name: "g")) end
@return [GCollection]
# File lib/watir/elements/svg_elements.rb, line 312 def gs(*args) GCollection.new(self, extract_selector(args).merge(tag_name: "g")) end
@return [Heading]
# File lib/watir/elements/html_elements.rb, line 1263 def h1(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h1")) end
@return [HeadingCollection]
# File lib/watir/elements/html_elements.rb, line 1267 def h1s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h1")) end
@return [Heading]
# File lib/watir/elements/html_elements.rb, line 1273 def h2(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h2")) end
@return [HeadingCollection]
# File lib/watir/elements/html_elements.rb, line 1277 def h2s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h2")) end
@return [Heading]
# File lib/watir/elements/html_elements.rb, line 1283 def h3(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h3")) end
@return [HeadingCollection]
# File lib/watir/elements/html_elements.rb, line 1287 def h3s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h3")) end
@return [Heading]
# File lib/watir/elements/html_elements.rb, line 1293 def h4(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h4")) end
@return [HeadingCollection]
# File lib/watir/elements/html_elements.rb, line 1297 def h4s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h4")) end
@return [Heading]
# File lib/watir/elements/html_elements.rb, line 1303 def h5(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h5")) end
@return [HeadingCollection]
# File lib/watir/elements/html_elements.rb, line 1307 def h5s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h5")) end
@return [Heading]
# File lib/watir/elements/html_elements.rb, line 1313 def h6(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h6")) end
@return [HeadingCollection]
# File lib/watir/elements/html_elements.rb, line 1317 def h6s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h6")) end
@return [Head]
# File lib/watir/elements/html_elements.rb, line 1323 def head(*args) Head.new(self, extract_selector(args).merge(tag_name: "head")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1333 def header(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "header")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1337 def headers(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "header")) end
@return [HeadCollection]
# File lib/watir/elements/html_elements.rb, line 1327 def heads(*args) HeadCollection.new(self, extract_selector(args).merge(tag_name: "head")) end
@return [HR]
# File lib/watir/elements/html_elements.rb, line 1343 def hr(*args) HR.new(self, extract_selector(args).merge(tag_name: "hr")) end
@return [HRCollection]
# File lib/watir/elements/html_elements.rb, line 1347 def hrs(*args) HRCollection.new(self, extract_selector(args).merge(tag_name: "hr")) end
@return [Html]
# File lib/watir/elements/html_elements.rb, line 1353 def html(*args) Html.new(self, extract_selector(args).merge(tag_name: "html")) end
@return [HtmlCollection]
# File lib/watir/elements/html_elements.rb, line 1357 def htmls(*args) HtmlCollection.new(self, extract_selector(args).merge(tag_name: "html")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1363 def i(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "i")) end
@return [IFrame]
# File lib/watir/elements/html_elements.rb, line 1373 def iframe(*args) IFrame.new(self, extract_selector(args).merge(tag_name: "iframe")) end
@return [IFrameCollection]
# File lib/watir/elements/html_elements.rb, line 1377 def iframes(*args) IFrameCollection.new(self, extract_selector(args).merge(tag_name: "iframe")) end
@return [Image]
# File lib/watir/elements/html_elements.rb, line 1383 def img(*args) Image.new(self, extract_selector(args).merge(tag_name: "img")) end
@return [ImageCollection]
# File lib/watir/elements/html_elements.rb, line 1387 def imgs(*args) ImageCollection.new(self, extract_selector(args).merge(tag_name: "img")) end
@return [Input]
# File lib/watir/elements/html_elements.rb, line 1393 def input(*args) Input.new(self, extract_selector(args).merge(tag_name: "input")) end
@return [InputCollection]
# File lib/watir/elements/html_elements.rb, line 1397 def inputs(*args) InputCollection.new(self, extract_selector(args).merge(tag_name: "input")) end
@return [Mod]
# File lib/watir/elements/html_elements.rb, line 1403 def ins(*args) Mod.new(self, extract_selector(args).merge(tag_name: "ins")) end
@return [ModCollection]
# File lib/watir/elements/html_elements.rb, line 1407 def inses(*args) ModCollection.new(self, extract_selector(args).merge(tag_name: "ins")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1367 def is(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "i")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1413 def kbd(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "kbd")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1417 def kbds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "kbd")) end
@return [Label]
# File lib/watir/elements/html_elements.rb, line 1423 def label(*args) Label.new(self, extract_selector(args).merge(tag_name: "label")) end
@return [LabelCollection]
# File lib/watir/elements/html_elements.rb, line 1427 def labels(*args) LabelCollection.new(self, extract_selector(args).merge(tag_name: "label")) end
@return [Legend]
# File lib/watir/elements/html_elements.rb, line 1433 def legend(*args) Legend.new(self, extract_selector(args).merge(tag_name: "legend")) end
@return [LegendCollection]
# File lib/watir/elements/html_elements.rb, line 1437 def legends(*args) LegendCollection.new(self, extract_selector(args).merge(tag_name: "legend")) end
@return [LI]
# File lib/watir/elements/html_elements.rb, line 1443 def li(*args) LI.new(self, extract_selector(args).merge(tag_name: "li")) end
@return [Line]
# File lib/watir/elements/svg_elements.rb, line 318 def line(*args) Line.new(self, extract_selector(args).merge(tag_name: "line")) end
@return [LinearGradient]
# File lib/watir/elements/svg_elements.rb, line 328 def linear_gradient(*args) LinearGradient.new(self, extract_selector(args).merge(tag_name: "linearGradient")) end
@return [LinearGradientCollection]
# File lib/watir/elements/svg_elements.rb, line 332 def linear_gradients(*args) LinearGradientCollection.new(self, extract_selector(args).merge(tag_name: "linearGradient")) end
@return [LineCollection]
# File lib/watir/elements/svg_elements.rb, line 322 def lines(*args) LineCollection.new(self, extract_selector(args).merge(tag_name: "line")) end
@return [LICollection]
# File lib/watir/elements/html_elements.rb, line 1447 def lis(*args) LICollection.new(self, extract_selector(args).merge(tag_name: "li")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1453 def main(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "main")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1457 def mains(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "main")) end
@return [Map]
# File lib/watir/elements/html_elements.rb, line 1463 def map(*args) Map.new(self, extract_selector(args).merge(tag_name: "map")) end
@return [MapCollection]
# File lib/watir/elements/html_elements.rb, line 1467 def maps(*args) MapCollection.new(self, extract_selector(args).merge(tag_name: "map")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1473 def mark(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "mark")) end
@return [Marker]
# File lib/watir/elements/svg_elements.rb, line 338 def marker(*args) Marker.new(self, extract_selector(args).merge(tag_name: "marker")) end
@return [MarkerCollection]
# File lib/watir/elements/svg_elements.rb, line 342 def markers(*args) MarkerCollection.new(self, extract_selector(args).merge(tag_name: "marker")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1477 def marks(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "mark")) end
@return [Meta]
# File lib/watir/elements/html_elements.rb, line 1483 def meta(*args) Meta.new(self, extract_selector(args).merge(tag_name: "meta")) end
@return [Metadata]
# File lib/watir/elements/svg_elements.rb, line 348 def metadata(*args) Metadata.new(self, extract_selector(args).merge(tag_name: "metadata")) end
@return [MetadataCollection]
# File lib/watir/elements/svg_elements.rb, line 352 def metadatas(*args) MetadataCollection.new(self, extract_selector(args).merge(tag_name: "metadata")) end
@return [MetaCollection]
# File lib/watir/elements/html_elements.rb, line 1487 def metas(*args) MetaCollection.new(self, extract_selector(args).merge(tag_name: "meta")) end
@return [Meter]
# File lib/watir/elements/html_elements.rb, line 1493 def meter(*args) Meter.new(self, extract_selector(args).merge(tag_name: "meter")) end
@return [MeterCollection]
# File lib/watir/elements/html_elements.rb, line 1497 def meters(*args) MeterCollection.new(self, extract_selector(args).merge(tag_name: "meter")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1513 def noscript(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "noscript")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1517 def noscripts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "noscript")) end
@return [Object]
# File lib/watir/elements/html_elements.rb, line 1523 def object(*args) Object.new(self, extract_selector(args).merge(tag_name: "object")) end
@return [ObjectCollection]
# File lib/watir/elements/html_elements.rb, line 1527 def objects(*args) ObjectCollection.new(self, extract_selector(args).merge(tag_name: "object")) end
@return [OList]
# File lib/watir/elements/html_elements.rb, line 1533 def ol(*args) OList.new(self, extract_selector(args).merge(tag_name: "ol")) end
@return [OListCollection]
# File lib/watir/elements/html_elements.rb, line 1537 def ols(*args) OListCollection.new(self, extract_selector(args).merge(tag_name: "ol")) end
@return [OptGroup]
# File lib/watir/elements/html_elements.rb, line 1543 def optgroup(*args) OptGroup.new(self, extract_selector(args).merge(tag_name: "optgroup")) end
@return [OptGroupCollection]
# File lib/watir/elements/html_elements.rb, line 1547 def optgroups(*args) OptGroupCollection.new(self, extract_selector(args).merge(tag_name: "optgroup")) end
@return [Option]
# File lib/watir/elements/html_elements.rb, line 1553 def option(*args) Option.new(self, extract_selector(args).merge(tag_name: "option")) end
@return [OptionCollection]
# File lib/watir/elements/html_elements.rb, line 1557 def options(*args) OptionCollection.new(self, extract_selector(args).merge(tag_name: "option")) end
@return [Output]
# File lib/watir/elements/html_elements.rb, line 1563 def output(*args) Output.new(self, extract_selector(args).merge(tag_name: "output")) end
@return [OutputCollection]
# File lib/watir/elements/html_elements.rb, line 1567 def outputs(*args) OutputCollection.new(self, extract_selector(args).merge(tag_name: "output")) end
@return [Paragraph]
# File lib/watir/elements/html_elements.rb, line 1573 def p(*args) Paragraph.new(self, extract_selector(args).merge(tag_name: "p")) end
@return [Param]
# File lib/watir/elements/html_elements.rb, line 1583 def param(*args) Param.new(self, extract_selector(args).merge(tag_name: "param")) end
@return [ParamCollection]
# File lib/watir/elements/html_elements.rb, line 1587 def params(*args) ParamCollection.new(self, extract_selector(args).merge(tag_name: "param")) end
@return [Path]
# File lib/watir/elements/svg_elements.rb, line 358 def path(*args) Path.new(self, extract_selector(args).merge(tag_name: "path")) end
@return [PathCollection]
# File lib/watir/elements/svg_elements.rb, line 362 def paths(*args) PathCollection.new(self, extract_selector(args).merge(tag_name: "path")) end
@return [Pattern]
# File lib/watir/elements/svg_elements.rb, line 368 def pattern(*args) Pattern.new(self, extract_selector(args).merge(tag_name: "pattern")) end
@return [PatternCollection]
# File lib/watir/elements/svg_elements.rb, line 372 def patterns(*args) PatternCollection.new(self, extract_selector(args).merge(tag_name: "pattern")) end
@return [Picture]
# File lib/watir/elements/html_elements.rb, line 1593 def picture(*args) Picture.new(self, extract_selector(args).merge(tag_name: "picture")) end
@return [PictureCollection]
# File lib/watir/elements/html_elements.rb, line 1597 def pictures(*args) PictureCollection.new(self, extract_selector(args).merge(tag_name: "picture")) end
@return [Polygon]
# File lib/watir/elements/svg_elements.rb, line 378 def polygon(*args) Polygon.new(self, extract_selector(args).merge(tag_name: "polygon")) end
@return [PolygonCollection]
# File lib/watir/elements/svg_elements.rb, line 382 def polygons(*args) PolygonCollection.new(self, extract_selector(args).merge(tag_name: "polygon")) end
@return [Polyline]
# File lib/watir/elements/svg_elements.rb, line 388 def polyline(*args) Polyline.new(self, extract_selector(args).merge(tag_name: "polyline")) end
@return [PolylineCollection]
# File lib/watir/elements/svg_elements.rb, line 392 def polylines(*args) PolylineCollection.new(self, extract_selector(args).merge(tag_name: "polyline")) end
@return [Pre]
# File lib/watir/elements/html_elements.rb, line 1603 def pre(*args) Pre.new(self, extract_selector(args).merge(tag_name: "pre")) end
@return [PreCollection]
# File lib/watir/elements/html_elements.rb, line 1607 def pres(*args) PreCollection.new(self, extract_selector(args).merge(tag_name: "pre")) end
@return [Progress]
# File lib/watir/elements/html_elements.rb, line 1613 def progress(*args) Progress.new(self, extract_selector(args).merge(tag_name: "progress")) end
@return [ProgressCollection]
# File lib/watir/elements/html_elements.rb, line 1617 def progresses(*args) ProgressCollection.new(self, extract_selector(args).merge(tag_name: "progress")) end
@return [ParagraphCollection]
# File lib/watir/elements/html_elements.rb, line 1577 def ps(*args) ParagraphCollection.new(self, extract_selector(args).merge(tag_name: "p")) end
@return [Quote]
# File lib/watir/elements/html_elements.rb, line 1623 def q(*args) Quote.new(self, extract_selector(args).merge(tag_name: "q")) end
@return [QuoteCollection]
# File lib/watir/elements/html_elements.rb, line 1627 def qs(*args) QuoteCollection.new(self, extract_selector(args).merge(tag_name: "q")) end
@return [RadialGradient]
# File lib/watir/elements/svg_elements.rb, line 398 def radial_gradient(*args) RadialGradient.new(self, extract_selector(args).merge(tag_name: "radialGradient")) end
@return [RadialGradientCollection]
# File lib/watir/elements/svg_elements.rb, line 402 def radial_gradients(*args) RadialGradientCollection.new(self, extract_selector(args).merge(tag_name: "radialGradient")) end
# File lib/watir/elements/radio.rb, line 42 def radio(*args) Radio.new(self, extract_selector(args).merge(tag_name: 'input', type: 'radio')) end
# File lib/watir/radio_set.rb, line 221 def radio_set(*args) RadioSet.new(self, extract_selector(args).merge(tag_name: 'input', type: 'radio')) end
# File lib/watir/elements/radio.rb, line 46 def radios(*args) RadioCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'radio')) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1633 def rb(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "rb")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1637 def rbs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rb")) end
@return [Rect]
# File lib/watir/elements/svg_elements.rb, line 408 def rect(*args) Rect.new(self, extract_selector(args).merge(tag_name: "rect")) end
@return [RectCollection]
# File lib/watir/elements/svg_elements.rb, line 412 def rects(*args) RectCollection.new(self, extract_selector(args).merge(tag_name: "rect")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1643 def rp(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "rp")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1647 def rps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rp")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1653 def rt(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "rt")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1663 def rtc(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "rtc")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1667 def rtcs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rtc")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1657 def rts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rt")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1677 def rubies(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "ruby")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1673 def ruby(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "ruby")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1683 def s(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "s")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1693 def samp(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "samp")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1697 def samps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "samp")) end
@return [Script]
# File lib/watir/elements/html_elements.rb, line 1703 def script(*args) Script.new(self, extract_selector(args).merge(tag_name: "script")) end
@return [ScriptCollection]
# File lib/watir/elements/html_elements.rb, line 1707 def scripts(*args) ScriptCollection.new(self, extract_selector(args).merge(tag_name: "script")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1713 def section(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "section")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1717 def sections(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "section")) end
@return [Select]
# File lib/watir/elements/html_elements.rb, line 1723 def select(*args) Select.new(self, extract_selector(args).merge(tag_name: "select")) end
@return [SelectCollection]
# File lib/watir/elements/html_elements.rb, line 1727 def selects(*args) SelectCollection.new(self, extract_selector(args).merge(tag_name: "select")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1733 def small(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "small")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1737 def smalls(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "small")) end
@return [Source]
# File lib/watir/elements/html_elements.rb, line 1743 def source(*args) Source.new(self, extract_selector(args).merge(tag_name: "source")) end
@return [SourceCollection]
# File lib/watir/elements/html_elements.rb, line 1747 def sources(*args) SourceCollection.new(self, extract_selector(args).merge(tag_name: "source")) end
@return [Span]
# File lib/watir/elements/html_elements.rb, line 1753 def span(*args) Span.new(self, extract_selector(args).merge(tag_name: "span")) end
@return [SpanCollection]
# File lib/watir/elements/html_elements.rb, line 1757 def spans(*args) SpanCollection.new(self, extract_selector(args).merge(tag_name: "span")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1687 def ss(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "s")) end
@return [Stop]
# File lib/watir/elements/svg_elements.rb, line 418 def stop(*args) Stop.new(self, extract_selector(args).merge(tag_name: "stop")) end
@return [StopCollection]
# File lib/watir/elements/svg_elements.rb, line 422 def stops(*args) StopCollection.new(self, extract_selector(args).merge(tag_name: "stop")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1763 def strong(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "strong")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1767 def strongs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "strong")) end
@return [Style]
# File lib/watir/elements/html_elements.rb, line 1773 def style(*args) Style.new(self, extract_selector(args).merge(tag_name: "style")) end
@return [StyleCollection]
# File lib/watir/elements/html_elements.rb, line 1777 def styles(*args) StyleCollection.new(self, extract_selector(args).merge(tag_name: "style")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1783 def sub(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "sub")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1787 def subs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "sub")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1797 def summaries(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "summary")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1793 def summary(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "summary")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1803 def sup(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "sup")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1807 def sups(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "sup")) end
@return [SVG]
# File lib/watir/elements/svg_elements.rb, line 428 def svg(*args) SVG.new(self, extract_selector(args).merge(tag_name: "svg")) end
@return [SVGCollection]
# File lib/watir/elements/svg_elements.rb, line 432 def svgs(*args) SVGCollection.new(self, extract_selector(args).merge(tag_name: "svg")) end
@return [Switch]
# File lib/watir/elements/svg_elements.rb, line 438 def switch(*args) Switch.new(self, extract_selector(args).merge(tag_name: "switch")) end
@return [SwitchCollection]
# File lib/watir/elements/svg_elements.rb, line 442 def switches(*args) SwitchCollection.new(self, extract_selector(args).merge(tag_name: "switch")) end
@return [Symbol]
# File lib/watir/elements/svg_elements.rb, line 448 def symbol(*args) Symbol.new(self, extract_selector(args).merge(tag_name: "symbol")) end
@return [SymbolCollection]
# File lib/watir/elements/svg_elements.rb, line 452 def symbols(*args) SymbolCollection.new(self, extract_selector(args).merge(tag_name: "symbol")) end
@return [Table]
# File lib/watir/elements/html_elements.rb, line 1813 def table(*args) Table.new(self, extract_selector(args).merge(tag_name: "table")) end
@return [TableCollection]
# File lib/watir/elements/html_elements.rb, line 1817 def tables(*args) TableCollection.new(self, extract_selector(args).merge(tag_name: "table")) end
@return [TableSection]
# File lib/watir/elements/html_elements.rb, line 1823 def tbody(*args) TableSection.new(self, extract_selector(args).merge(tag_name: "tbody")) end
@return [TableSectionCollection]
# File lib/watir/elements/html_elements.rb, line 1827 def tbodys(*args) TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "tbody")) end
@return [TableDataCell]
# File lib/watir/elements/html_elements.rb, line 1833 def td(*args) TableDataCell.new(self, extract_selector(args).merge(tag_name: "td")) end
@return [TableDataCellCollection]
# File lib/watir/elements/html_elements.rb, line 1837 def tds(*args) TableDataCellCollection.new(self, extract_selector(args).merge(tag_name: "td")) end
@return [Template]
# File lib/watir/elements/html_elements.rb, line 1843 def template(*args) Template.new(self, extract_selector(args).merge(tag_name: "template")) end
@return [TemplateCollection]
# File lib/watir/elements/html_elements.rb, line 1847 def templates(*args) TemplateCollection.new(self, extract_selector(args).merge(tag_name: "template")) end
# File lib/watir/elements/text_field.rb, line 21 def text_field(*args) TextField.new(self, extract_selector(args).merge(tag_name: 'input')) end
# File lib/watir/elements/text_field.rb, line 25 def text_fields(*args) TextFieldCollection.new(self, extract_selector(args).merge(tag_name: 'input')) end
@return [TextPath]
# File lib/watir/elements/svg_elements.rb, line 458 def text_path(*args) TextPath.new(self, extract_selector(args).merge(tag_name: "textPath")) end
@return [TextPathCollection]
# File lib/watir/elements/svg_elements.rb, line 462 def text_paths(*args) TextPathCollection.new(self, extract_selector(args).merge(tag_name: "textPath")) end
@return [TextArea]
# File lib/watir/elements/html_elements.rb, line 1853 def textarea(*args) TextArea.new(self, extract_selector(args).merge(tag_name: "textarea")) end
@return [TextAreaCollection]
# File lib/watir/elements/html_elements.rb, line 1857 def textareas(*args) TextAreaCollection.new(self, extract_selector(args).merge(tag_name: "textarea")) end
@return [TableSection]
# File lib/watir/elements/html_elements.rb, line 1863 def tfoot(*args) TableSection.new(self, extract_selector(args).merge(tag_name: "tfoot")) end
@return [TableSectionCollection]
# File lib/watir/elements/html_elements.rb, line 1867 def tfoots(*args) TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "tfoot")) end
@return [TableHeaderCell]
# File lib/watir/elements/html_elements.rb, line 1873 def th(*args) TableHeaderCell.new(self, extract_selector(args).merge(tag_name: "th")) end
@return [TableSection]
# File lib/watir/elements/html_elements.rb, line 1883 def thead(*args) TableSection.new(self, extract_selector(args).merge(tag_name: "thead")) end
@return [TableSectionCollection]
# File lib/watir/elements/html_elements.rb, line 1887 def theads(*args) TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "thead")) end
@return [TableHeaderCellCollection]
# File lib/watir/elements/html_elements.rb, line 1877 def ths(*args) TableHeaderCellCollection.new(self, extract_selector(args).merge(tag_name: "th")) end
@return [Time]
# File lib/watir/elements/html_elements.rb, line 1893 def time(*args) Time.new(self, extract_selector(args).merge(tag_name: "time")) end
@return [TimeCollection]
# File lib/watir/elements/html_elements.rb, line 1897 def times(*args) TimeCollection.new(self, extract_selector(args).merge(tag_name: "time")) end
@return [Title]
# File lib/watir/elements/html_elements.rb, line 1903 def title(*args) Title.new(self, extract_selector(args).merge(tag_name: "title")) end
@return [TitleCollection]
# File lib/watir/elements/html_elements.rb, line 1907 def titles(*args) TitleCollection.new(self, extract_selector(args).merge(tag_name: "title")) end
@return [TableRow]
# File lib/watir/elements/html_elements.rb, line 1913 def tr(*args) TableRow.new(self, extract_selector(args).merge(tag_name: "tr")) end
@return [Track]
# File lib/watir/elements/html_elements.rb, line 1923 def track(*args) Track.new(self, extract_selector(args).merge(tag_name: "track")) end
@return [TrackCollection]
# File lib/watir/elements/html_elements.rb, line 1927 def tracks(*args) TrackCollection.new(self, extract_selector(args).merge(tag_name: "track")) end
@return [TableRowCollection]
# File lib/watir/elements/html_elements.rb, line 1917 def trs(*args) TableRowCollection.new(self, extract_selector(args).merge(tag_name: "tr")) end
@return [TSpan]
# File lib/watir/elements/svg_elements.rb, line 468 def tspan(*args) TSpan.new(self, extract_selector(args).merge(tag_name: "tspan")) end
@return [TSpanCollection]
# File lib/watir/elements/svg_elements.rb, line 472 def tspans(*args) TSpanCollection.new(self, extract_selector(args).merge(tag_name: "tspan")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1933 def u(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "u")) end
@return [UList]
# File lib/watir/elements/html_elements.rb, line 1943 def ul(*args) UList.new(self, extract_selector(args).merge(tag_name: "ul")) end
@return [UListCollection]
# File lib/watir/elements/html_elements.rb, line 1947 def uls(*args) UListCollection.new(self, extract_selector(args).merge(tag_name: "ul")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1937 def us(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "u")) end
@return [Use]
# File lib/watir/elements/svg_elements.rb, line 478 def use(*args) Use.new(self, extract_selector(args).merge(tag_name: "use")) end
@return [UseCollection]
# File lib/watir/elements/svg_elements.rb, line 482 def uses(*args) UseCollection.new(self, extract_selector(args).merge(tag_name: "use")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1953 def var(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "var")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1957 def vars(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "var")) end
@return [Video]
# File lib/watir/elements/html_elements.rb, line 1963 def video(*args) Video.new(self, extract_selector(args).merge(tag_name: "video")) end
@return [VideoCollection]
# File lib/watir/elements/html_elements.rb, line 1967 def videos(*args) VideoCollection.new(self, extract_selector(args).merge(tag_name: "video")) end
@return [View]
# File lib/watir/elements/svg_elements.rb, line 488 def view(*args) View.new(self, extract_selector(args).merge(tag_name: "view")) end
@return [ViewCollection]
# File lib/watir/elements/svg_elements.rb, line 492 def views(*args) ViewCollection.new(self, extract_selector(args).merge(tag_name: "view")) end
@return [HTMLElement]
# File lib/watir/elements/html_elements.rb, line 1973 def wbr(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "wbr")) end
@return [HTMLElementCollection]
# File lib/watir/elements/html_elements.rb, line 1977 def wbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "wbr")) end