module Watir::Container

Public Instance Methods

a(*args) click to toggle source

@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
Also aliased as: link
abbr(*args) click to toggle source

@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
abbrs(*args) click to toggle source

@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
address(*args) click to toggle source

@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
addresses(*args) click to toggle source

@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
area(*args) click to toggle source

@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
areas(*args) click to toggle source

@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
article(*args) click to toggle source

@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
articles(*args) click to toggle source

@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
as(*args) click to toggle source

@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
Also aliased as: links
aside(*args) click to toggle source

@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
asides(*args) click to toggle source

@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
audio(*args) click to toggle source

@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
audios(*args) click to toggle source

@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
b(*args) click to toggle source

@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
base(*args) click to toggle source

@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
bases(*args) click to toggle source

@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
bdi(*args) click to toggle source

@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
bdis(*args) click to toggle source

@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
bdo(*args) click to toggle source

@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
bdos(*args) click to toggle source

@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
blockquote(*args) click to toggle source

@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
blockquotes(*args) click to toggle source

@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
body(*args) click to toggle source

@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
bodys(*args) click to toggle source

@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
br(*args) click to toggle source

@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
brs(*args) click to toggle source

@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
bs(*args) click to toggle source

@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
button(*args) click to toggle source

@return [Button]

# File lib/watir/elements/html_elements.rb, line 1013
def button(*args)
  Button.new(self, extract_selector(args).merge(tag_name: "button"))
end
buttons(*args) click to toggle source

@return [ButtonCollection]

# File lib/watir/elements/html_elements.rb, line 1017
def buttons(*args)
  ButtonCollection.new(self, extract_selector(args).merge(tag_name: "button"))
end
canvas(*args) click to toggle source

@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
canvases(*args) click to toggle source

@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
caption(*args) click to toggle source

@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
captions(*args) click to toggle source

@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
checkbox(*args) click to toggle source
# File lib/watir/elements/checkbox.rb, line 43
def checkbox(*args)
  CheckBox.new(self, extract_selector(args).merge(tag_name: 'input', type: 'checkbox'))
end
checkboxes(*args) click to toggle source
# File lib/watir/elements/checkbox.rb, line 47
def checkboxes(*args)
  CheckBoxCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'checkbox'))
end
circle(*args) click to toggle source

@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
circles(*args) click to toggle source

@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
cite(*args) click to toggle source

@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
cites(*args) click to toggle source

@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
code(*args) click to toggle source

@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
codes(*args) click to toggle source

@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
col(*args) click to toggle source

@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
colgroup(*args) click to toggle source

@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
colgroups(*args) click to toggle source

@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
cols(*args) click to toggle source

@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
data(*args) click to toggle source

@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
datalist(*args) click to toggle source

@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
datalists(*args) click to toggle source

@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
datas(*args) click to toggle source

@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
date_field(*args) click to toggle source
# 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
date_fields(*args) click to toggle source
# 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
date_time_field(*args) click to toggle source
# 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
date_time_fields(*args) click to toggle source
# 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
dd(*args) click to toggle source

@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
dds(*args) click to toggle source

@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
defs(*args) click to toggle source

@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
defss(*args) click to toggle source

@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
del(*args) click to toggle source

@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
dels(*args) click to toggle source

@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
desc(*args) click to toggle source

@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
descs(*args) click to toggle source

@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
details(*args) click to toggle source

@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
detailses(*args) click to toggle source

@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
dfn(*args) click to toggle source

@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
dfns(*args) click to toggle source

@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
dialog(*args) click to toggle source

@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
dialogs(*args) click to toggle source

@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
div(*args) click to toggle source

@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
divs(*args) click to toggle source

@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
dl(*args) click to toggle source

@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
dls(*args) click to toggle source

@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
dt(*args) click to toggle source

@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
dts(*args) click to toggle source

@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
element(*args) click to toggle source

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
elements(*args) click to toggle source

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
ellipse(*args) click to toggle source

@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
ellipses(*args) click to toggle source

@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
em(*args) click to toggle source

@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
embed(*args) click to toggle source

@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
embeds(*args) click to toggle source

@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
ems(*args) click to toggle source

@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
extract_selector(selector) click to toggle source

@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
field_set(*args)
Alias for: fieldset
field_sets(*args)
Alias for: fieldsets
fieldset(*args) click to toggle source

@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
Also aliased as: field_set
fieldsets(*args) click to toggle source

@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
Also aliased as: field_sets
figcaption(*args) click to toggle source

@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
figcaptions(*args) click to toggle source

@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
figure(*args) click to toggle source

@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
figures(*args) click to toggle source

@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_field(*args) click to toggle source
# 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_fields(*args) click to toggle source
# 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
font(*args) click to toggle source
# File lib/watir/elements/font.rb, line 15
def font(*args)
  Font.new(self, extract_selector(args).merge(tag_name: 'font'))
