Module: Watir::Container
- Includes:
- Atoms, XpathSupport
- Defined in:
- lib/watir-webdriver/elements/image.rb,
lib/watir-webdriver/aliases.rb,
lib/watir-webdriver/container.rb,
lib/watir-webdriver/elements/font.rb,
lib/watir-webdriver/elements/link.rb,
lib/watir-webdriver/elements/radio.rb,
lib/watir-webdriver/elements/hidden.rb,
lib/watir-webdriver/elements/iframe.rb,
lib/watir-webdriver/elements/select.rb,
lib/watir-webdriver/elements/checkbox.rb,
lib/watir-webdriver/elements/generated.rb,
lib/watir-webdriver/elements/file_field.rb,
lib/watir-webdriver/elements/text_field.rb
Overview
TextField
Constant Summary
Constants included from Atoms
Instance Method Summary collapse
- #a(*args) ⇒ Anchor
- #abbr(*args) ⇒ HTMLElement
- #abbrs(*args) ⇒ HTMLElementCollection
- #address(*args) ⇒ HTMLElement
- #addresses(*args) ⇒ HTMLElementCollection
- #area(*args) ⇒ Area
- #areas(*args) ⇒ AreaCollection
- #article(*args) ⇒ HTMLElement
- #articles(*args) ⇒ HTMLElementCollection
- #as(*args) ⇒ AnchorCollection
- #aside(*args) ⇒ HTMLElement
- #asides(*args) ⇒ HTMLElementCollection
- #audio(*args) ⇒ Audio
- #audios(*args) ⇒ AudioCollection
- #b(*args) ⇒ HTMLElement
- #base(*args) ⇒ Base
- #bases(*args) ⇒ BaseCollection
- #bdi(*args) ⇒ HTMLElement
- #bdis(*args) ⇒ HTMLElementCollection
- #bdo(*args) ⇒ HTMLElement
- #bdos(*args) ⇒ HTMLElementCollection
- #blockquote(*args) ⇒ Quote
- #blockquotes(*args) ⇒ QuoteCollection
- #body(*args) ⇒ Body
- #bodys(*args) ⇒ BodyCollection
- #br(*args) ⇒ BR
- #brs(*args) ⇒ BRCollection
- #bs(*args) ⇒ HTMLElementCollection
- #button(*args) ⇒ Button
- #buttons(*args) ⇒ ButtonCollection
- #canvas(*args) ⇒ Canvas
- #canvases(*args) ⇒ CanvasCollection
- #caption(*args) ⇒ TableCaption
- #captions(*args) ⇒ TableCaptionCollection
- #checkbox(*args) ⇒ Object
- #checkboxes(*args) ⇒ Object
- #cite(*args) ⇒ HTMLElement
- #cites(*args) ⇒ HTMLElementCollection
- #code(*args) ⇒ HTMLElement
- #codes(*args) ⇒ HTMLElementCollection
- #col(*args) ⇒ TableCol
- #colgroup(*args) ⇒ TableCol
- #colgroups(*args) ⇒ TableColCollection
- #cols(*args) ⇒ TableColCollection
- #data(*args) ⇒ Data
- #datalist(*args) ⇒ DataList
- #datalists(*args) ⇒ DataListCollection
- #datas(*args) ⇒ DataCollection
- #dd(*args) ⇒ HTMLElement
- #dds(*args) ⇒ HTMLElementCollection
- #del(*args) ⇒ Mod
- #dels(*args) ⇒ ModCollection
- #details(*args) ⇒ Details
- #detailses(*args) ⇒ DetailsCollection
- #dfn(*args) ⇒ HTMLElement
- #dfns(*args) ⇒ HTMLElementCollection
- #dialog(*args) ⇒ Dialog
- #dialogs(*args) ⇒ DialogCollection
- #div(*args) ⇒ Div
- #divs(*args) ⇒ DivCollection
- #dl(*args) ⇒ DList
- #dls(*args) ⇒ DListCollection
- #dt(*args) ⇒ HTMLElement
- #dts(*args) ⇒ HTMLElementCollection
-
#element(*args) ⇒ HTMLElement
Returns element.
-
#elements(*args) ⇒ HTMLElementCollection
Returns element collection.
- #em(*args) ⇒ HTMLElement
- #embed(*args) ⇒ Embed
- #embeds(*args) ⇒ EmbedCollection
- #ems(*args) ⇒ HTMLElementCollection
- #extract_selector(selectors) ⇒ Object private
- #field_set ⇒ Object
- #field_sets ⇒ Object
- #fieldset(*args) ⇒ FieldSet
- #fieldsets(*args) ⇒ FieldSetCollection
- #figcaption(*args) ⇒ HTMLElement
- #figcaptions(*args) ⇒ HTMLElementCollection
- #figure(*args) ⇒ HTMLElement
- #figures(*args) ⇒ HTMLElementCollection
- #file_field(*args) ⇒ Object
- #file_fields(*args) ⇒ Object
- #font(*args) ⇒ Object
- #fonts(*args) ⇒ Object
- #footer(*args) ⇒ HTMLElement
- #footers(*args) ⇒ HTMLElementCollection
- #form(*args) ⇒ Form
- #forms(*args) ⇒ FormCollection
- #frame(*args) ⇒ Object
- #frames(*args) ⇒ Object
- #frameset(*args) ⇒ FrameSet
- #framesets(*args) ⇒ FrameSetCollection
- #h1(*args) ⇒ Heading
- #h1s(*args) ⇒ HeadingCollection
- #h2(*args) ⇒ Heading
- #h2s(*args) ⇒ HeadingCollection
- #h3(*args) ⇒ Heading
- #h3s(*args) ⇒ HeadingCollection
- #h4(*args) ⇒ Heading
- #h4s(*args) ⇒ HeadingCollection
- #h5(*args) ⇒ Heading
- #h5s(*args) ⇒ HeadingCollection
- #h6(*args) ⇒ Heading
- #h6s(*args) ⇒ HeadingCollection
- #head(*args) ⇒ Head
- #header(*args) ⇒ HTMLElement
- #headers(*args) ⇒ HTMLElementCollection
- #heads(*args) ⇒ HeadCollection
- #hgroup(*args) ⇒ HTMLElement
- #hgroups(*args) ⇒ HTMLElementCollection
- #hidden(*args) ⇒ Object
- #hiddens(*args) ⇒ Object
- #hr(*args) ⇒ HR
- #hrs(*args) ⇒ HRCollection
- #html(*args) ⇒ Html
- #htmls(*args) ⇒ HtmlCollection
- #i(*args) ⇒ HTMLElement
- #iframe(*args) ⇒ IFrame
- #iframes(*args) ⇒ IFrameCollection
- #image ⇒ Object
- #images ⇒ Object
- #img(*args) ⇒ Image
- #imgs(*args) ⇒ ImageCollection
- #input(*args) ⇒ Input
- #inputs(*args) ⇒ InputCollection
- #ins(*args) ⇒ Mod
- #inses(*args) ⇒ ModCollection
- #is(*args) ⇒ HTMLElementCollection
- #kbd(*args) ⇒ HTMLElement
- #kbds(*args) ⇒ HTMLElementCollection
- #keygen(*args) ⇒ Keygen
- #keygens(*args) ⇒ KeygenCollection
- #label(*args) ⇒ Label
- #labels(*args) ⇒ LabelCollection
- #legend(*args) ⇒ Legend
- #legends(*args) ⇒ LegendCollection
- #li(*args) ⇒ LI
- #link ⇒ Object
- #links ⇒ Object
- #lis(*args) ⇒ LICollection
- #main(*args) ⇒ HTMLElement
- #mains(*args) ⇒ HTMLElementCollection
- #map(*args) ⇒ Map
- #maps(*args) ⇒ MapCollection
- #mark(*args) ⇒ HTMLElement
- #marks(*args) ⇒ HTMLElementCollection
- #menu(*args) ⇒ Menu
- #menuitem(*args) ⇒ MenuItem
- #menuitems(*args) ⇒ MenuItemCollection
- #menus(*args) ⇒ MenuCollection
- #meta(*args) ⇒ Meta
- #metas(*args) ⇒ MetaCollection
- #meter(*args) ⇒ Meter
- #meters(*args) ⇒ MeterCollection
- #nav(*args) ⇒ HTMLElement
- #navs(*args) ⇒ HTMLElementCollection
- #noscript(*args) ⇒ HTMLElement
- #noscripts(*args) ⇒ HTMLElementCollection
- #object(*args) ⇒ Object
- #objects(*args) ⇒ ObjectCollection
- #ol(*args) ⇒ OList
- #ols(*args) ⇒ OListCollection
- #optgroup(*args) ⇒ OptGroup
- #optgroups(*args) ⇒ OptGroupCollection
- #option(*args) ⇒ Option
- #options(*args) ⇒ OptionCollection
- #output(*args) ⇒ Output
- #outputs(*args) ⇒ OutputCollection
- #p(*args) ⇒ Paragraph
- #param(*args) ⇒ Param
- #params(*args) ⇒ ParamCollection
- #pre(*args) ⇒ Pre
- #pres(*args) ⇒ PreCollection
- #progress(*args) ⇒ Progress
- #progresses(*args) ⇒ ProgressCollection
- #ps(*args) ⇒ ParagraphCollection
- #q(*args) ⇒ Quote
- #qs(*args) ⇒ QuoteCollection
- #radio(*args) ⇒ Object
- #radios(*args) ⇒ Object
- #rp(*args) ⇒ HTMLElement
- #rps(*args) ⇒ HTMLElementCollection
- #rt(*args) ⇒ HTMLElement
- #rts(*args) ⇒ HTMLElementCollection
- #rubies(*args) ⇒ HTMLElementCollection
- #ruby(*args) ⇒ HTMLElement
- #s(*args) ⇒ HTMLElement
- #samp(*args) ⇒ HTMLElement
- #samps(*args) ⇒ HTMLElementCollection
- #script(*args) ⇒ Script
- #scripts(*args) ⇒ ScriptCollection
- #section(*args) ⇒ HTMLElement
- #sections(*args) ⇒ HTMLElementCollection
- #select(*args) ⇒ Select
- #select_list ⇒ Object
- #select_lists ⇒ Object
- #selects(*args) ⇒ SelectCollection
- #small(*args) ⇒ HTMLElement
- #smalls(*args) ⇒ HTMLElementCollection
- #source(*args) ⇒ Source
- #sources(*args) ⇒ SourceCollection
- #span(*args) ⇒ Span
- #spans(*args) ⇒ SpanCollection
- #ss(*args) ⇒ HTMLElementCollection
- #strong(*args) ⇒ HTMLElement
- #strongs(*args) ⇒ HTMLElementCollection
- #style(*args) ⇒ Style
- #styles(*args) ⇒ StyleCollection
- #sub(*args) ⇒ HTMLElement
- #subs(*args) ⇒ HTMLElementCollection
- #summaries(*args) ⇒ HTMLElementCollection
- #summary(*args) ⇒ HTMLElement
- #sup(*args) ⇒ HTMLElement
- #sups(*args) ⇒ HTMLElementCollection
- #table(*args) ⇒ Table
- #tables(*args) ⇒ TableCollection
- #tbody(*args) ⇒ TableSection
- #tbodys(*args) ⇒ TableSectionCollection
- #td(*args) ⇒ TableDataCell
- #tds(*args) ⇒ TableDataCellCollection
- #template(*args) ⇒ Template
- #templates(*args) ⇒ TemplateCollection
- #text_field(*args) ⇒ Object
- #text_fields(*args) ⇒ Object
- #textarea(*args) ⇒ TextArea
- #textareas(*args) ⇒ TextAreaCollection
- #tfoot(*args) ⇒ TableSection
- #tfoots(*args) ⇒ TableSectionCollection
- #th(*args) ⇒ TableHeaderCell
- #thead(*args) ⇒ TableSection
- #theads(*args) ⇒ TableSectionCollection
- #ths(*args) ⇒ TableHeaderCellCollection
- #time(*args) ⇒ Time
- #times(*args) ⇒ TimeCollection
- #title(*args) ⇒ Title
- #titles(*args) ⇒ TitleCollection
- #tr(*args) ⇒ TableRow
- #track(*args) ⇒ Track
- #tracks(*args) ⇒ TrackCollection
- #trs(*args) ⇒ TableRowCollection
- #u(*args) ⇒ HTMLElement
- #ul(*args) ⇒ UList
- #uls(*args) ⇒ UListCollection
- #us(*args) ⇒ HTMLElementCollection
- #var(*args) ⇒ HTMLElement
- #vars(*args) ⇒ HTMLElementCollection
- #video(*args) ⇒ Video
- #videos(*args) ⇒ VideoCollection
- #wbr(*args) ⇒ HTMLElement
- #wbrs(*args) ⇒ HTMLElementCollection
Methods included from Atoms
Methods included from XpathSupport
Instance Method Details
#a(*args) ⇒ Anchor
1081 1082 1083 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1081 def a(*args) Anchor.new(self, extract_selector(args).merge(:tag_name => "a")) end |
#abbr(*args) ⇒ HTMLElement
1099 1100 1101 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1099 def abbr(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "abbr")) end |
#abbrs(*args) ⇒ HTMLElementCollection
1107 1108 1109 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1107 def abbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "abbr")) end |
#address(*args) ⇒ HTMLElement
1117 1118 1119 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1117 def address(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "address")) end |
#addresses(*args) ⇒ HTMLElementCollection
1125 1126 1127 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1125 def addresses(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "address")) end |
#area(*args) ⇒ Area
1135 1136 1137 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1135 def area(*args) Area.new(self, extract_selector(args).merge(:tag_name => "area")) end |
#areas(*args) ⇒ AreaCollection
1143 1144 1145 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1143 def areas(*args) AreaCollection.new(self, extract_selector(args).merge(:tag_name => "area")) end |
#article(*args) ⇒ HTMLElement
1153 1154 1155 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1153 def article(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "article")) end |
#articles(*args) ⇒ HTMLElementCollection
1161 1162 1163 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1161 def articles(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "article")) end |
#as(*args) ⇒ AnchorCollection
1089 1090 1091 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1089 def as(*args) AnchorCollection.new(self, extract_selector(args).merge(:tag_name => "a")) end |
#aside(*args) ⇒ HTMLElement
1171 1172 1173 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1171 def aside(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "aside")) end |
#asides(*args) ⇒ HTMLElementCollection
1179 1180 1181 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1179 def asides(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "aside")) end |
#audio(*args) ⇒ Audio
1189 1190 1191 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1189 def audio(*args) Audio.new(self, extract_selector(args).merge(:tag_name => "audio")) end |
#audios(*args) ⇒ AudioCollection
1197 1198 1199 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1197 def audios(*args) AudioCollection.new(self, extract_selector(args).merge(:tag_name => "audio")) end |
#b(*args) ⇒ HTMLElement
1207 1208 1209 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1207 def b(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "b")) end |
#base(*args) ⇒ Base
1225 1226 1227 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1225 def base(*args) Base.new(self, extract_selector(args).merge(:tag_name => "base")) end |
#bases(*args) ⇒ BaseCollection
1233 1234 1235 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1233 def bases(*args) BaseCollection.new(self, extract_selector(args).merge(:tag_name => "base")) end |
#bdi(*args) ⇒ HTMLElement
1243 1244 1245 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1243 def bdi(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "bdi")) end |
#bdis(*args) ⇒ HTMLElementCollection
1251 1252 1253 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1251 def bdis(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "bdi")) end |
#bdo(*args) ⇒ HTMLElement
1261 1262 1263 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1261 def bdo(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "bdo")) end |
#bdos(*args) ⇒ HTMLElementCollection
1269 1270 1271 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1269 def bdos(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "bdo")) end |
#blockquote(*args) ⇒ Quote
1279 1280 1281 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1279 def blockquote(*args) Quote.new(self, extract_selector(args).merge(:tag_name => "blockquote")) end |
#blockquotes(*args) ⇒ QuoteCollection
1287 1288 1289 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1287 def blockquotes(*args) QuoteCollection.new(self, extract_selector(args).merge(:tag_name => "blockquote")) end |
#body(*args) ⇒ Body
1297 1298 1299 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1297 def body(*args) Body.new(self, extract_selector(args).merge(:tag_name => "body")) end |
#bodys(*args) ⇒ BodyCollection
1305 1306 1307 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1305 def bodys(*args) BodyCollection.new(self, extract_selector(args).merge(:tag_name => "body")) end |
#br(*args) ⇒ BR
1315 1316 1317 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1315 def br(*args) BR.new(self, extract_selector(args).merge(:tag_name => "br")) end |
#brs(*args) ⇒ BRCollection
1323 1324 1325 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1323 def brs(*args) BRCollection.new(self, extract_selector(args).merge(:tag_name => "br")) end |
#bs(*args) ⇒ HTMLElementCollection
1215 1216 1217 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1215 def bs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "b")) end |
#button(*args) ⇒ Button
1333 1334 1335 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1333 def (*args) Button.new(self, extract_selector(args).merge(:tag_name => "button")) end |
#buttons(*args) ⇒ ButtonCollection
1341 1342 1343 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1341 def (*args) ButtonCollection.new(self, extract_selector(args).merge(:tag_name => "button")) end |
#canvas(*args) ⇒ Canvas
1351 1352 1353 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1351 def canvas(*args) Canvas.new(self, extract_selector(args).merge(:tag_name => "canvas")) end |
#canvases(*args) ⇒ CanvasCollection
1359 1360 1361 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1359 def canvases(*args) CanvasCollection.new(self, extract_selector(args).merge(:tag_name => "canvas")) end |
#caption(*args) ⇒ TableCaption
1369 1370 1371 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1369 def (*args) TableCaption.new(self, extract_selector(args).merge(:tag_name => "caption")) end |
#captions(*args) ⇒ TableCaptionCollection
1377 1378 1379 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1377 def (*args) TableCaptionCollection.new(self, extract_selector(args).merge(:tag_name => "caption")) end |
#checkbox(*args) ⇒ Object
53 54 55 |
# File 'lib/watir-webdriver/elements/checkbox.rb', line 53 def checkbox(*args) CheckBox.new(self, extract_selector(args).merge(:tag_name => "input", :type => "checkbox")) end |
#checkboxes(*args) ⇒ Object
57 58 59 |
# File 'lib/watir-webdriver/elements/checkbox.rb', line 57 def checkboxes(*args) CheckBoxCollection.new(self, extract_selector(args).merge(:tag_name => "input", :type => "checkbox")) end |
#cite(*args) ⇒ HTMLElement
1387 1388 1389 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1387 def cite(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "cite")) end |
#cites(*args) ⇒ HTMLElementCollection
1395 1396 1397 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1395 def cites(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "cite")) end |
#code(*args) ⇒ HTMLElement
1405 1406 1407 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1405 def code(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "code")) end |
#codes(*args) ⇒ HTMLElementCollection
1413 1414 1415 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1413 def codes(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "code")) end |
#col(*args) ⇒ TableCol
1423 1424 1425 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1423 def col(*args) TableCol.new(self, extract_selector(args).merge(:tag_name => "col")) end |
#colgroup(*args) ⇒ TableCol
1441 1442 1443 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1441 def colgroup(*args) TableCol.new(self, extract_selector(args).merge(:tag_name => "colgroup")) end |
#colgroups(*args) ⇒ TableColCollection
1449 1450 1451 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1449 def colgroups(*args) TableColCollection.new(self, extract_selector(args).merge(:tag_name => "colgroup")) end |
#cols(*args) ⇒ TableColCollection
1431 1432 1433 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1431 def cols(*args) TableColCollection.new(self, extract_selector(args).merge(:tag_name => "col")) end |
#data(*args) ⇒ Data
1459 1460 1461 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1459 def data(*args) Data.new(self, extract_selector(args).merge(:tag_name => "data")) end |
#datalist(*args) ⇒ DataList
1477 1478 1479 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1477 def datalist(*args) DataList.new(self, extract_selector(args).merge(:tag_name => "datalist")) end |
#datalists(*args) ⇒ DataListCollection
1485 1486 1487 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1485 def datalists(*args) DataListCollection.new(self, extract_selector(args).merge(:tag_name => "datalist")) end |
#datas(*args) ⇒ DataCollection
1467 1468 1469 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1467 def datas(*args) DataCollection.new(self, extract_selector(args).merge(:tag_name => "data")) end |
#dd(*args) ⇒ HTMLElement
1495 1496 1497 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1495 def dd(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "dd")) end |
#dds(*args) ⇒ HTMLElementCollection
1503 1504 1505 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1503 def dds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "dd")) end |
#del(*args) ⇒ Mod
1513 1514 1515 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1513 def del(*args) Mod.new(self, extract_selector(args).merge(:tag_name => "del")) end |
#dels(*args) ⇒ ModCollection
1521 1522 1523 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1521 def dels(*args) ModCollection.new(self, extract_selector(args).merge(:tag_name => "del")) end |
#details(*args) ⇒ Details
1531 1532 1533 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1531 def details(*args) Details.new(self, extract_selector(args).merge(:tag_name => "details")) end |
#detailses(*args) ⇒ DetailsCollection
1539 1540 1541 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1539 def detailses(*args) DetailsCollection.new(self, extract_selector(args).merge(:tag_name => "details")) end |
#dfn(*args) ⇒ HTMLElement
1549 1550 1551 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1549 def dfn(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "dfn")) end |
#dfns(*args) ⇒ HTMLElementCollection
1557 1558 1559 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1557 def dfns(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "dfn")) end |
#dialog(*args) ⇒ Dialog
1567 1568 1569 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1567 def dialog(*args) Dialog.new(self, extract_selector(args).merge(:tag_name => "dialog")) end |
#dialogs(*args) ⇒ DialogCollection
1575 1576 1577 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1575 def dialogs(*args) DialogCollection.new(self, extract_selector(args).merge(:tag_name => "dialog")) end |
#div(*args) ⇒ Div
1585 1586 1587 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1585 def div(*args) Div.new(self, extract_selector(args).merge(:tag_name => "div")) end |
#divs(*args) ⇒ DivCollection
1593 1594 1595 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1593 def divs(*args) DivCollection.new(self, extract_selector(args).merge(:tag_name => "div")) end |
#dl(*args) ⇒ DList
1603 1604 1605 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1603 def dl(*args) DList.new(self, extract_selector(args).merge(:tag_name => "dl")) end |
#dls(*args) ⇒ DListCollection
1611 1612 1613 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1611 def dls(*args) DListCollection.new(self, extract_selector(args).merge(:tag_name => "dl")) end |
#dt(*args) ⇒ HTMLElement
1621 1622 1623 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1621 def dt(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "dt")) end |
#dts(*args) ⇒ HTMLElementCollection
1629 1630 1631 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1629 def dts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "dt")) end |
#element(*args) ⇒ HTMLElement
Returns element.
16 17 18 |
# File 'lib/watir-webdriver/container.rb', line 16 def element(*args) HTMLElement.new(self, extract_selector(args)) end |
#elements(*args) ⇒ HTMLElementCollection
Returns element collection.
29 30 31 |
# File 'lib/watir-webdriver/container.rb', line 29 def elements(*args) HTMLElementCollection.new(self, extract_selector(args)) end |
#em(*args) ⇒ HTMLElement
1639 1640 1641 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1639 def em(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "em")) end |
#embed(*args) ⇒ Embed
1657 1658 1659 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1657 def (*args) Embed.new(self, extract_selector(args).merge(:tag_name => "embed")) end |
#embeds(*args) ⇒ EmbedCollection
1665 1666 1667 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1665 def (*args) EmbedCollection.new(self, extract_selector(args).merge(:tag_name => "embed")) end |
#ems(*args) ⇒ HTMLElementCollection
1647 1648 1649 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1647 def ems(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "em")) end |
#extract_selector(selectors) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
37 38 39 40 41 42 43 44 45 46 47 48 49 |
# File 'lib/watir-webdriver/container.rb', line 37 def extract_selector(selectors) case selectors.size when 2 return { selectors[0] => selectors[1] } when 1 obj = selectors.first return obj if obj.kind_of? Hash when 0 return {} end raise ArgumentError, "expected Hash or (:how, 'what'), got #{selectors.inspect}" end |
#field_set ⇒ Object
3 |
# File 'lib/watir-webdriver/aliases.rb', line 3 alias_method :field_set, :fieldset |
#field_sets ⇒ Object
4 |
# File 'lib/watir-webdriver/aliases.rb', line 4 alias_method :field_sets, :fieldsets |
#fieldset(*args) ⇒ FieldSet
1675 1676 1677 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1675 def fieldset(*args) FieldSet.new(self, extract_selector(args).merge(:tag_name => "fieldset")) end |
#fieldsets(*args) ⇒ FieldSetCollection
1683 1684 1685 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1683 def fieldsets(*args) FieldSetCollection.new(self, extract_selector(args).merge(:tag_name => "fieldset")) end |
#figcaption(*args) ⇒ HTMLElement
1693 1694 1695 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1693 def (*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "figcaption")) end |
#figcaptions(*args) ⇒ HTMLElementCollection
1701 1702 1703 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1701 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "figcaption")) end |
#figure(*args) ⇒ HTMLElement
1711 1712 1713 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1711 def figure(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "figure")) end |
#figures(*args) ⇒ HTMLElementCollection
1719 1720 1721 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1719 def figures(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "figure")) end |
#file_field(*args) ⇒ Object
32 33 34 |
# File 'lib/watir-webdriver/elements/file_field.rb', line 32 def file_field(*args) FileField.new(self, extract_selector(args).merge(:tag_name => "input", :type => "file")) end |
#file_fields(*args) ⇒ Object
36 37 38 |
# File 'lib/watir-webdriver/elements/file_field.rb', line 36 def file_fields(*args) FileFieldCollection.new(self, extract_selector(args).merge(:tag_name => "input", :type => "file")) end |
#font(*args) ⇒ Object
3 4 5 |
# File 'lib/watir-webdriver/elements/font.rb', line 3 def font(*args) Font.new(self, extract_selector(args).merge(:tag_name => "font")) end |
#fonts(*args) ⇒ Object
7 8 9 |
# File 'lib/watir-webdriver/elements/font.rb', line 7 def fonts(*args) FontCollection.new(self, extract_selector(args).merge(:tag_name => "font")) end |
#footer(*args) ⇒ HTMLElement
1729 1730 1731 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1729 def (*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "footer")) end |
#footers(*args) ⇒ HTMLElementCollection
1737 1738 1739 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1737 def (*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "footer")) end |
#form(*args) ⇒ Form
1747 1748 1749 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1747 def form(*args) Form.new(self, extract_selector(args).merge(:tag_name => "form")) end |
#forms(*args) ⇒ FormCollection
1755 1756 1757 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1755 def forms(*args) FormCollection.new(self, extract_selector(args).merge(:tag_name => "form")) end |
#frame(*args) ⇒ Object
90 91 92 |
# File 'lib/watir-webdriver/elements/iframe.rb', line 90 def frame(*args) Frame.new(self, extract_selector(args).merge(:tag_name => "frame")) end |
#frames(*args) ⇒ Object
94 95 96 |
# File 'lib/watir-webdriver/elements/iframe.rb', line 94 def frames(*args) FrameCollection.new(self, extract_selector(args).merge(:tag_name => "frame")) end |
#frameset(*args) ⇒ FrameSet
1765 1766 1767 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1765 def frameset(*args) FrameSet.new(self, extract_selector(args).merge(:tag_name => "frameset")) end |
#framesets(*args) ⇒ FrameSetCollection
1773 1774 1775 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1773 def framesets(*args) FrameSetCollection.new(self, extract_selector(args).merge(:tag_name => "frameset")) end |
#h1(*args) ⇒ Heading
1783 1784 1785 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1783 def h1(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h1")) end |
#h1s(*args) ⇒ HeadingCollection
1791 1792 1793 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1791 def h1s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h1")) end |
#h2(*args) ⇒ Heading
1801 1802 1803 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1801 def h2(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h2")) end |
#h2s(*args) ⇒ HeadingCollection
1809 1810 1811 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1809 def h2s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h2")) end |
#h3(*args) ⇒ Heading
1819 1820 1821 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1819 def h3(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h3")) end |
#h3s(*args) ⇒ HeadingCollection
1827 1828 1829 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1827 def h3s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h3")) end |
#h4(*args) ⇒ Heading
1837 1838 1839 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1837 def h4(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h4")) end |
#h4s(*args) ⇒ HeadingCollection
1845 1846 1847 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1845 def h4s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h4")) end |
#h5(*args) ⇒ Heading
1855 1856 1857 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1855 def h5(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h5")) end |
#h5s(*args) ⇒ HeadingCollection
1863 1864 1865 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1863 def h5s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h5")) end |
#h6(*args) ⇒ Heading
1873 1874 1875 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1873 def h6(*args) Heading.new(self, extract_selector(args).merge(:tag_name => "h6")) end |
#h6s(*args) ⇒ HeadingCollection
1881 1882 1883 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1881 def h6s(*args) HeadingCollection.new(self, extract_selector(args).merge(:tag_name => "h6")) end |
#head(*args) ⇒ Head
1891 1892 1893 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1891 def head(*args) Head.new(self, extract_selector(args).merge(:tag_name => "head")) end |
#header(*args) ⇒ HTMLElement
1909 1910 1911 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1909 def header(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "header")) end |
#headers(*args) ⇒ HTMLElementCollection
1917 1918 1919 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1917 def headers(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "header")) end |
#heads(*args) ⇒ HeadCollection
1899 1900 1901 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1899 def heads(*args) HeadCollection.new(self, extract_selector(args).merge(:tag_name => "head")) end |
#hgroup(*args) ⇒ HTMLElement
1927 1928 1929 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1927 def hgroup(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "hgroup")) end |
#hgroups(*args) ⇒ HTMLElementCollection
1935 1936 1937 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1935 def hgroups(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "hgroup")) end |
#hidden(*args) ⇒ Object
10 11 12 |
# File 'lib/watir-webdriver/elements/hidden.rb', line 10 def hidden(*args) Hidden.new(self, extract_selector(args).merge(:tag_name => "input", :type => "hidden")) end |
#hiddens(*args) ⇒ Object
14 15 16 |
# File 'lib/watir-webdriver/elements/hidden.rb', line 14 def hiddens(*args) HiddenCollection.new(self, extract_selector(args).merge(:tag_name => "input", :type => "hidden")) end |
#hr(*args) ⇒ HR
1945 1946 1947 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1945 def hr(*args) HR.new(self, extract_selector(args).merge(:tag_name => "hr")) end |
#hrs(*args) ⇒ HRCollection
1953 1954 1955 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1953 def hrs(*args) HRCollection.new(self, extract_selector(args).merge(:tag_name => "hr")) end |
#html(*args) ⇒ Html
1963 1964 1965 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1963 def html(*args) Html.new(self, extract_selector(args).merge(:tag_name => "html")) end |
#htmls(*args) ⇒ HtmlCollection
1971 1972 1973 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1971 def htmls(*args) HtmlCollection.new(self, extract_selector(args).merge(:tag_name => "html")) end |
#i(*args) ⇒ HTMLElement
1981 1982 1983 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1981 def i(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "i")) end |
#iframe(*args) ⇒ IFrame
1999 2000 2001 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1999 def iframe(*args) IFrame.new(self, extract_selector(args).merge(:tag_name => "iframe")) end |
#iframes(*args) ⇒ IFrameCollection
2007 2008 2009 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2007 def iframes(*args) IFrameCollection.new(self, extract_selector(args).merge(:tag_name => "iframe")) end |
#image ⇒ Object
60 |
# File 'lib/watir-webdriver/elements/image.rb', line 60 alias_method :image, :img |
#images ⇒ Object
61 |
# File 'lib/watir-webdriver/elements/image.rb', line 61 alias_method :images, :imgs |
#img(*args) ⇒ Image
2017 2018 2019 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2017 def img(*args) Image.new(self, extract_selector(args).merge(:tag_name => "img")) end |
#imgs(*args) ⇒ ImageCollection
2025 2026 2027 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2025 def imgs(*args) ImageCollection.new(self, extract_selector(args).merge(:tag_name => "img")) end |
#input(*args) ⇒ Input
2035 2036 2037 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2035 def input(*args) Input.new(self, extract_selector(args).merge(:tag_name => "input")) end |
#inputs(*args) ⇒ InputCollection
2043 2044 2045 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2043 def inputs(*args) InputCollection.new(self, extract_selector(args).merge(:tag_name => "input")) end |
#ins(*args) ⇒ Mod
2053 2054 2055 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2053 def ins(*args) Mod.new(self, extract_selector(args).merge(:tag_name => "ins")) end |
#inses(*args) ⇒ ModCollection
2061 2062 2063 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2061 def inses(*args) ModCollection.new(self, extract_selector(args).merge(:tag_name => "ins")) end |
#is(*args) ⇒ HTMLElementCollection
1989 1990 1991 |
# File 'lib/watir-webdriver/elements/generated.rb', line 1989 def is(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "i")) end |
#kbd(*args) ⇒ HTMLElement
2071 2072 2073 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2071 def kbd(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "kbd")) end |
#kbds(*args) ⇒ HTMLElementCollection
2079 2080 2081 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2079 def kbds(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "kbd")) end |
#keygen(*args) ⇒ Keygen
2089 2090 2091 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2089 def keygen(*args) Keygen.new(self, extract_selector(args).merge(:tag_name => "keygen")) end |
#keygens(*args) ⇒ KeygenCollection
2097 2098 2099 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2097 def keygens(*args) KeygenCollection.new(self, extract_selector(args).merge(:tag_name => "keygen")) end |
#label(*args) ⇒ Label
2107 2108 2109 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2107 def label(*args) Label.new(self, extract_selector(args).merge(:tag_name => "label")) end |
#labels(*args) ⇒ LabelCollection
2115 2116 2117 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2115 def labels(*args) LabelCollection.new(self, extract_selector(args).merge(:tag_name => "label")) end |
#legend(*args) ⇒ Legend
2125 2126 2127 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2125 def legend(*args) Legend.new(self, extract_selector(args).merge(:tag_name => "legend")) end |
#legends(*args) ⇒ LegendCollection
2133 2134 2135 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2133 def legends(*args) LegendCollection.new(self, extract_selector(args).merge(:tag_name => "legend")) end |
#li(*args) ⇒ LI
2143 2144 2145 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2143 def li(*args) LI.new(self, extract_selector(args).merge(:tag_name => "li")) end |
#link ⇒ Object
4 |
# File 'lib/watir-webdriver/elements/link.rb', line 4 alias_method :link, :a |
#links ⇒ Object
5 |
# File 'lib/watir-webdriver/elements/link.rb', line 5 alias_method :links, :as |
#lis(*args) ⇒ LICollection
2151 2152 2153 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2151 def lis(*args) LICollection.new(self, extract_selector(args).merge(:tag_name => "li")) end |
#main(*args) ⇒ HTMLElement
2161 2162 2163 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2161 def main(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "main")) end |
#mains(*args) ⇒ HTMLElementCollection
2169 2170 2171 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2169 def mains(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "main")) end |
#map(*args) ⇒ Map
2179 2180 2181 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2179 def map(*args) Map.new(self, extract_selector(args).merge(:tag_name => "map")) end |
#maps(*args) ⇒ MapCollection
2187 2188 2189 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2187 def maps(*args) MapCollection.new(self, extract_selector(args).merge(:tag_name => "map")) end |
#mark(*args) ⇒ HTMLElement
2197 2198 2199 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2197 def mark(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "mark")) end |
#marks(*args) ⇒ HTMLElementCollection
2205 2206 2207 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2205 def marks(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "mark")) end |
#menu(*args) ⇒ Menu
2215 2216 2217 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2215 def (*args) Menu.new(self, extract_selector(args).merge(:tag_name => "menu")) end |
#menuitem(*args) ⇒ MenuItem
2233 2234 2235 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2233 def (*args) MenuItem.new(self, extract_selector(args).merge(:tag_name => "menuitem")) end |
#menuitems(*args) ⇒ MenuItemCollection
2241 2242 2243 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2241 def (*args) MenuItemCollection.new(self, extract_selector(args).merge(:tag_name => "menuitem")) end |
#menus(*args) ⇒ MenuCollection
2223 2224 2225 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2223 def (*args) MenuCollection.new(self, extract_selector(args).merge(:tag_name => "menu")) end |
#meta(*args) ⇒ Meta
2251 2252 2253 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2251 def (*args) Meta.new(self, extract_selector(args).merge(:tag_name => "meta")) end |
#metas(*args) ⇒ MetaCollection
2259 2260 2261 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2259 def (*args) MetaCollection.new(self, extract_selector(args).merge(:tag_name => "meta")) end |
#meter(*args) ⇒ Meter
2269 2270 2271 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2269 def meter(*args) Meter.new(self, extract_selector(args).merge(:tag_name => "meter")) end |
#meters(*args) ⇒ MeterCollection
2277 2278 2279 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2277 def meters(*args) MeterCollection.new(self, extract_selector(args).merge(:tag_name => "meter")) end |
#nav(*args) ⇒ HTMLElement
2287 2288 2289 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2287 def nav(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "nav")) end |
#navs(*args) ⇒ HTMLElementCollection
2295 2296 2297 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2295 def navs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "nav")) end |
#noscript(*args) ⇒ HTMLElement
2305 2306 2307 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2305 def noscript(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "noscript")) end |
#noscripts(*args) ⇒ HTMLElementCollection
2313 2314 2315 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2313 def noscripts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "noscript")) end |
#object(*args) ⇒ Object
2323 2324 2325 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2323 def object(*args) Object.new(self, extract_selector(args).merge(:tag_name => "object")) end |
#objects(*args) ⇒ ObjectCollection
2331 2332 2333 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2331 def objects(*args) ObjectCollection.new(self, extract_selector(args).merge(:tag_name => "object")) end |
#ol(*args) ⇒ OList
2341 2342 2343 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2341 def ol(*args) OList.new(self, extract_selector(args).merge(:tag_name => "ol")) end |
#ols(*args) ⇒ OListCollection
2349 2350 2351 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2349 def ols(*args) OListCollection.new(self, extract_selector(args).merge(:tag_name => "ol")) end |
#optgroup(*args) ⇒ OptGroup
2359 2360 2361 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2359 def optgroup(*args) OptGroup.new(self, extract_selector(args).merge(:tag_name => "optgroup")) end |
#optgroups(*args) ⇒ OptGroupCollection
2367 2368 2369 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2367 def optgroups(*args) OptGroupCollection.new(self, extract_selector(args).merge(:tag_name => "optgroup")) end |
#option(*args) ⇒ Option
2377 2378 2379 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2377 def option(*args) Option.new(self, extract_selector(args).merge(:tag_name => "option")) end |
#options(*args) ⇒ OptionCollection
2385 2386 2387 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2385 def (*args) OptionCollection.new(self, extract_selector(args).merge(:tag_name => "option")) end |
#output(*args) ⇒ Output
2395 2396 2397 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2395 def output(*args) Output.new(self, extract_selector(args).merge(:tag_name => "output")) end |
#outputs(*args) ⇒ OutputCollection
2403 2404 2405 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2403 def outputs(*args) OutputCollection.new(self, extract_selector(args).merge(:tag_name => "output")) end |
#p(*args) ⇒ Paragraph
2413 2414 2415 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2413 def p(*args) Paragraph.new(self, extract_selector(args).merge(:tag_name => "p")) end |
#param(*args) ⇒ Param
2431 2432 2433 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2431 def param(*args) Param.new(self, extract_selector(args).merge(:tag_name => "param")) end |
#params(*args) ⇒ ParamCollection
2439 2440 2441 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2439 def params(*args) ParamCollection.new(self, extract_selector(args).merge(:tag_name => "param")) end |
#pre(*args) ⇒ Pre
2449 2450 2451 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2449 def pre(*args) Pre.new(self, extract_selector(args).merge(:tag_name => "pre")) end |
#pres(*args) ⇒ PreCollection
2457 2458 2459 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2457 def pres(*args) PreCollection.new(self, extract_selector(args).merge(:tag_name => "pre")) end |
#progress(*args) ⇒ Progress
2467 2468 2469 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2467 def progress(*args) Progress.new(self, extract_selector(args).merge(:tag_name => "progress")) end |
#progresses(*args) ⇒ ProgressCollection
2475 2476 2477 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2475 def progresses(*args) ProgressCollection.new(self, extract_selector(args).merge(:tag_name => "progress")) end |
#ps(*args) ⇒ ParagraphCollection
2421 2422 2423 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2421 def ps(*args) ParagraphCollection.new(self, extract_selector(args).merge(:tag_name => "p")) end |
#q(*args) ⇒ Quote
2485 2486 2487 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2485 def q(*args) Quote.new(self, extract_selector(args).merge(:tag_name => "q")) end |
#qs(*args) ⇒ QuoteCollection
2493 2494 2495 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2493 def qs(*args) QuoteCollection.new(self, extract_selector(args).merge(:tag_name => "q")) end |
#radio(*args) ⇒ Object
30 31 32 |
# File 'lib/watir-webdriver/elements/radio.rb', line 30 def radio(*args) Radio.new(self, extract_selector(args).merge(:tag_name => "input", :type => "radio")) end |
#radios(*args) ⇒ Object
34 35 36 |
# File 'lib/watir-webdriver/elements/radio.rb', line 34 def radios(*args) RadioCollection.new(self, extract_selector(args).merge(:tag_name => "input", :type => "radio" )) end |
#rp(*args) ⇒ HTMLElement
2503 2504 2505 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2503 def rp(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "rp")) end |
#rps(*args) ⇒ HTMLElementCollection
2511 2512 2513 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2511 def rps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "rp")) end |
#rt(*args) ⇒ HTMLElement
2521 2522 2523 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2521 def rt(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "rt")) end |
#rts(*args) ⇒ HTMLElementCollection
2529 2530 2531 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2529 def rts(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "rt")) end |
#rubies(*args) ⇒ HTMLElementCollection
2547 2548 2549 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2547 def rubies(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "ruby")) end |
#ruby(*args) ⇒ HTMLElement
2539 2540 2541 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2539 def ruby(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "ruby")) end |
#s(*args) ⇒ HTMLElement
2557 2558 2559 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2557 def s(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "s")) end |
#samp(*args) ⇒ HTMLElement
2575 2576 2577 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2575 def samp(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "samp")) end |
#samps(*args) ⇒ HTMLElementCollection
2583 2584 2585 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2583 def samps(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "samp")) end |
#script(*args) ⇒ Script
2593 2594 2595 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2593 def script(*args) Script.new(self, extract_selector(args).merge(:tag_name => "script")) end |
#scripts(*args) ⇒ ScriptCollection
2601 2602 2603 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2601 def scripts(*args) ScriptCollection.new(self, extract_selector(args).merge(:tag_name => "script")) end |
#section(*args) ⇒ HTMLElement
2611 2612 2613 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2611 def section(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "section")) end |
#sections(*args) ⇒ HTMLElementCollection
2619 2620 2621 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2619 def sections(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "section")) end |
#select(*args) ⇒ Select
2629 2630 2631 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2629 def select(*args) Select.new(self, extract_selector(args).merge(:tag_name => "select")) end |
#select_list ⇒ Object
223 |
# File 'lib/watir-webdriver/elements/select.rb', line 223 alias_method :select_list, :select |
#select_lists ⇒ Object
224 |
# File 'lib/watir-webdriver/elements/select.rb', line 224 alias_method :select_lists, :selects |
#selects(*args) ⇒ SelectCollection
2637 2638 2639 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2637 def selects(*args) SelectCollection.new(self, extract_selector(args).merge(:tag_name => "select")) end |
#small(*args) ⇒ HTMLElement
2647 2648 2649 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2647 def small(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "small")) end |
#smalls(*args) ⇒ HTMLElementCollection
2655 2656 2657 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2655 def smalls(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "small")) end |
#source(*args) ⇒ Source
2665 2666 2667 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2665 def source(*args) Source.new(self, extract_selector(args).merge(:tag_name => "source")) end |
#sources(*args) ⇒ SourceCollection
2673 2674 2675 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2673 def sources(*args) SourceCollection.new(self, extract_selector(args).merge(:tag_name => "source")) end |
#span(*args) ⇒ Span
2683 2684 2685 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2683 def span(*args) Span.new(self, extract_selector(args).merge(:tag_name => "span")) end |
#spans(*args) ⇒ SpanCollection
2691 2692 2693 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2691 def spans(*args) SpanCollection.new(self, extract_selector(args).merge(:tag_name => "span")) end |
#ss(*args) ⇒ HTMLElementCollection
2565 2566 2567 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2565 def ss(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "s")) end |
#strong(*args) ⇒ HTMLElement
2701 2702 2703 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2701 def strong(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "strong")) end |
#strongs(*args) ⇒ HTMLElementCollection
2709 2710 2711 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2709 def strongs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "strong")) end |
#style(*args) ⇒ Style
2719 2720 2721 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2719 def style(*args) Style.new(self, extract_selector(args).merge(:tag_name => "style")) end |
#styles(*args) ⇒ StyleCollection
2727 2728 2729 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2727 def styles(*args) StyleCollection.new(self, extract_selector(args).merge(:tag_name => "style")) end |
#sub(*args) ⇒ HTMLElement
2737 2738 2739 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2737 def sub(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "sub")) end |
#subs(*args) ⇒ HTMLElementCollection
2745 2746 2747 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2745 def subs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "sub")) end |
#summaries(*args) ⇒ HTMLElementCollection
2763 2764 2765 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2763 def summaries(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "summary")) end |
#summary(*args) ⇒ HTMLElement
2755 2756 2757 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2755 def summary(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "summary")) end |
#sup(*args) ⇒ HTMLElement
2773 2774 2775 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2773 def sup(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "sup")) end |
#sups(*args) ⇒ HTMLElementCollection
2781 2782 2783 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2781 def sups(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "sup")) end |
#table(*args) ⇒ Table
2791 2792 2793 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2791 def table(*args) Table.new(self, extract_selector(args).merge(:tag_name => "table")) end |
#tables(*args) ⇒ TableCollection
2799 2800 2801 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2799 def tables(*args) TableCollection.new(self, extract_selector(args).merge(:tag_name => "table")) end |
#tbody(*args) ⇒ TableSection
2809 2810 2811 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2809 def tbody(*args) TableSection.new(self, extract_selector(args).merge(:tag_name => "tbody")) end |
#tbodys(*args) ⇒ TableSectionCollection
2817 2818 2819 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2817 def tbodys(*args) TableSectionCollection.new(self, extract_selector(args).merge(:tag_name => "tbody")) end |
#td(*args) ⇒ TableDataCell
2827 2828 2829 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2827 def td(*args) TableDataCell.new(self, extract_selector(args).merge(:tag_name => "td")) end |
#tds(*args) ⇒ TableDataCellCollection
2835 2836 2837 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2835 def tds(*args) TableDataCellCollection.new(self, extract_selector(args).merge(:tag_name => "td")) end |
#template(*args) ⇒ Template
2845 2846 2847 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2845 def template(*args) Template.new(self, extract_selector(args).merge(:tag_name => "template")) end |
#templates(*args) ⇒ TemplateCollection
2853 2854 2855 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2853 def templates(*args) TemplateCollection.new(self, extract_selector(args).merge(:tag_name => "template")) end |
#text_field(*args) ⇒ Object
24 25 26 |
# File 'lib/watir-webdriver/elements/text_field.rb', line 24 def text_field(*args) TextField.new(self, extract_selector(args).merge(:tag_name => "input")) end |
#text_fields(*args) ⇒ Object
28 29 30 |
# File 'lib/watir-webdriver/elements/text_field.rb', line 28 def text_fields(*args) TextFieldCollection.new(self, extract_selector(args).merge(:tag_name => "input")) end |
#textarea(*args) ⇒ TextArea
2863 2864 2865 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2863 def textarea(*args) TextArea.new(self, extract_selector(args).merge(:tag_name => "textarea")) end |
#textareas(*args) ⇒ TextAreaCollection
2871 2872 2873 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2871 def textareas(*args) TextAreaCollection.new(self, extract_selector(args).merge(:tag_name => "textarea")) end |
#tfoot(*args) ⇒ TableSection
2881 2882 2883 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2881 def tfoot(*args) TableSection.new(self, extract_selector(args).merge(:tag_name => "tfoot")) end |
#tfoots(*args) ⇒ TableSectionCollection
2889 2890 2891 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2889 def tfoots(*args) TableSectionCollection.new(self, extract_selector(args).merge(:tag_name => "tfoot")) end |
#th(*args) ⇒ TableHeaderCell
2899 2900 2901 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2899 def th(*args) TableHeaderCell.new(self, extract_selector(args).merge(:tag_name => "th")) end |
#thead(*args) ⇒ TableSection
2917 2918 2919 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2917 def thead(*args) TableSection.new(self, extract_selector(args).merge(:tag_name => "thead")) end |
#theads(*args) ⇒ TableSectionCollection
2925 2926 2927 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2925 def theads(*args) TableSectionCollection.new(self, extract_selector(args).merge(:tag_name => "thead")) end |
#ths(*args) ⇒ TableHeaderCellCollection
2907 2908 2909 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2907 def ths(*args) TableHeaderCellCollection.new(self, extract_selector(args).merge(:tag_name => "th")) end |
#time(*args) ⇒ Time
2935 2936 2937 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2935 def time(*args) Time.new(self, extract_selector(args).merge(:tag_name => "time")) end |
#times(*args) ⇒ TimeCollection
2943 2944 2945 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2943 def times(*args) TimeCollection.new(self, extract_selector(args).merge(:tag_name => "time")) end |
#title(*args) ⇒ Title
2953 2954 2955 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2953 def title(*args) Title.new(self, extract_selector(args).merge(:tag_name => "title")) end |
#titles(*args) ⇒ TitleCollection
2961 2962 2963 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2961 def titles(*args) TitleCollection.new(self, extract_selector(args).merge(:tag_name => "title")) end |
#tr(*args) ⇒ TableRow
2971 2972 2973 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2971 def tr(*args) TableRow.new(self, extract_selector(args).merge(:tag_name => "tr")) end |
#track(*args) ⇒ Track
2989 2990 2991 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2989 def track(*args) Track.new(self, extract_selector(args).merge(:tag_name => "track")) end |
#tracks(*args) ⇒ TrackCollection
2997 2998 2999 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2997 def tracks(*args) TrackCollection.new(self, extract_selector(args).merge(:tag_name => "track")) end |
#trs(*args) ⇒ TableRowCollection
2979 2980 2981 |
# File 'lib/watir-webdriver/elements/generated.rb', line 2979 def trs(*args) TableRowCollection.new(self, extract_selector(args).merge(:tag_name => "tr")) end |
#u(*args) ⇒ HTMLElement
3007 3008 3009 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3007 def u(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "u")) end |
#ul(*args) ⇒ UList
3025 3026 3027 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3025 def ul(*args) UList.new(self, extract_selector(args).merge(:tag_name => "ul")) end |
#uls(*args) ⇒ UListCollection
3033 3034 3035 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3033 def uls(*args) UListCollection.new(self, extract_selector(args).merge(:tag_name => "ul")) end |
#us(*args) ⇒ HTMLElementCollection
3015 3016 3017 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3015 def us(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "u")) end |
#var(*args) ⇒ HTMLElement
3043 3044 3045 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3043 def var(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "var")) end |
#vars(*args) ⇒ HTMLElementCollection
3051 3052 3053 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3051 def vars(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "var")) end |
#video(*args) ⇒ Video
3061 3062 3063 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3061 def video(*args) Video.new(self, extract_selector(args).merge(:tag_name => "video")) end |
#videos(*args) ⇒ VideoCollection
3069 3070 3071 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3069 def videos(*args) VideoCollection.new(self, extract_selector(args).merge(:tag_name => "video")) end |
#wbr(*args) ⇒ HTMLElement
3079 3080 3081 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3079 def wbr(*args) HTMLElement.new(self, extract_selector(args).merge(:tag_name => "wbr")) end |
#wbrs(*args) ⇒ HTMLElementCollection
3087 3088 3089 |
# File 'lib/watir-webdriver/elements/generated.rb', line 3087 def wbrs(*args) HTMLElementCollection.new(self, extract_selector(args).merge(:tag_name => "wbr")) end |