Module: Watir::Container
- Includes:
- Atoms, XpathSupport
- Defined in:
- lib/watir-webdriver/elements/image.rb,
lib/watir-webdriver/aliases.rb,
lib/watir-webdriver/container.rb,
lib/watir-webdriver/elements/font.rb,
lib/watir-webdriver/elements/link.rb,
lib/watir-webdriver/elements/radio.rb,
lib/watir-webdriver/elements/hidden.rb,
lib/watir-webdriver/elements/iframe.rb,
lib/watir-webdriver/elements/select.rb,
lib/watir-webdriver/elements/checkbox.rb,
lib/watir-webdriver/elements/file_field.rb,
lib/watir-webdriver/elements/text_field.rb,
lib/watir-webdriver/elements/svg_elements.rb,
lib/watir-webdriver/elements/html_elements.rb
Overview
TextField
Constant Summary
Constants included from Atoms
Instance Method Summary collapse
- #a(*args) ⇒ Anchor
- #abbr(*args) ⇒ HTMLElement
- #abbrs(*args) ⇒ HTMLElementCollection
- #address(*args) ⇒ HTMLElement
- #addresses(*args) ⇒ HTMLElementCollection
- #animate(*args) ⇒ Animate
- #animate_motion(*args) ⇒ AnimateMotion
- #animate_motions(*args) ⇒ AnimateMotionCollection
- #animate_transform(*args) ⇒ AnimateTransform
- #animate_transforms(*args) ⇒ AnimateTransformCollection
- #animates(*args) ⇒ AnimateCollection
- #area(*args) ⇒ Area
- #areas(*args) ⇒ AreaCollection
- #article(*args) ⇒ HTMLElement
- #articles(*args) ⇒ HTMLElementCollection
- #as(*args) ⇒ AnchorCollection
- #aside(*args) ⇒ HTMLElement
- #asides(*args) ⇒ HTMLElementCollection
- #audio(*args) ⇒ Audio
- #audios(*args) ⇒ AudioCollection
- #b(*args) ⇒ HTMLElement
- #base(*args) ⇒ Base
- #bases(*args) ⇒ BaseCollection
- #bdi(*args) ⇒ HTMLElement
- #bdis(*args) ⇒ HTMLElementCollection
- #bdo(*args) ⇒ HTMLElement
- #bdos(*args) ⇒ HTMLElementCollection
- #blockquote(*args) ⇒ Quote
- #blockquotes(*args) ⇒ QuoteCollection
- #body(*args) ⇒ Body
- #bodys(*args) ⇒ BodyCollection
- #br(*args) ⇒ BR
- #brs(*args) ⇒ BRCollection
- #bs(*args) ⇒ HTMLElementCollection
- #button(*args) ⇒ Button
- #buttons(*args) ⇒ ButtonCollection
- #canvas(*args) ⇒ Canvas
- #canvases(*args) ⇒ CanvasCollection
- #caption(*args) ⇒ TableCaption
- #captions(*args) ⇒ TableCaptionCollection
- #checkbox(*args) ⇒ Object
- #checkboxes(*args) ⇒ Object
- #circle(*args) ⇒ Circle
- #circles(*args) ⇒ CircleCollection
- #cite(*args) ⇒ HTMLElement
- #cites(*args) ⇒ HTMLElementCollection
- #code(*args) ⇒ HTMLElement
- #codes(*args) ⇒ HTMLElementCollection
- #col(*args) ⇒ TableCol
- #colgroup(*args) ⇒ TableCol
- #colgroups(*args) ⇒ TableColCollection
- #cols(*args) ⇒ TableColCollection
- #cursor(*args) ⇒ Cursor
- #cursors(*args) ⇒ CursorCollection
- #data(*args) ⇒ Data
- #datalist(*args) ⇒ DataList
- #datalists(*args) ⇒ DataListCollection
- #datas(*args) ⇒ DataCollection
- #dd(*args) ⇒ HTMLElement
- #dds(*args) ⇒ HTMLElementCollection
- #defs(*args) ⇒ Defs
- #defss(*args) ⇒ DefsCollection
- #del(*args) ⇒ Mod
- #dels(*args) ⇒ ModCollection
- #desc(*args) ⇒ Desc
- #descs(*args) ⇒ DescCollection
- #details(*args) ⇒ Details
- #detailses(*args) ⇒ DetailsCollection
- #dfn(*args) ⇒ HTMLElement
- #dfns(*args) ⇒ HTMLElementCollection
- #dialog(*args) ⇒ Dialog
- #dialogs(*args) ⇒ DialogCollection
- #discard(*args) ⇒ Metadata
- #discards(*args) ⇒ MetadataCollection
- #div(*args) ⇒ Div
- #divs(*args) ⇒ DivCollection
- #dl(*args) ⇒ DList
- #dls(*args) ⇒ DListCollection
- #dt(*args) ⇒ HTMLElement
- #dts(*args) ⇒ HTMLElementCollection
-
#element(*args) ⇒ HTMLElement
Returns element.
-
#elements(*args) ⇒ HTMLElementCollection
Returns element collection.
- #ellipse(*args) ⇒ Ellipse
- #ellipses(*args) ⇒ EllipseCollection
- #em(*args) ⇒ HTMLElement
- #embed(*args) ⇒ Embed
- #embeds(*args) ⇒ EmbedCollection
- #ems(*args) ⇒ HTMLElementCollection
- #extract_selector(selectors) ⇒ Object private
- #field_set ⇒ Object
- #field_sets ⇒ Object
- #fieldset(*args) ⇒ FieldSet
- #fieldsets(*args) ⇒ FieldSetCollection
- #figcaption(*args) ⇒ HTMLElement
- #figcaptions(*args) ⇒ HTMLElementCollection
- #figure(*args) ⇒ HTMLElement
- #figures(*args) ⇒ HTMLElementCollection
- #file_field(*args) ⇒ Object
- #file_fields(*args) ⇒ Object
- #font(*args) ⇒ Object
- #fonts(*args) ⇒ Object
- #footer(*args) ⇒ HTMLElement
- #footers(*args) ⇒ HTMLElementCollection
- #foreign_object(*args) ⇒ ForeignObject
- #foreign_objects(*args) ⇒ ForeignObjectCollection
- #form(*args) ⇒ Form
- #forms(*args) ⇒ FormCollection
- #frame(*args) ⇒ Object
- #frames(*args) ⇒ Object
- #frameset(*args) ⇒ FrameSet
- #framesets(*args) ⇒ FrameSetCollection
- #g(*args) ⇒ G
- #gs(*args) ⇒ GCollection
- #h1(*args) ⇒ Heading
- #h1s(*args) ⇒ HeadingCollection
- #h2(*args) ⇒ Heading
- #h2s(*args) ⇒ HeadingCollection
- #h3(*args) ⇒ Heading
- #h3s(*args) ⇒ HeadingCollection
- #h4(*args) ⇒ Heading
- #h4s(*args) ⇒ HeadingCollection
- #h5(*args) ⇒ Heading
- #h5s(*args) ⇒ HeadingCollection
- #h6(*args) ⇒ Heading
- #h6s(*args) ⇒ HeadingCollection
- #head(*args) ⇒ Head
- #header(*args) ⇒ HTMLElement
- #headers(*args) ⇒ HTMLElementCollection
- #heads(*args) ⇒ HeadCollection
- #hgroup(*args) ⇒ HTMLElement
- #hgroups(*args) ⇒ HTMLElementCollection
- #hidden(*args) ⇒ Object
- #hiddens(*args) ⇒ Object
- #hr(*args) ⇒ HR
- #hrs(*args) ⇒ HRCollection
- #html(*args) ⇒ Html
- #htmls(*args) ⇒ HtmlCollection
- #i(*args) ⇒ HTMLElement
- #iframe(*args) ⇒ IFrame
- #iframes(*args) ⇒ IFrameCollection
- #image ⇒ Object
- #images ⇒ Object
- #img(*args) ⇒ Image
- #imgs(*args) ⇒ ImageCollection
- #input(*args) ⇒ Input
- #inputs(*args) ⇒ InputCollection
- #ins(*args) ⇒ Mod
- #inses(*args) ⇒ ModCollection
- #is(*args) ⇒ HTMLElementCollection
- #kbd(*args) ⇒ HTMLElement
- #kbds(*args) ⇒ HTMLElementCollection
- #keygen(*args) ⇒ Keygen
- #keygens(*args) ⇒ KeygenCollection
- #label(*args) ⇒ Label
- #labels(*args) ⇒ LabelCollection
- #legend(*args) ⇒ Legend
- #legends(*args) ⇒ LegendCollection
- #li(*args) ⇒ LI
- #line(*args) ⇒ Line
- #linear_gradient(*args) ⇒ LinearGradient
- #linear_gradients(*args) ⇒ LinearGradientCollection
- #lines(*args) ⇒ LineCollection
- #link ⇒ Object
- #links ⇒ Object
- #lis(*args) ⇒ LICollection
- #main(*args) ⇒ HTMLElement
- #mains(*args) ⇒ HTMLElementCollection
- #map(*args) ⇒ Map
- #maps(*args) ⇒ MapCollection
- #mark(*args) ⇒ HTMLElement
- #marker(*args) ⇒ Marker
- #markers(*args) ⇒ MarkerCollection
- #marks(*args) ⇒ HTMLElementCollection
- #menu(*args) ⇒ Menu
- #menuitem(*args) ⇒ MenuItem
- #menuitems(*args) ⇒ MenuItemCollection
- #menus(*args) ⇒ MenuCollection
- #mesh_gradient(*args) ⇒ MeshGradient
- #mesh_gradients(*args) ⇒ MeshGradientCollection
- #mesh_patch(*args) ⇒ MeshPatch
- #mesh_patches(*args) ⇒ MeshPatchCollection
- #mesh_row(*args) ⇒ MeshRow
- #mesh_rows(*args) ⇒ MeshRowCollection
- #meta(*args) ⇒ Meta
- #metadata(*args) ⇒ Metadata
- #metadatas(*args) ⇒ MetadataCollection
- #metas(*args) ⇒ MetaCollection
- #meter(*args) ⇒ Meter
- #meters(*args) ⇒ MeterCollection
- #mpath(*args) ⇒ MPath
- #mpaths(*args) ⇒ MPathCollection
- #nav(*args) ⇒ HTMLElement
- #navs(*args) ⇒ HTMLElementCollection
- #noscript(*args) ⇒ HTMLElement
- #noscripts(*args) ⇒ HTMLElementCollection
- #object(*args) ⇒ Object
- #objects(*args) ⇒ ObjectCollection
- #ol(*args) ⇒ OList
- #ols(*args) ⇒ OListCollection
- #optgroup(*args) ⇒ OptGroup
- #optgroups(*args) ⇒ OptGroupCollection
- #option(*args) ⇒ Option
- #options(*args) ⇒ OptionCollection
- #output(*args) ⇒ Output
- #outputs(*args) ⇒ OutputCollection
- #p(*args) ⇒ Paragraph
- #param(*args) ⇒ Param
- #params(*args) ⇒ ParamCollection
- #path(*args) ⇒ Path
- #paths(*args) ⇒ PathCollection
- #pattern(*args) ⇒ Pattern
- #patterns(*args) ⇒ PatternCollection
- #polygon(*args) ⇒ Polygon
- #polygons(*args) ⇒ PolygonCollection
- #polyline(*args) ⇒ Polyline
- #polylines(*args) ⇒ PolylineCollection
- #pre(*args) ⇒ Pre
- #pres(*args) ⇒ PreCollection
- #progress(*args) ⇒ Progress
- #progresses(*args) ⇒ ProgressCollection
- #ps(*args) ⇒ ParagraphCollection
- #q(*args) ⇒ Quote
- #qs(*args) ⇒ QuoteCollection
- #radial_gradient(*args) ⇒ RadialGradient
- #radial_gradients(*args) ⇒ RadialGradientCollection
- #radio(*args) ⇒ Object
- #radios(*args) ⇒ Object
- #rect(*args) ⇒ Rect
- #rects(*args) ⇒ RectCollection
- #rp(*args) ⇒ HTMLElement
- #rps(*args) ⇒ HTMLElementCollection
- #rt(*args) ⇒ HTMLElement
- #rts(*args) ⇒ HTMLElementCollection
- #rubies(*args) ⇒ HTMLElementCollection
- #ruby(*args) ⇒ HTMLElement
- #s(*args) ⇒ HTMLElement
- #samp(*args) ⇒ HTMLElement
- #samps(*args) ⇒ HTMLElementCollection
- #script(*args) ⇒ Script
- #scripts(*args) ⇒ ScriptCollection
- #section(*args) ⇒ HTMLElement
- #sections(*args) ⇒ HTMLElementCollection
- #select(*args) ⇒ Select
- #select_list ⇒ Object
- #select_lists ⇒ Object
- #selects(*args) ⇒ SelectCollection
- #set(*args) ⇒ Set
- #sets(*args) ⇒ SetCollection
- #small(*args) ⇒ HTMLElement
- #smalls(*args) ⇒ HTMLElementCollection
- #source(*args) ⇒ Source
- #sources(*args) ⇒ SourceCollection
- #span(*args) ⇒ Span
- #spans(*args) ⇒ SpanCollection
- #ss(*args) ⇒ HTMLElementCollection
- #stop(*args) ⇒ Stop
- #stops(*args) ⇒ StopCollection
- #strong(*args) ⇒ HTMLElement
- #strongs(*args) ⇒ HTMLElementCollection
- #style(*args) ⇒ Style
- #styles(*args) ⇒ StyleCollection
- #sub(*args) ⇒ HTMLElement
- #subs(*args) ⇒ HTMLElementCollection
- #summaries(*args) ⇒ HTMLElementCollection
- #summary(*args) ⇒ HTMLElement
- #sup(*args) ⇒ HTMLElement
- #sups(*args) ⇒ HTMLElementCollection
- #svg(*args) ⇒ SVG
- #svgs(*args) ⇒ SVGCollection
- #switch(*args) ⇒ Switch
- #switches(*args) ⇒ SwitchCollection
- #symbol(*args) ⇒ Symbol
- #symbols(*args) ⇒ SymbolCollection
- #table(*args) ⇒ Table
- #tables(*args) ⇒ TableCollection
- #tbody(*args) ⇒ TableSection
- #tbodys(*args) ⇒ TableSectionCollection
- #td(*args) ⇒ TableDataCell
- #tds(*args) ⇒ TableDataCellCollection
- #template(*args) ⇒ Template
- #templates(*args) ⇒ TemplateCollection
- #text_field(*args) ⇒ Object
- #text_fields(*args) ⇒ Object
- #text_path(*args) ⇒ TextPath
- #text_paths(*args) ⇒ TextPathCollection
- #textarea(*args) ⇒ TextArea
- #textareas(*args) ⇒ TextAreaCollection
- #tfoot(*args) ⇒ TableSection
- #tfoots(*args) ⇒ TableSectionCollection
- #th(*args) ⇒ TableHeaderCell
- #thead(*args) ⇒ TableSection
- #theads(*args) ⇒ TableSectionCollection
- #ths(*args) ⇒ TableHeaderCellCollection
- #time(*args) ⇒ Time
- #times(*args) ⇒ TimeCollection
- #title(*args) ⇒ Title
- #titles(*args) ⇒ TitleCollection
- #tr(*args) ⇒ TableRow
- #track(*args) ⇒ Track
- #tracks(*args) ⇒ TrackCollection
- #trs(*args) ⇒ TableRowCollection
- #tspan(*args) ⇒ TSpan
- #tspans(*args) ⇒ TSpanCollection
- #u(*args) ⇒ HTMLElement
- #ul(*args) ⇒ UList
- #uls(*args) ⇒ UListCollection
- #us(*args) ⇒ HTMLElementCollection
- #use(*args) ⇒ Use
- #uses(*args) ⇒ UseCollection
- #var(*args) ⇒ HTMLElement
- #vars(*args) ⇒ HTMLElementCollection
- #video(*args) ⇒ Video
- #videos(*args) ⇒ VideoCollection
- #view(*args) ⇒ View
- #views(*args) ⇒ ViewCollection
- #wbr(*args) ⇒ HTMLElement
- #wbrs(*args) ⇒ HTMLElementCollection
Methods included from Atoms
Methods included from XpathSupport
Instance Method Details
#a(*args) ⇒ Anchor
1163 1164 1165 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1163 def a(*args) Anchor.new(self, extract_selector(args).merge(tag_name: "a")) end |
#abbr(*args) ⇒ HTMLElement
1173 1174 1175 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1173 def abbr(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "abbr")) end |
#abbrs(*args) ⇒ HTMLElementCollection
1177 1178 1179 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1177 def abbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "abbr")) end |
#address(*args) ⇒ HTMLElement
1183 1184 1185 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1183 def address(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "address")) end |
#addresses(*args) ⇒ HTMLElementCollection
1187 1188 1189 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1187 def addresses(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "address")) end |
#animate(*args) ⇒ Animate
448 449 450 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 448 def animate(*args) Animate.new(self, extract_selector(args).merge(tag_name: "animate")) end |
#animate_motion(*args) ⇒ AnimateMotion
458 459 460 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 458 def animate_motion(*args) AnimateMotion.new(self, extract_selector(args).merge(tag_name: "animateMotion")) end |
#animate_motions(*args) ⇒ AnimateMotionCollection
462 463 464 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 462 def animate_motions(*args) AnimateMotionCollection.new(self, extract_selector(args).merge(tag_name: "animateMotion")) end |
#animate_transform(*args) ⇒ AnimateTransform
468 469 470 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 468 def animate_transform(*args) AnimateTransform.new(self, extract_selector(args).merge(tag_name: "animateTransform")) end |
#animate_transforms(*args) ⇒ AnimateTransformCollection
472 473 474 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 472 def animate_transforms(*args) AnimateTransformCollection.new(self, extract_selector(args).merge(tag_name: "animateTransform")) end |
#animates(*args) ⇒ AnimateCollection
452 453 454 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 452 def animates(*args) AnimateCollection.new(self, extract_selector(args).merge(tag_name: "animate")) end |
#area(*args) ⇒ Area
1193 1194 1195 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1193 def area(*args) Area.new(self, extract_selector(args).merge(tag_name: "area")) end |
#areas(*args) ⇒ AreaCollection
1197 1198 1199 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1197 def areas(*args) AreaCollection.new(self, extract_selector(args).merge(tag_name: "area")) end |
#article(*args) ⇒ HTMLElement
1203 1204 1205 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1203 def article(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "article")) end |
#articles(*args) ⇒ HTMLElementCollection
1207 1208 1209 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1207 def articles(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "article")) end |
#as(*args) ⇒ AnchorCollection
1167 1168 1169 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1167 def as(*args) AnchorCollection.new(self, extract_selector(args).merge(tag_name: "a")) end |
#aside(*args) ⇒ HTMLElement
1213 1214 1215 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1213 def aside(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "aside")) end |
#asides(*args) ⇒ HTMLElementCollection
1217 1218 1219 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1217 def asides(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "aside")) end |
#audio(*args) ⇒ Audio
1223 1224 1225 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1223 def audio(*args) Audio.new(self, extract_selector(args).merge(tag_name: "audio")) end |
#audios(*args) ⇒ AudioCollection
1227 1228 1229 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1227 def audios(*args) AudioCollection.new(self, extract_selector(args).merge(tag_name: "audio")) end |
#b(*args) ⇒ HTMLElement
1233 1234 1235 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1233 def b(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "b")) end |
#base(*args) ⇒ Base
1243 1244 1245 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1243 def base(*args) Base.new(self, extract_selector(args).merge(tag_name: "base")) end |
#bases(*args) ⇒ BaseCollection
1247 1248 1249 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1247 def bases(*args) BaseCollection.new(self, extract_selector(args).merge(tag_name: "base")) end |
#bdi(*args) ⇒ HTMLElement
1253 1254 1255 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1253 def bdi(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "bdi")) end |
#bdis(*args) ⇒ HTMLElementCollection
1257 1258 1259 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1257 def bdis(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "bdi")) end |
#bdo(*args) ⇒ HTMLElement
1263 1264 1265 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1263 def bdo(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "bdo")) end |
#bdos(*args) ⇒ HTMLElementCollection
1267 1268 1269 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1267 def bdos(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "bdo")) end |
#blockquote(*args) ⇒ Quote
1273 1274 1275 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1273 def blockquote(*args) Quote.new(self, extract_selector(args).merge(tag_name: "blockquote")) end |
#blockquotes(*args) ⇒ QuoteCollection
1277 1278 1279 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1277 def blockquotes(*args) QuoteCollection.new(self, extract_selector(args).merge(tag_name: "blockquote")) end |
#body(*args) ⇒ Body
1283 1284 1285 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1283 def body(*args) Body.new(self, extract_selector(args).merge(tag_name: "body")) end |
#bodys(*args) ⇒ BodyCollection
1287 1288 1289 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1287 def bodys(*args) BodyCollection.new(self, extract_selector(args).merge(tag_name: "body")) end |
#br(*args) ⇒ BR
1293 1294 1295 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1293 def br(*args) BR.new(self, extract_selector(args).merge(tag_name: "br")) end |
#brs(*args) ⇒ BRCollection
1297 1298 1299 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1297 def brs(*args) BRCollection.new(self, extract_selector(args).merge(tag_name: "br")) end |
#bs(*args) ⇒ HTMLElementCollection
1237 1238 1239 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1237 def bs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "b")) end |
#button(*args) ⇒ Button
1303 1304 1305 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1303 def (*args) Button.new(self, extract_selector(args).merge(tag_name: "button")) end |
#buttons(*args) ⇒ ButtonCollection
1307 1308 1309 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1307 def (*args) ButtonCollection.new(self, extract_selector(args).merge(tag_name: "button")) end |
#canvas(*args) ⇒ Canvas
1313 1314 1315 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1313 def canvas(*args) Canvas.new(self, extract_selector(args).merge(tag_name: "canvas")) end |
#canvases(*args) ⇒ CanvasCollection
1317 1318 1319 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1317 def canvases(*args) CanvasCollection.new(self, extract_selector(args).merge(tag_name: "canvas")) end |
#caption(*args) ⇒ TableCaption
1323 1324 1325 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1323 def (*args) TableCaption.new(self, extract_selector(args).merge(tag_name: "caption")) end |
#captions(*args) ⇒ TableCaptionCollection
1327 1328 1329 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1327 def (*args) TableCaptionCollection.new(self, extract_selector(args).merge(tag_name: "caption")) end |
#checkbox(*args) ⇒ Object
42 43 44 |
# File 'lib/watir-webdriver/elements/checkbox.rb', line 42 def checkbox(*args) CheckBox.new(self, extract_selector(args).merge(tag_name: "input", type: "checkbox")) end |
#checkboxes(*args) ⇒ Object
46 47 48 |
# File 'lib/watir-webdriver/elements/checkbox.rb', line 46 def checkboxes(*args) CheckBoxCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "checkbox")) end |
#circle(*args) ⇒ Circle
478 479 480 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 478 def circle(*args) Circle.new(self, extract_selector(args).merge(tag_name: "circle")) end |
#circles(*args) ⇒ CircleCollection
482 483 484 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 482 def circles(*args) CircleCollection.new(self, extract_selector(args).merge(tag_name: "circle")) end |
#cite(*args) ⇒ HTMLElement
1333 1334 1335 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1333 def cite(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "cite")) end |
#cites(*args) ⇒ HTMLElementCollection
1337 1338 1339 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1337 def cites(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "cite")) end |
#code(*args) ⇒ HTMLElement
1343 1344 1345 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1343 def code(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "code")) end |
#codes(*args) ⇒ HTMLElementCollection
1347 1348 1349 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1347 def codes(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "code")) end |
#col(*args) ⇒ TableCol
1353 1354 1355 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1353 def col(*args) TableCol.new(self, extract_selector(args).merge(tag_name: "col")) end |
#colgroup(*args) ⇒ TableCol
1363 1364 1365 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1363 def colgroup(*args) TableCol.new(self, extract_selector(args).merge(tag_name: "colgroup")) end |
#colgroups(*args) ⇒ TableColCollection
1367 1368 1369 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1367 def colgroups(*args) TableColCollection.new(self, extract_selector(args).merge(tag_name: "colgroup")) end |
#cols(*args) ⇒ TableColCollection
1357 1358 1359 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1357 def cols(*args) TableColCollection.new(self, extract_selector(args).merge(tag_name: "col")) end |
#cursor(*args) ⇒ Cursor
488 489 490 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 488 def cursor(*args) Cursor.new(self, extract_selector(args).merge(tag_name: "cursor")) end |
#cursors(*args) ⇒ CursorCollection
492 493 494 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 492 def cursors(*args) CursorCollection.new(self, extract_selector(args).merge(tag_name: "cursor")) end |
#data(*args) ⇒ Data
1373 1374 1375 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1373 def data(*args) Data.new(self, extract_selector(args).merge(tag_name: "data")) end |
#datalist(*args) ⇒ DataList
1383 1384 1385 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1383 def datalist(*args) DataList.new(self, extract_selector(args).merge(tag_name: "datalist")) end |
#datalists(*args) ⇒ DataListCollection
1387 1388 1389 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1387 def datalists(*args) DataListCollection.new(self, extract_selector(args).merge(tag_name: "datalist")) end |
#datas(*args) ⇒ DataCollection
1377 1378 1379 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1377 def datas(*args) DataCollection.new(self, extract_selector(args).merge(tag_name: "data")) end |
#dd(*args) ⇒ HTMLElement
1393 1394 1395 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1393 def dd(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "dd")) end |
#dds(*args) ⇒ HTMLElementCollection
1397 1398 1399 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1397 def dds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dd")) end |
#defs(*args) ⇒ Defs
498 499 500 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 498 def defs(*args) Defs.new(self, extract_selector(args).merge(tag_name: "defs")) end |
#defss(*args) ⇒ DefsCollection
502 503 504 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 502 def defss(*args) DefsCollection.new(self, extract_selector(args).merge(tag_name: "defs")) end |
#del(*args) ⇒ Mod
1403 1404 1405 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1403 def del(*args) Mod.new(self, extract_selector(args).merge(tag_name: "del")) end |
#dels(*args) ⇒ ModCollection
1407 1408 1409 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1407 def dels(*args) ModCollection.new(self, extract_selector(args).merge(tag_name: "del")) end |
#desc(*args) ⇒ Desc
508 509 510 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 508 def desc(*args) Desc.new(self, extract_selector(args).merge(tag_name: "desc")) end |
#descs(*args) ⇒ DescCollection
512 513 514 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 512 def descs(*args) DescCollection.new(self, extract_selector(args).merge(tag_name: "desc")) end |
#details(*args) ⇒ Details
1413 1414 1415 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1413 def details(*args) Details.new(self, extract_selector(args).merge(tag_name: "details")) end |
#detailses(*args) ⇒ DetailsCollection
1417 1418 1419 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1417 def detailses(*args) DetailsCollection.new(self, extract_selector(args).merge(tag_name: "details")) end |
#dfn(*args) ⇒ HTMLElement
1423 1424 1425 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1423 def dfn(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "dfn")) end |
#dfns(*args) ⇒ HTMLElementCollection
1427 1428 1429 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1427 def dfns(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dfn")) end |
#dialog(*args) ⇒ Dialog
1433 1434 1435 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1433 def dialog(*args) Dialog.new(self, extract_selector(args).merge(tag_name: "dialog")) end |
#dialogs(*args) ⇒ DialogCollection
1437 1438 1439 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1437 def dialogs(*args) DialogCollection.new(self, extract_selector(args).merge(tag_name: "dialog")) end |
#discard(*args) ⇒ Metadata
518 519 520 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 518 def discard(*args) Metadata.new(self, extract_selector(args).merge(tag_name: "discard")) end |
#discards(*args) ⇒ MetadataCollection
522 523 524 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 522 def discards(*args) MetadataCollection.new(self, extract_selector(args).merge(tag_name: "discard")) end |
#div(*args) ⇒ Div
1443 1444 1445 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1443 def div(*args) Div.new(self, extract_selector(args).merge(tag_name: "div")) end |
#divs(*args) ⇒ DivCollection
1447 1448 1449 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1447 def divs(*args) DivCollection.new(self, extract_selector(args).merge(tag_name: "div")) end |
#dl(*args) ⇒ DList
1453 1454 1455 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1453 def dl(*args) DList.new(self, extract_selector(args).merge(tag_name: "dl")) end |
#dls(*args) ⇒ DListCollection
1457 1458 1459 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1457 def dls(*args) DListCollection.new(self, extract_selector(args).merge(tag_name: "dl")) end |
#dt(*args) ⇒ HTMLElement
1463 1464 1465 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1463 def dt(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "dt")) end |
#dts(*args) ⇒ HTMLElementCollection
1467 1468 1469 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1467 def dts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "dt")) end |
#element(*args) ⇒ HTMLElement
Returns element.
15 16 17 |
# File 'lib/watir-webdriver/container.rb', line 15 def element(*args) HTMLElement.new(self, extract_selector(args)) end |
#elements(*args) ⇒ HTMLElementCollection
Returns element collection.
28 29 30 |
# File 'lib/watir-webdriver/container.rb', line 28 def elements(*args) HTMLElementCollection.new(self, extract_selector(args)) end |
#ellipse(*args) ⇒ Ellipse
528 529 530 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 528 def ellipse(*args) Ellipse.new(self, extract_selector(args).merge(tag_name: "ellipse")) end |
#ellipses(*args) ⇒ EllipseCollection
532 533 534 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 532 def ellipses(*args) EllipseCollection.new(self, extract_selector(args).merge(tag_name: "ellipse")) end |
#em(*args) ⇒ HTMLElement
1473 1474 1475 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1473 def em(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "em")) end |
#embed(*args) ⇒ Embed
1483 1484 1485 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1483 def (*args) Embed.new(self, extract_selector(args).merge(tag_name: "embed")) end |
#embeds(*args) ⇒ EmbedCollection
1487 1488 1489 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1487 def (*args) EmbedCollection.new(self, extract_selector(args).merge(tag_name: "embed")) end |
#ems(*args) ⇒ HTMLElementCollection
1477 1478 1479 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1477 def ems(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "em")) end |
#extract_selector(selectors) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
36 37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/watir-webdriver/container.rb', line 36 def extract_selector(selectors) case selectors.size when 2 return { selectors[0] => selectors[1] } when 1 obj = selectors.first return obj if obj.kind_of? Hash when 0 return {} end raise ArgumentError, "expected Hash or (:how, 'what'), got #{selectors.inspect}" end |
#field_set ⇒ Object
3 |
# File 'lib/watir-webdriver/aliases.rb', line 3 alias_method :field_set, :fieldset |
#field_sets ⇒ Object
4 |
# File 'lib/watir-webdriver/aliases.rb', line 4 alias_method :field_sets, :fieldsets |
#fieldset(*args) ⇒ FieldSet
1493 1494 1495 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1493 def fieldset(*args) FieldSet.new(self, extract_selector(args).merge(tag_name: "fieldset")) end |
#fieldsets(*args) ⇒ FieldSetCollection
1497 1498 1499 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1497 def fieldsets(*args) FieldSetCollection.new(self, extract_selector(args).merge(tag_name: "fieldset")) end |
#figcaption(*args) ⇒ HTMLElement
1503 1504 1505 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1503 def (*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "figcaption")) end |
#figcaptions(*args) ⇒ HTMLElementCollection
1507 1508 1509 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1507 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "figcaption")) end |
#figure(*args) ⇒ HTMLElement
1513 1514 1515 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1513 def figure(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "figure")) end |
#figures(*args) ⇒ HTMLElementCollection
1517 1518 1519 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1517 def figures(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "figure")) end |
#file_field(*args) ⇒ Object
30 31 32 |
# File 'lib/watir-webdriver/elements/file_field.rb', line 30 def file_field(*args) FileField.new(self, extract_selector(args).merge(tag_name: "input", type: "file")) end |
#file_fields(*args) ⇒ Object
34 35 36 |
# File 'lib/watir-webdriver/elements/file_field.rb', line 34 def file_fields(*args) FileFieldCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "file")) end |
#font(*args) ⇒ Object
3 4 5 |
# File 'lib/watir-webdriver/elements/font.rb', line 3 def font(*args) Font.new(self, extract_selector(args).merge(tag_name: "font")) end |
#fonts(*args) ⇒ Object
7 8 9 |
# File 'lib/watir-webdriver/elements/font.rb', line 7 def fonts(*args) FontCollection.new(self, extract_selector(args).merge(tag_name: "font")) end |
#footer(*args) ⇒ HTMLElement
1523 1524 1525 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1523 def (*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "footer")) end |
#footers(*args) ⇒ HTMLElementCollection
1527 1528 1529 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1527 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "footer")) end |
#foreign_object(*args) ⇒ ForeignObject
538 539 540 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 538 def foreign_object(*args) ForeignObject.new(self, extract_selector(args).merge(tag_name: "foreignObject")) end |
#foreign_objects(*args) ⇒ ForeignObjectCollection
542 543 544 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 542 def foreign_objects(*args) ForeignObjectCollection.new(self, extract_selector(args).merge(tag_name: "foreignObject")) end |
#form(*args) ⇒ Form
1533 1534 1535 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1533 def form(*args) Form.new(self, extract_selector(args).merge(tag_name: "form")) end |
#forms(*args) ⇒ FormCollection
1537 1538 1539 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1537 def forms(*args) FormCollection.new(self, extract_selector(args).merge(tag_name: "form")) end |
#frame(*args) ⇒ Object
97 98 99 |
# File 'lib/watir-webdriver/elements/iframe.rb', line 97 def frame(*args) Frame.new(self, extract_selector(args).merge(tag_name: "frame")) end |
#frames(*args) ⇒ Object
101 102 103 |
# File 'lib/watir-webdriver/elements/iframe.rb', line 101 def frames(*args) FrameCollection.new(self, extract_selector(args).merge(tag_name: "frame")) end |
#frameset(*args) ⇒ FrameSet
1543 1544 1545 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1543 def frameset(*args) FrameSet.new(self, extract_selector(args).merge(tag_name: "frameset")) end |
#framesets(*args) ⇒ FrameSetCollection
1547 1548 1549 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1547 def framesets(*args) FrameSetCollection.new(self, extract_selector(args).merge(tag_name: "frameset")) end |
#g(*args) ⇒ G
548 549 550 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 548 def g(*args) G.new(self, extract_selector(args).merge(tag_name: "g")) end |
#gs(*args) ⇒ GCollection
552 553 554 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 552 def gs(*args) GCollection.new(self, extract_selector(args).merge(tag_name: "g")) end |
#h1(*args) ⇒ Heading
1553 1554 1555 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1553 def h1(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h1")) end |
#h1s(*args) ⇒ HeadingCollection
1557 1558 1559 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1557 def h1s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h1")) end |
#h2(*args) ⇒ Heading
1563 1564 1565 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1563 def h2(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h2")) end |
#h2s(*args) ⇒ HeadingCollection
1567 1568 1569 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1567 def h2s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h2")) end |
#h3(*args) ⇒ Heading
1573 1574 1575 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1573 def h3(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h3")) end |
#h3s(*args) ⇒ HeadingCollection
1577 1578 1579 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1577 def h3s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h3")) end |
#h4(*args) ⇒ Heading
1583 1584 1585 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1583 def h4(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h4")) end |
#h4s(*args) ⇒ HeadingCollection
1587 1588 1589 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1587 def h4s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h4")) end |
#h5(*args) ⇒ Heading
1593 1594 1595 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1593 def h5(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h5")) end |
#h5s(*args) ⇒ HeadingCollection
1597 1598 1599 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1597 def h5s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h5")) end |
#h6(*args) ⇒ Heading
1603 1604 1605 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1603 def h6(*args) Heading.new(self, extract_selector(args).merge(tag_name: "h6")) end |
#h6s(*args) ⇒ HeadingCollection
1607 1608 1609 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1607 def h6s(*args) HeadingCollection.new(self, extract_selector(args).merge(tag_name: "h6")) end |
#head(*args) ⇒ Head
1613 1614 1615 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1613 def head(*args) Head.new(self, extract_selector(args).merge(tag_name: "head")) end |
#header(*args) ⇒ HTMLElement
1623 1624 1625 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1623 def header(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "header")) end |
#headers(*args) ⇒ HTMLElementCollection
1627 1628 1629 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1627 def headers(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "header")) end |
#heads(*args) ⇒ HeadCollection
1617 1618 1619 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1617 def heads(*args) HeadCollection.new(self, extract_selector(args).merge(tag_name: "head")) end |
#hgroup(*args) ⇒ HTMLElement
1633 1634 1635 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1633 def hgroup(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "hgroup")) end |
#hgroups(*args) ⇒ HTMLElementCollection
1637 1638 1639 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1637 def hgroups(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "hgroup")) end |
#hidden(*args) ⇒ Object
9 10 11 |
# File 'lib/watir-webdriver/elements/hidden.rb', line 9 def hidden(*args) Hidden.new(self, extract_selector(args).merge(tag_name: "input", type: "hidden")) end |
#hiddens(*args) ⇒ Object
13 14 15 |
# File 'lib/watir-webdriver/elements/hidden.rb', line 13 def hiddens(*args) HiddenCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "hidden")) end |
#hr(*args) ⇒ HR
1643 1644 1645 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1643 def hr(*args) HR.new(self, extract_selector(args).merge(tag_name: "hr")) end |
#hrs(*args) ⇒ HRCollection
1647 1648 1649 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1647 def hrs(*args) HRCollection.new(self, extract_selector(args).merge(tag_name: "hr")) end |
#html(*args) ⇒ Html
1653 1654 1655 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1653 def html(*args) Html.new(self, extract_selector(args).merge(tag_name: "html")) end |
#htmls(*args) ⇒ HtmlCollection
1657 1658 1659 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1657 def htmls(*args) HtmlCollection.new(self, extract_selector(args).merge(tag_name: "html")) end |
#i(*args) ⇒ HTMLElement
1663 1664 1665 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1663 def i(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "i")) end |
#iframe(*args) ⇒ IFrame
1673 1674 1675 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1673 def iframe(*args) IFrame.new(self, extract_selector(args).merge(tag_name: "iframe")) end |
#iframes(*args) ⇒ IFrameCollection
1677 1678 1679 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1677 def iframes(*args) IFrameCollection.new(self, extract_selector(args).merge(tag_name: "iframe")) end |
#image ⇒ Object
59 |
# File 'lib/watir-webdriver/elements/image.rb', line 59 alias_method :image, :img |
#images ⇒ Object
60 |
# File 'lib/watir-webdriver/elements/image.rb', line 60 alias_method :images, :imgs |
#img(*args) ⇒ Image
1683 1684 1685 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1683 def img(*args) Image.new(self, extract_selector(args).merge(tag_name: "img")) end |
#imgs(*args) ⇒ ImageCollection
1687 1688 1689 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1687 def imgs(*args) ImageCollection.new(self, extract_selector(args).merge(tag_name: "img")) end |
#input(*args) ⇒ Input
1693 1694 1695 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1693 def input(*args) Input.new(self, extract_selector(args).merge(tag_name: "input")) end |
#inputs(*args) ⇒ InputCollection
1697 1698 1699 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1697 def inputs(*args) InputCollection.new(self, extract_selector(args).merge(tag_name: "input")) end |
#ins(*args) ⇒ Mod
1703 1704 1705 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1703 def ins(*args) Mod.new(self, extract_selector(args).merge(tag_name: "ins")) end |
#inses(*args) ⇒ ModCollection
1707 1708 1709 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1707 def inses(*args) ModCollection.new(self, extract_selector(args).merge(tag_name: "ins")) end |
#is(*args) ⇒ HTMLElementCollection
1667 1668 1669 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1667 def is(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "i")) end |
#kbd(*args) ⇒ HTMLElement
1713 1714 1715 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1713 def kbd(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "kbd")) end |
#kbds(*args) ⇒ HTMLElementCollection
1717 1718 1719 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1717 def kbds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "kbd")) end |
#keygen(*args) ⇒ Keygen
1723 1724 1725 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1723 def keygen(*args) Keygen.new(self, extract_selector(args).merge(tag_name: "keygen")) end |
#keygens(*args) ⇒ KeygenCollection
1727 1728 1729 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1727 def keygens(*args) KeygenCollection.new(self, extract_selector(args).merge(tag_name: "keygen")) end |
#label(*args) ⇒ Label
1733 1734 1735 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1733 def label(*args) Label.new(self, extract_selector(args).merge(tag_name: "label")) end |
#labels(*args) ⇒ LabelCollection
1737 1738 1739 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1737 def labels(*args) LabelCollection.new(self, extract_selector(args).merge(tag_name: "label")) end |
#legend(*args) ⇒ Legend
1743 1744 1745 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1743 def legend(*args) Legend.new(self, extract_selector(args).merge(tag_name: "legend")) end |
#legends(*args) ⇒ LegendCollection
1747 1748 1749 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1747 def legends(*args) LegendCollection.new(self, extract_selector(args).merge(tag_name: "legend")) end |
#li(*args) ⇒ LI
1753 1754 1755 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1753 def li(*args) LI.new(self, extract_selector(args).merge(tag_name: "li")) end |
#line(*args) ⇒ Line
558 559 560 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 558 def line(*args) Line.new(self, extract_selector(args).merge(tag_name: "line")) end |
#linear_gradient(*args) ⇒ LinearGradient
568 569 570 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 568 def linear_gradient(*args) LinearGradient.new(self, extract_selector(args).merge(tag_name: "linearGradient")) end |
#linear_gradients(*args) ⇒ LinearGradientCollection
572 573 574 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 572 def linear_gradients(*args) LinearGradientCollection.new(self, extract_selector(args).merge(tag_name: "linearGradient")) end |
#lines(*args) ⇒ LineCollection
562 563 564 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 562 def lines(*args) LineCollection.new(self, extract_selector(args).merge(tag_name: "line")) end |
#link ⇒ Object
3 |
# File 'lib/watir-webdriver/elements/link.rb', line 3 alias_method :link, :a |
#links ⇒ Object
4 |
# File 'lib/watir-webdriver/elements/link.rb', line 4 alias_method :links, :as |
#lis(*args) ⇒ LICollection
1757 1758 1759 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1757 def lis(*args) LICollection.new(self, extract_selector(args).merge(tag_name: "li")) end |
#main(*args) ⇒ HTMLElement
1763 1764 1765 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1763 def main(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "main")) end |
#mains(*args) ⇒ HTMLElementCollection
1767 1768 1769 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1767 def mains(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "main")) end |
#map(*args) ⇒ Map
1773 1774 1775 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1773 def map(*args) Map.new(self, extract_selector(args).merge(tag_name: "map")) end |
#maps(*args) ⇒ MapCollection
1777 1778 1779 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1777 def maps(*args) MapCollection.new(self, extract_selector(args).merge(tag_name: "map")) end |
#mark(*args) ⇒ HTMLElement
1783 1784 1785 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1783 def mark(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "mark")) end |
#marker(*args) ⇒ Marker
578 579 580 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 578 def marker(*args) Marker.new(self, extract_selector(args).merge(tag_name: "marker")) end |
#markers(*args) ⇒ MarkerCollection
582 583 584 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 582 def markers(*args) MarkerCollection.new(self, extract_selector(args).merge(tag_name: "marker")) end |
#marks(*args) ⇒ HTMLElementCollection
1787 1788 1789 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1787 def marks(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "mark")) end |
#menu(*args) ⇒ Menu
1793 1794 1795 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1793 def (*args) Menu.new(self, extract_selector(args).merge(tag_name: "menu")) end |
#menuitem(*args) ⇒ MenuItem
1803 1804 1805 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1803 def (*args) MenuItem.new(self, extract_selector(args).merge(tag_name: "menuitem")) end |
#menuitems(*args) ⇒ MenuItemCollection
1807 1808 1809 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1807 def (*args) MenuItemCollection.new(self, extract_selector(args).merge(tag_name: "menuitem")) end |
#menus(*args) ⇒ MenuCollection
1797 1798 1799 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1797 def (*args) MenuCollection.new(self, extract_selector(args).merge(tag_name: "menu")) end |
#mesh_gradient(*args) ⇒ MeshGradient
588 589 590 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 588 def mesh_gradient(*args) MeshGradient.new(self, extract_selector(args).merge(tag_name: "meshGradient")) end |
#mesh_gradients(*args) ⇒ MeshGradientCollection
592 593 594 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 592 def mesh_gradients(*args) MeshGradientCollection.new(self, extract_selector(args).merge(tag_name: "meshGradient")) end |
#mesh_patch(*args) ⇒ MeshPatch
598 599 600 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 598 def mesh_patch(*args) MeshPatch.new(self, extract_selector(args).merge(tag_name: "meshPatch")) end |
#mesh_patches(*args) ⇒ MeshPatchCollection
602 603 604 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 602 def mesh_patches(*args) MeshPatchCollection.new(self, extract_selector(args).merge(tag_name: "meshPatch")) end |
#mesh_row(*args) ⇒ MeshRow
608 609 610 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 608 def mesh_row(*args) MeshRow.new(self, extract_selector(args).merge(tag_name: "meshRow")) end |
#mesh_rows(*args) ⇒ MeshRowCollection
612 613 614 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 612 def mesh_rows(*args) MeshRowCollection.new(self, extract_selector(args).merge(tag_name: "meshRow")) end |
#meta(*args) ⇒ Meta
1813 1814 1815 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1813 def (*args) Meta.new(self, extract_selector(args).merge(tag_name: "meta")) end |
#metadata(*args) ⇒ Metadata
618 619 620 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 618 def (*args) Metadata.new(self, extract_selector(args).merge(tag_name: "metadata")) end |
#metadatas(*args) ⇒ MetadataCollection
622 623 624 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 622 def (*args) MetadataCollection.new(self, extract_selector(args).merge(tag_name: "metadata")) end |
#metas(*args) ⇒ MetaCollection
1817 1818 1819 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1817 def (*args) MetaCollection.new(self, extract_selector(args).merge(tag_name: "meta")) end |
#meter(*args) ⇒ Meter
1823 1824 1825 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1823 def meter(*args) Meter.new(self, extract_selector(args).merge(tag_name: "meter")) end |
#meters(*args) ⇒ MeterCollection
1827 1828 1829 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1827 def meters(*args) MeterCollection.new(self, extract_selector(args).merge(tag_name: "meter")) end |
#mpath(*args) ⇒ MPath
628 629 630 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 628 def mpath(*args) MPath.new(self, extract_selector(args).merge(tag_name: "mpath")) end |
#mpaths(*args) ⇒ MPathCollection
632 633 634 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 632 def mpaths(*args) MPathCollection.new(self, extract_selector(args).merge(tag_name: "mpath")) end |
#nav(*args) ⇒ HTMLElement
1833 1834 1835 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1833 def nav(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "nav")) end |
#navs(*args) ⇒ HTMLElementCollection
1837 1838 1839 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1837 def navs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "nav")) end |
#noscript(*args) ⇒ HTMLElement
1843 1844 1845 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1843 def noscript(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "noscript")) end |
#noscripts(*args) ⇒ HTMLElementCollection
1847 1848 1849 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1847 def noscripts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "noscript")) end |
#object(*args) ⇒ Object
1853 1854 1855 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1853 def object(*args) Object.new(self, extract_selector(args).merge(tag_name: "object")) end |
#objects(*args) ⇒ ObjectCollection
1857 1858 1859 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1857 def objects(*args) ObjectCollection.new(self, extract_selector(args).merge(tag_name: "object")) end |
#ol(*args) ⇒ OList
1863 1864 1865 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1863 def ol(*args) OList.new(self, extract_selector(args).merge(tag_name: "ol")) end |
#ols(*args) ⇒ OListCollection
1867 1868 1869 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1867 def ols(*args) OListCollection.new(self, extract_selector(args).merge(tag_name: "ol")) end |
#optgroup(*args) ⇒ OptGroup
1873 1874 1875 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1873 def optgroup(*args) OptGroup.new(self, extract_selector(args).merge(tag_name: "optgroup")) end |
#optgroups(*args) ⇒ OptGroupCollection
1877 1878 1879 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1877 def optgroups(*args) OptGroupCollection.new(self, extract_selector(args).merge(tag_name: "optgroup")) end |
#option(*args) ⇒ Option
1883 1884 1885 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1883 def option(*args) Option.new(self, extract_selector(args).merge(tag_name: "option")) end |
#options(*args) ⇒ OptionCollection
1887 1888 1889 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1887 def (*args) OptionCollection.new(self, extract_selector(args).merge(tag_name: "option")) end |
#output(*args) ⇒ Output
1893 1894 1895 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1893 def output(*args) Output.new(self, extract_selector(args).merge(tag_name: "output")) end |
#outputs(*args) ⇒ OutputCollection
1897 1898 1899 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1897 def outputs(*args) OutputCollection.new(self, extract_selector(args).merge(tag_name: "output")) end |
#p(*args) ⇒ Paragraph
1903 1904 1905 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1903 def p(*args) Paragraph.new(self, extract_selector(args).merge(tag_name: "p")) end |
#param(*args) ⇒ Param
1913 1914 1915 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1913 def param(*args) Param.new(self, extract_selector(args).merge(tag_name: "param")) end |
#params(*args) ⇒ ParamCollection
1917 1918 1919 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1917 def params(*args) ParamCollection.new(self, extract_selector(args).merge(tag_name: "param")) end |
#path(*args) ⇒ Path
638 639 640 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 638 def path(*args) Path.new(self, extract_selector(args).merge(tag_name: "path")) end |
#paths(*args) ⇒ PathCollection
642 643 644 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 642 def paths(*args) PathCollection.new(self, extract_selector(args).merge(tag_name: "path")) end |
#pattern(*args) ⇒ Pattern
648 649 650 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 648 def pattern(*args) Pattern.new(self, extract_selector(args).merge(tag_name: "pattern")) end |
#patterns(*args) ⇒ PatternCollection
652 653 654 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 652 def patterns(*args) PatternCollection.new(self, extract_selector(args).merge(tag_name: "pattern")) end |
#polygon(*args) ⇒ Polygon
658 659 660 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 658 def polygon(*args) Polygon.new(self, extract_selector(args).merge(tag_name: "polygon")) end |
#polygons(*args) ⇒ PolygonCollection
662 663 664 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 662 def polygons(*args) PolygonCollection.new(self, extract_selector(args).merge(tag_name: "polygon")) end |
#polyline(*args) ⇒ Polyline
668 669 670 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 668 def polyline(*args) Polyline.new(self, extract_selector(args).merge(tag_name: "polyline")) end |
#polylines(*args) ⇒ PolylineCollection
672 673 674 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 672 def polylines(*args) PolylineCollection.new(self, extract_selector(args).merge(tag_name: "polyline")) end |
#pre(*args) ⇒ Pre
1923 1924 1925 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1923 def pre(*args) Pre.new(self, extract_selector(args).merge(tag_name: "pre")) end |
#pres(*args) ⇒ PreCollection
1927 1928 1929 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1927 def pres(*args) PreCollection.new(self, extract_selector(args).merge(tag_name: "pre")) end |
#progress(*args) ⇒ Progress
1933 1934 1935 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1933 def progress(*args) Progress.new(self, extract_selector(args).merge(tag_name: "progress")) end |
#progresses(*args) ⇒ ProgressCollection
1937 1938 1939 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1937 def progresses(*args) ProgressCollection.new(self, extract_selector(args).merge(tag_name: "progress")) end |
#ps(*args) ⇒ ParagraphCollection
1907 1908 1909 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1907 def ps(*args) ParagraphCollection.new(self, extract_selector(args).merge(tag_name: "p")) end |
#q(*args) ⇒ Quote
1943 1944 1945 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1943 def q(*args) Quote.new(self, extract_selector(args).merge(tag_name: "q")) end |
#qs(*args) ⇒ QuoteCollection
1947 1948 1949 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1947 def qs(*args) QuoteCollection.new(self, extract_selector(args).merge(tag_name: "q")) end |
#radial_gradient(*args) ⇒ RadialGradient
678 679 680 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 678 def radial_gradient(*args) RadialGradient.new(self, extract_selector(args).merge(tag_name: "radialGradient")) end |
#radial_gradients(*args) ⇒ RadialGradientCollection
682 683 684 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 682 def radial_gradients(*args) RadialGradientCollection.new(self, extract_selector(args).merge(tag_name: "radialGradient")) end |
#radio(*args) ⇒ Object
26 27 28 |
# File 'lib/watir-webdriver/elements/radio.rb', line 26 def radio(*args) Radio.new(self, extract_selector(args).merge(tag_name: "input", type: "radio")) end |
#radios(*args) ⇒ Object
30 31 32 |
# File 'lib/watir-webdriver/elements/radio.rb', line 30 def radios(*args) RadioCollection.new(self, extract_selector(args).merge(tag_name: "input", type: "radio" )) end |
#rect(*args) ⇒ Rect
688 689 690 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 688 def rect(*args) Rect.new(self, extract_selector(args).merge(tag_name: "rect")) end |
#rects(*args) ⇒ RectCollection
692 693 694 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 692 def rects(*args) RectCollection.new(self, extract_selector(args).merge(tag_name: "rect")) end |
#rp(*args) ⇒ HTMLElement
1953 1954 1955 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1953 def rp(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "rp")) end |
#rps(*args) ⇒ HTMLElementCollection
1957 1958 1959 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1957 def rps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rp")) end |
#rt(*args) ⇒ HTMLElement
1963 1964 1965 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1963 def rt(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "rt")) end |
#rts(*args) ⇒ HTMLElementCollection
1967 1968 1969 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1967 def rts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "rt")) end |
#rubies(*args) ⇒ HTMLElementCollection
1977 1978 1979 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1977 def rubies(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "ruby")) end |
#ruby(*args) ⇒ HTMLElement
1973 1974 1975 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1973 def ruby(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "ruby")) end |
#s(*args) ⇒ HTMLElement
1983 1984 1985 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1983 def s(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "s")) end |
#samp(*args) ⇒ HTMLElement
1993 1994 1995 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1993 def samp(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "samp")) end |
#samps(*args) ⇒ HTMLElementCollection
1997 1998 1999 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1997 def samps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "samp")) end |
#script(*args) ⇒ Script
2003 2004 2005 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2003 def script(*args) Script.new(self, extract_selector(args).merge(tag_name: "script")) end |
#scripts(*args) ⇒ ScriptCollection
2007 2008 2009 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2007 def scripts(*args) ScriptCollection.new(self, extract_selector(args).merge(tag_name: "script")) end |
#section(*args) ⇒ HTMLElement
2013 2014 2015 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2013 def section(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "section")) end |
#sections(*args) ⇒ HTMLElementCollection
2017 2018 2019 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2017 def sections(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "section")) end |
#select(*args) ⇒ Select
2023 2024 2025 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2023 def select(*args) Select.new(self, extract_selector(args).merge(tag_name: "select")) end |
#select_list ⇒ Object
230 |
# File 'lib/watir-webdriver/elements/select.rb', line 230 alias_method :select_list, :select |
#select_lists ⇒ Object
231 |
# File 'lib/watir-webdriver/elements/select.rb', line 231 alias_method :select_lists, :selects |
#selects(*args) ⇒ SelectCollection
2027 2028 2029 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2027 def selects(*args) SelectCollection.new(self, extract_selector(args).merge(tag_name: "select")) end |
#set(*args) ⇒ Set
698 699 700 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 698 def set(*args) Set.new(self, extract_selector(args).merge(tag_name: "set")) end |
#sets(*args) ⇒ SetCollection
702 703 704 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 702 def sets(*args) SetCollection.new(self, extract_selector(args).merge(tag_name: "set")) end |
#small(*args) ⇒ HTMLElement
2033 2034 2035 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2033 def small(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "small")) end |
#smalls(*args) ⇒ HTMLElementCollection
2037 2038 2039 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2037 def smalls(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "small")) end |
#source(*args) ⇒ Source
2043 2044 2045 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2043 def source(*args) Source.new(self, extract_selector(args).merge(tag_name: "source")) end |
#sources(*args) ⇒ SourceCollection
2047 2048 2049 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2047 def sources(*args) SourceCollection.new(self, extract_selector(args).merge(tag_name: "source")) end |
#span(*args) ⇒ Span
2053 2054 2055 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2053 def span(*args) Span.new(self, extract_selector(args).merge(tag_name: "span")) end |
#spans(*args) ⇒ SpanCollection
2057 2058 2059 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2057 def spans(*args) SpanCollection.new(self, extract_selector(args).merge(tag_name: "span")) end |
#ss(*args) ⇒ HTMLElementCollection
1987 1988 1989 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 1987 def ss(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "s")) end |
#stop(*args) ⇒ Stop
708 709 710 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 708 def stop(*args) Stop.new(self, extract_selector(args).merge(tag_name: "stop")) end |
#stops(*args) ⇒ StopCollection
712 713 714 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 712 def stops(*args) StopCollection.new(self, extract_selector(args).merge(tag_name: "stop")) end |
#strong(*args) ⇒ HTMLElement
2063 2064 2065 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2063 def strong(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "strong")) end |
#strongs(*args) ⇒ HTMLElementCollection
2067 2068 2069 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2067 def strongs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "strong")) end |
#style(*args) ⇒ Style
2073 2074 2075 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2073 def style(*args) Style.new(self, extract_selector(args).merge(tag_name: "style")) end |
#styles(*args) ⇒ StyleCollection
2077 2078 2079 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2077 def styles(*args) StyleCollection.new(self, extract_selector(args).merge(tag_name: "style")) end |
#sub(*args) ⇒ HTMLElement
2083 2084 2085 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2083 def sub(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "sub")) end |
#subs(*args) ⇒ HTMLElementCollection
2087 2088 2089 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2087 def subs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "sub")) end |
#summaries(*args) ⇒ HTMLElementCollection
2097 2098 2099 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2097 def summaries(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "summary")) end |
#summary(*args) ⇒ HTMLElement
2093 2094 2095 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2093 def summary(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "summary")) end |
#sup(*args) ⇒ HTMLElement
2103 2104 2105 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2103 def sup(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "sup")) end |
#sups(*args) ⇒ HTMLElementCollection
2107 2108 2109 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2107 def sups(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "sup")) end |
#svg(*args) ⇒ SVG
718 719 720 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 718 def svg(*args) SVG.new(self, extract_selector(args).merge(tag_name: "svg")) end |
#svgs(*args) ⇒ SVGCollection
722 723 724 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 722 def svgs(*args) SVGCollection.new(self, extract_selector(args).merge(tag_name: "svg")) end |
#switch(*args) ⇒ Switch
728 729 730 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 728 def switch(*args) Switch.new(self, extract_selector(args).merge(tag_name: "switch")) end |
#switches(*args) ⇒ SwitchCollection
732 733 734 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 732 def switches(*args) SwitchCollection.new(self, extract_selector(args).merge(tag_name: "switch")) end |
#symbol(*args) ⇒ Symbol
738 739 740 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 738 def symbol(*args) Symbol.new(self, extract_selector(args).merge(tag_name: "symbol")) end |
#symbols(*args) ⇒ SymbolCollection
742 743 744 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 742 def symbols(*args) SymbolCollection.new(self, extract_selector(args).merge(tag_name: "symbol")) end |
#table(*args) ⇒ Table
2113 2114 2115 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2113 def table(*args) Table.new(self, extract_selector(args).merge(tag_name: "table")) end |
#tables(*args) ⇒ TableCollection
2117 2118 2119 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2117 def tables(*args) TableCollection.new(self, extract_selector(args).merge(tag_name: "table")) end |
#tbody(*args) ⇒ TableSection
2123 2124 2125 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2123 def tbody(*args) TableSection.new(self, extract_selector(args).merge(tag_name: "tbody")) end |
#tbodys(*args) ⇒ TableSectionCollection
2127 2128 2129 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2127 def tbodys(*args) TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "tbody")) end |
#td(*args) ⇒ TableDataCell
2133 2134 2135 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2133 def td(*args) TableDataCell.new(self, extract_selector(args).merge(tag_name: "td")) end |
#tds(*args) ⇒ TableDataCellCollection
2137 2138 2139 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2137 def tds(*args) TableDataCellCollection.new(self, extract_selector(args).merge(tag_name: "td")) end |
#template(*args) ⇒ Template
2143 2144 2145 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2143 def template(*args) Template.new(self, extract_selector(args).merge(tag_name: "template")) end |
#templates(*args) ⇒ TemplateCollection
2147 2148 2149 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2147 def templates(*args) TemplateCollection.new(self, extract_selector(args).merge(tag_name: "template")) end |
#text_field(*args) ⇒ Object
23 24 25 |
# File 'lib/watir-webdriver/elements/text_field.rb', line 23 def text_field(*args) TextField.new(self, extract_selector(args).merge(tag_name: "input")) end |
#text_fields(*args) ⇒ Object
27 28 29 |
# File 'lib/watir-webdriver/elements/text_field.rb', line 27 def text_fields(*args) TextFieldCollection.new(self, extract_selector(args).merge(tag_name: "input")) end |
#text_path(*args) ⇒ TextPath
748 749 750 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 748 def text_path(*args) TextPath.new(self, extract_selector(args).merge(tag_name: "textPath")) end |
#text_paths(*args) ⇒ TextPathCollection
752 753 754 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 752 def text_paths(*args) TextPathCollection.new(self, extract_selector(args).merge(tag_name: "textPath")) end |
#textarea(*args) ⇒ TextArea
2153 2154 2155 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2153 def textarea(*args) TextArea.new(self, extract_selector(args).merge(tag_name: "textarea")) end |
#textareas(*args) ⇒ TextAreaCollection
2157 2158 2159 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2157 def textareas(*args) TextAreaCollection.new(self, extract_selector(args).merge(tag_name: "textarea")) end |
#tfoot(*args) ⇒ TableSection
2163 2164 2165 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2163 def tfoot(*args) TableSection.new(self, extract_selector(args).merge(tag_name: "tfoot")) end |
#tfoots(*args) ⇒ TableSectionCollection
2167 2168 2169 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2167 def tfoots(*args) TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "tfoot")) end |
#th(*args) ⇒ TableHeaderCell
2173 2174 2175 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2173 def th(*args) TableHeaderCell.new(self, extract_selector(args).merge(tag_name: "th")) end |
#thead(*args) ⇒ TableSection
2183 2184 2185 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2183 def thead(*args) TableSection.new(self, extract_selector(args).merge(tag_name: "thead")) end |
#theads(*args) ⇒ TableSectionCollection
2187 2188 2189 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2187 def theads(*args) TableSectionCollection.new(self, extract_selector(args).merge(tag_name: "thead")) end |
#ths(*args) ⇒ TableHeaderCellCollection
2177 2178 2179 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2177 def ths(*args) TableHeaderCellCollection.new(self, extract_selector(args).merge(tag_name: "th")) end |
#time(*args) ⇒ Time
2193 2194 2195 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2193 def time(*args) Time.new(self, extract_selector(args).merge(tag_name: "time")) end |
#times(*args) ⇒ TimeCollection
2197 2198 2199 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2197 def times(*args) TimeCollection.new(self, extract_selector(args).merge(tag_name: "time")) end |
#title(*args) ⇒ Title
2203 2204 2205 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2203 def title(*args) Title.new(self, extract_selector(args).merge(tag_name: "title")) end |
#titles(*args) ⇒ TitleCollection
2207 2208 2209 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2207 def titles(*args) TitleCollection.new(self, extract_selector(args).merge(tag_name: "title")) end |
#tr(*args) ⇒ TableRow
2213 2214 2215 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2213 def tr(*args) TableRow.new(self, extract_selector(args).merge(tag_name: "tr")) end |
#track(*args) ⇒ Track
2223 2224 2225 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2223 def track(*args) Track.new(self, extract_selector(args).merge(tag_name: "track")) end |
#tracks(*args) ⇒ TrackCollection
2227 2228 2229 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2227 def tracks(*args) TrackCollection.new(self, extract_selector(args).merge(tag_name: "track")) end |
#trs(*args) ⇒ TableRowCollection
2217 2218 2219 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2217 def trs(*args) TableRowCollection.new(self, extract_selector(args).merge(tag_name: "tr")) end |
#tspan(*args) ⇒ TSpan
758 759 760 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 758 def tspan(*args) TSpan.new(self, extract_selector(args).merge(tag_name: "tspan")) end |
#tspans(*args) ⇒ TSpanCollection
762 763 764 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 762 def tspans(*args) TSpanCollection.new(self, extract_selector(args).merge(tag_name: "tspan")) end |
#u(*args) ⇒ HTMLElement
2233 2234 2235 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2233 def u(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "u")) end |
#ul(*args) ⇒ UList
2243 2244 2245 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2243 def ul(*args) UList.new(self, extract_selector(args).merge(tag_name: "ul")) end |
#uls(*args) ⇒ UListCollection
2247 2248 2249 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2247 def uls(*args) UListCollection.new(self, extract_selector(args).merge(tag_name: "ul")) end |
#us(*args) ⇒ HTMLElementCollection
2237 2238 2239 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2237 def us(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "u")) end |
#use(*args) ⇒ Use
768 769 770 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 768 def use(*args) Use.new(self, extract_selector(args).merge(tag_name: "use")) end |
#uses(*args) ⇒ UseCollection
772 773 774 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 772 def uses(*args) UseCollection.new(self, extract_selector(args).merge(tag_name: "use")) end |
#var(*args) ⇒ HTMLElement
2253 2254 2255 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2253 def var(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "var")) end |
#vars(*args) ⇒ HTMLElementCollection
2257 2258 2259 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2257 def vars(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "var")) end |
#video(*args) ⇒ Video
2263 2264 2265 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2263 def video(*args) Video.new(self, extract_selector(args).merge(tag_name: "video")) end |
#videos(*args) ⇒ VideoCollection
2267 2268 2269 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2267 def videos(*args) VideoCollection.new(self, extract_selector(args).merge(tag_name: "video")) end |
#view(*args) ⇒ View
778 779 780 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 778 def view(*args) View.new(self, extract_selector(args).merge(tag_name: "view")) end |
#views(*args) ⇒ ViewCollection
782 783 784 |
# File 'lib/watir-webdriver/elements/svg_elements.rb', line 782 def views(*args) ViewCollection.new(self, extract_selector(args).merge(tag_name: "view")) end |
#wbr(*args) ⇒ HTMLElement
2273 2274 2275 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2273 def wbr(*args) HTMLElement.new(self, extract_selector(args).merge(tag_name: "wbr")) end |
#wbrs(*args) ⇒ HTMLElementCollection
2277 2278 2279 |
# File 'lib/watir-webdriver/elements/html_elements.rb', line 2277 def wbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(tag_name: "wbr")) end |