end
fonts(*args) click to toggle source
# File lib/watir/elements/font.rb, line 19
def fonts(*args)
  FontCollection.new(self, extract_selector(args).merge(tag_name: 'font'))
end
footers(*args) click to toggle source

@return [HTMLElementCollection]

# File lib/watir/elements/html_elements.rb, line 1237
def footers(*args)
  HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "footer"))
end
foreign_object(*args) click to toggle source

@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
foreign_objects(*args) click to toggle source

@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
form(*args) click to toggle source

@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
forms(*args) click to toggle source

@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
frame(*args) click to toggle source
# File lib/watir/elements/iframe.rb, line 94
def frame(*args)
  Frame.new(self, extract_selector(args).merge(tag_name: 'frame'))
end
frames(*args) click to toggle source
# File lib/watir/elements/iframe.rb, line 98
def frames(*args)
  FrameCollection.new(self, extract_selector(args).merge(tag_name: 'frame'))
end
frameset(*args) click to toggle source

@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
framesets(*args) click to toggle source

@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
g(*args) click to toggle source

@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
gs(*args) click to toggle source

@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
h1(*args) click to toggle source

@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
h1s(*args) click to toggle source

@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
h2(*args) click to toggle source

@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
h2s(*args) click to toggle source

@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
h3(*args) click to toggle source

@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
h3s(*args) click to toggle source

@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
h4(*args) click to toggle source

@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
h4s(*args) click to toggle source

@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
h5(*args) click to toggle source

@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
h5s(*args) click to toggle source

@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
h6(*args) click to toggle source

@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
h6s(*args) click to toggle source

@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
head(*args) click to toggle source

@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
header(*args) click to toggle source

@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
headers(*args) click to toggle source

@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
heads(*args) click to toggle source

@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
hidden(*args) click to toggle source
# File lib/watir/elements/hidden.rb, line 13
def hidden(*args)
  Hidden.new(self, extract_selector(args).merge(tag_name: 'input', type: 'hidden'))
end
hiddens(*args) click to toggle source
# File lib/watir/elements/hidden.rb, line 17
def hiddens(*args)
  HiddenCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'hidden'))
end
hr(*args) click to toggle source

@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
hrs(*args) click to toggle source

@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
html(*args) click to toggle source

@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
htmls(*args) click to toggle source

@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
i(*args) click to toggle source

@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
iframe(*args) click to toggle source

@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
iframes(*args) click to toggle source

@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
image(*args)
Alias for: img
images(*args)
Alias for: imgs
img(*args) click to toggle source

@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
Also aliased as: image
imgs(*args) click to toggle source

@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
Also aliased as: images
input(*args) click to toggle source

@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
inputs(*args) click to toggle source

@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
ins(*args) click to toggle source

@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
inses(*args) click to toggle source

@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
is(*args) click to toggle source

@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
kbd(*args) click to toggle source

@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
kbds(*args) click to toggle source

@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
label(*args) click to toggle source

@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
labels(*args) click to toggle source

@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
legend(*args) click to toggle source

@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
legends(*args) click to toggle source

@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
li(*args) click to toggle source

@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
line(*args) click to toggle source

@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
linear_gradient(*args) click to toggle source

@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
linear_gradients(*args) click to toggle source

@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
lines(*args) click to toggle source

@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
lis(*args) click to toggle source

@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
main(*args) click to toggle source

@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
mains(*args) click to toggle source

@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
map(*args) click to toggle source

@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
maps(*args) click to toggle source

@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
mark(*args) click to toggle source

@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
marker(*args) click to toggle source

@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
markers(*args) click to toggle source

@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
marks(*args) click to toggle source

@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
meta(*args) click to toggle source

@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
metadata(*args) click to toggle source

@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
metadatas(*args) click to toggle source

@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
metas(*args) click to toggle source

@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
meter(*args) click to toggle source

@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
meters(*args) click to toggle source

@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
nav(*args) click to toggle source

@return [HTMLElement]

navs(*args) click to toggle source

@return [HTMLElementCollection]

noscript(*args) click to toggle source

@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
noscripts(*args) click to toggle source

@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
object(*args) click to toggle source

@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
objects(*args) click to toggle source

@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
ol(*args) click to toggle source

@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
ols(*args) click to toggle source

@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
optgroup(*args) click to toggle source

@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
optgroups(*args) click to toggle source

@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
option(*args) click to toggle source

@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
options(*args) click to toggle source

@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
output(*args) click to toggle source

@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
outputs(*args) click to toggle source

@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
p(*args) click to toggle source

@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
param(*args) click to toggle source

@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
params(*args) click to toggle source

@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
path(*args) click to toggle source

@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
paths(*args) click to toggle source

@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
pattern(*args) click to toggle source

@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
patterns(*args) click to toggle source

@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
picture(*args) click to toggle source

@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
pictures(*args) click to toggle source

@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
polygon(*args) click to toggle source

@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
polygons(*args) click to toggle source

@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
polyline(*args) click to toggle source

@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
polylines(*args) click to toggle source

@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
pre(*args) click to toggle source

@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
pres(*args) click to toggle source

@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
progress(*args) click to toggle source

@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
progresses(*args) click to toggle source

@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
ps(*args) click to toggle source

@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
q(*args) click to toggle source

@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
qs(*args) click to toggle source

@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
radial_gradient(*args) click to toggle source

@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
radial_gradients(*args) click to toggle source

@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
radio(*args) click to toggle source
# File lib/watir/elements/radio.rb, line 42
def radio(*args)
  Radio.new(self, extract_selector(args).merge(tag_name: 'input', type: 'radio'))
end
radio_set(*args) click to toggle source
# 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
radios(*args) click to toggle source
# File lib/watir/elements/radio.rb, line 46
def radios(*args)
  RadioCollection.new(self, extract_selector(args).merge(tag_name: 'input', type: 'radio'))
end
rb(*args) click to toggle source

@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
rbs(*args) click to toggle source

@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
rect(*args) click to toggle source

@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
rects(*args) click to toggle source

@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
rp(*args) click to toggle source

@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
rps(*args) click to toggle source

@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
rt(*args) click to toggle source

@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
rtc(*args) click to toggle source

@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
rtcs(*args) click to toggle source

@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
rts(*args) click to toggle source

@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
rubies(*args) click to toggle source

@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
ruby(*args) click to toggle source

@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
s(*args) click to toggle source

@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
samp(*args) click to toggle source

@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
samps(*args) click to toggle source

@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
script(*args) click to toggle source

@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
scripts(*args) click to toggle source

@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
section(*args) click to toggle source

@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
sections(*args) click to toggle source

@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
select(*args) click to toggle source

@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
Also aliased as: select_list
select_list(*args)
Alias for: select
select_lists(*args)
Alias for: selects
selects(*args) click to toggle source

@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
Also aliased as: select_lists
small(*args) click to toggle source

@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
smalls(*args) click to toggle source

@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
source(*args) click to toggle source

@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
sources(*args) click to toggle source

@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
span(*args) click to toggle source

@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
spans(*args) click to toggle source

@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
ss(*args) click to toggle source

@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
stop(*args) click to toggle source

@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
stops(*args) click to toggle source

@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
strong(*args) click to toggle source

@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
strongs(*args) click to toggle source

@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
style(*args) click to toggle source

@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
styles(*args) click to toggle source

@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
sub(*args) click to toggle source

@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
subs(*args) click to toggle source

@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
summaries(*args) click to toggle source

@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
summary(*args) click to toggle source

@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
sup(*args) click to toggle source

@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
sups(*args) click to toggle source

@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
svg(*args) click to toggle source

@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
svgs(*args) click to toggle source

@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
switch(*args) click to toggle source

@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
switches(*args) click to toggle source

@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
symbol(*args) click to toggle source

@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
symbols(*args) click to toggle source

@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
table(*args) click to toggle source

@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
tables(*args) click to toggle source

@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
tbody(*args) click to toggle source

@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
tbodys(*args) click to toggle source

@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
td(*args) click to toggle source

@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
tds(*args) click to toggle source

@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
template(*args) click to toggle source

@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
templates(*args) click to toggle source

@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
text_field(*args) click to toggle source
# File lib/watir/elements/text_field.rb, line 21
def text_field(*args)
  TextField.new(self, extract_selector(args).merge(tag_name: 'input'))
end
text_fields(*args) click to toggle source
# File lib/watir/elements/text_field.rb, line 25
def text_fields(*args)
  TextFieldCollection.new(self, extract_selector(args).merge(tag_name: 'input'))
end
text_path(*args) click to toggle source

@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
text_paths(*args) click to toggle source

@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
textarea(*args) click to toggle source

@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
textareas(*args) click to toggle source

@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
tfoot(*args) click to toggle source

@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
tfoots(*args) click to toggle source

@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
th(*args) click to toggle source

@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
thead(*args) click to toggle source

@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
theads(*args) click to toggle source

@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
ths(*args) click to toggle source

@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
time(*args) click to toggle source

@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
times(*args) click to toggle source

@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
title(*args) click to toggle source

@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
titles(*args) click to toggle source

@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
tr(*args) click to toggle source

@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
track(*args) click to toggle source

@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
tracks(*args) click to toggle source

@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
trs(*args) click to toggle source

@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
tspan(*args) click to toggle source

@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
tspans(*args) click to toggle source

@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
u(*args) click to toggle source

@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
ul(*args) click to toggle source

@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
uls(*args) click to toggle source

@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
us(*args) click to toggle source

@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
use(*args) click to toggle source

@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
uses(*args) click to toggle source

@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
var(*args) click to toggle source

@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
vars(*args) click to toggle source

@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
video(*args) click to toggle source

@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
videos(*args) click to toggle source

@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
view(*args) click to toggle source

@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
views(*args) click to toggle source

@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
wbr(*args) click to toggle source

@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
wbrs(*args) click to toggle source

@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