Class: Watir::Media

Inherits:
HTMLElement show all
Defined in:
lib/watir-webdriver/elements/html_elements.rb

Direct Known Subclasses

Audio, Video

Constant Summary

Constants included from Atoms

Atoms::ATOMS

Instance Method Summary collapse

Methods inherited from HTMLElement

#access_key, #access_key_label, #command_checked?, #command_disabled?, #command_hidden?, #command_icon, #command_label, #command_type, #content_editable, #content_editable?, #context_menu, #dataset, #dir, #draggable?, #dropzone, #hidden?, #item_id, #item_prop, #item_ref, #item_scope?, #item_type, #item_value, #lang, #onabort, #onautocomplete, #onautocompleteerror, #onblur, #oncancel, #oncanplay, #oncanplaythrough, #onchange, #onclick, #onclose, #oncontextmenu, #oncuechange, #ondblclick, #ondrag, #ondragend, #ondragenter, #ondragexit, #ondragleave, #ondragover, #ondragstart, #ondrop, #ondurationchange, #onemptied, #onended, #onerror, #onfocus, #oninput, #oninvalid, #onkeydown, #onkeypress, #onkeyup, #onload, #onloadeddata, #onloadedmetadata, #onloadstart, #onmousedown, #onmouseenter, #onmouseleave, #onmousemove, #onmouseout, #onmouseover, #onmouseup, #onmousewheel, #onpause, #onplay, #onplaying, #onprogress, #onratechange, #onreset, #onresize, #onscroll, #onseeked, #onseeking, #onselect, #onshow, #onsort, #onstalled, #onsubmit, #onsuspend, #ontimeupdate, #ontoggle, #onvolumechange, #onwaiting, #properties, #spellcheck?, #tab_index, #title, #translate?

Methods inherited from Element

#==, #attribute_value, #browser, #class_name, #click, #double_click, #drag_and_drop_by, #drag_and_drop_on, #driver, #enabled?, #exists?, #fire_event, #flash, #focus, #focused?, #hash, #hover, #id, #initialize, #inner_html, #inspect, #outer_html, #parent, #present?, #right_click, #select_text, #send_keys, #style, #tag_name, #text, #to_subtype, #value, #visible?, #wd

Methods included from AttributeHelper

#attribute, #attribute_list, #inherit_attributes_from, #method, #typed_attributes

Methods included from EventuallyPresent

#wait_until_present, #wait_while_present, #when_enabled, #when_present

Methods included from Container

#a, #abbr, #abbrs, #address, #addresses, #animate, #animate_motion, #animate_motions, #animate_transform, #animate_transforms, #animates, #area, #areas, #article, #articles, #as, #aside, #asides, #audio, #audios, #b, #base, #bases, #bdi, #bdis, #bdo, #bdos, #blockquote, #blockquotes, #body, #bodys, #br, #brs, #bs, #button, #buttons, #canvas, #canvases, #caption, #captions, #checkbox, #checkboxes, #circle, #circles, #cite, #cites, #code, #codes, #col, #colgroup, #colgroups, #cols, #cursor, #cursors, #data, #datalist, #datalists, #datas, #dd, #dds, #defs, #defss, #del, #dels, #desc, #descs, #details, #detailses, #dfn, #dfns, #dialog, #dialogs, #discard, #discards, #div, #divs, #dl, #dls, #dt, #dts, #element, #elements, #ellipse, #ellipses, #em, #embed, #embeds, #ems, #extract_selector, #field_set, #field_sets, #fieldset, #fieldsets, #figcaption, #figcaptions, #figure, #figures, #file_field, #file_fields, #font, #fonts, #footer, #footers, #foreign_object, #foreign_objects, #form, #forms, #frame, #frames, #frameset, #framesets, #g, #gs, #h1, #h1s, #h2, #h2s, #h3, #h3s, #h4, #h4s, #h5, #h5s, #h6, #h6s, #head, #header, #headers, #heads, #hgroup, #hgroups, #hidden, #hiddens, #hr, #hrs, #html, #htmls, #i, #iframe, #iframes, #image, #images, #img, #imgs, #input, #inputs, #ins, #inses, #is, #kbd, #kbds, #keygen, #keygens, #label, #labels, #legend, #legends, #li, #line, #linear_gradient, #linear_gradients, #lines, #link, #links, #lis, #main, #mains, #map, #maps, #mark, #marker, #markers, #marks, #menu, #menuitem, #menuitems, #menus, #mesh_gradient, #mesh_gradients, #mesh_patch, #mesh_patches, #mesh_row, #mesh_rows, #meta, #metadata, #metadatas, #metas, #meter, #meters, #mpath, #mpaths, #nav, #navs, #noscript, #noscripts, #object, #objects, #ol, #ols, #optgroup, #optgroups, #option, #options, #output, #outputs, #p, #param, #params, #path, #paths, #pattern, #patterns, #polygon, #polygons, #polyline, #polylines, #pre, #pres, #progress, #progresses, #ps, #q, #qs, #radial_gradient, #radial_gradients, #radio, #radios, #rect, #rects, #rp, #rps, #rt, #rts, #rubies, #ruby, #s, #samp, #samps, #script, #scripts, #section, #sections, #select, #select_list, #select_lists, #selects, #set, #sets, #small, #smalls, #source, #sources, #span, #spans, #ss, #stop, #stops, #strong, #strongs, #style, #styles, #sub, #subs, #summaries, #summary, #sup, #sups, #svg, #svgs, #switch, #switches, #symbol, #symbols, #table, #tables, #tbody, #tbodys, #td, #tds, #template, #templates, #text_field, #text_fields, #text_path, #text_paths, #textarea, #textareas, #tfoot, #tfoots, #th, #thead, #theads, #ths, #time, #times, #title, #titles, #tr, #track, #tracks, #trs, #tspan, #tspans, #u, #ul, #uls, #us, #use, #uses, #var, #vars, #video, #videos, #view, #views, #wbr, #wbrs

Methods included from Atoms

load

Methods included from XpathSupport

downcase, escape

Constructor Details

This class inherits a constructor from Watir::Element

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Watir::Element

Instance Method Details

#audio_tracksString

Returns value of audioTracks property.

Returns:

  • (String)

    value of audioTracks property



613
# File 'lib/watir-webdriver/elements/html_elements.rb', line 613

attribute(String, :audio_tracks, :audioTracks)

#autoplay?Boolean

Returns value of autoplay property.

Returns:

  • (Boolean)

    value of autoplay property



605
# File 'lib/watir-webdriver/elements/html_elements.rb', line 605

attribute("Boolean", :autoplay?, :autoplay)

#bufferedString

Returns value of buffered property.

Returns:

  • (String)

    value of buffered property



594
# File 'lib/watir-webdriver/elements/html_elements.rb', line 594

attribute(String, :buffered, :buffered)

#controllerString

Returns value of controller property.

Returns:

  • (String)

    value of controller property



608
# File 'lib/watir-webdriver/elements/html_elements.rb', line 608

attribute(String, :controller, :controller)

#controls?Boolean

Returns value of controls property.

Returns:

  • (Boolean)

    value of controls property



609
# File 'lib/watir-webdriver/elements/html_elements.rb', line 609

attribute("Boolean", :controls?, :controls)

#cross_originString

Returns value of crossOrigin property.

Returns:

  • (String)

    value of crossOrigin property



591
# File 'lib/watir-webdriver/elements/html_elements.rb', line 591

attribute(String, :cross_origin, :crossOrigin)

#current_srcString

Returns value of currentSrc property.

Returns:

  • (String)

    value of currentSrc property



590
# File 'lib/watir-webdriver/elements/html_elements.rb', line 590

attribute(String, :current_src, :currentSrc)

#current_timeFloat

Returns value of currentTime property.

Returns:

  • (Float)

    value of currentTime property



597
# File 'lib/watir-webdriver/elements/html_elements.rb', line 597

attribute(Float, :current_time, :currentTime)

#default_muted?Boolean

Returns value of defaultMuted property.

Returns:

  • (Boolean)

    value of defaultMuted property



612
# File 'lib/watir-webdriver/elements/html_elements.rb', line 612

attribute("Boolean", :default_muted?, :defaultMuted)

#default_playback_rateFloat

Returns value of defaultPlaybackRate property.

Returns:

  • (Float)

    value of defaultPlaybackRate property



600
# File 'lib/watir-webdriver/elements/html_elements.rb', line 600

attribute(Float, :default_playback_rate, :defaultPlaybackRate)

#durationFloat

Returns value of duration property.

Returns:

  • (Float)

    value of duration property



598
# File 'lib/watir-webdriver/elements/html_elements.rb', line 598

attribute(Float, :duration, :duration)

#ended?Boolean

Returns value of ended property.

Returns:

  • (Boolean)

    value of ended property



604
# File 'lib/watir-webdriver/elements/html_elements.rb', line 604

attribute("Boolean", :ended?, :ended)

#errorString

Returns value of error property.

Returns:

  • (String)

    value of error property



587
# File 'lib/watir-webdriver/elements/html_elements.rb', line 587

attribute(String, :error, :error)

#loop?Boolean

Returns value of loop property.

Returns:

  • (Boolean)

    value of loop property



606
# File 'lib/watir-webdriver/elements/html_elements.rb', line 606

attribute("Boolean", :loop?, :loop)

#media_groupString

Returns value of mediaGroup property.

Returns:

  • (String)

    value of mediaGroup property



607
# File 'lib/watir-webdriver/elements/html_elements.rb', line 607

attribute(String, :media_group, :mediaGroup)

#muted?Boolean

Returns value of muted property.

Returns:

  • (Boolean)

    value of muted property



611
# File 'lib/watir-webdriver/elements/html_elements.rb', line 611

attribute("Boolean", :muted?, :muted)

#network_stateFixnum

Returns value of networkState property.

Returns:

  • (Fixnum)

    value of networkState property



592
# File 'lib/watir-webdriver/elements/html_elements.rb', line 592

attribute(Fixnum, :network_state, :networkState)

#paused?Boolean

Returns value of paused property.

Returns:

  • (Boolean)

    value of paused property



599
# File 'lib/watir-webdriver/elements/html_elements.rb', line 599

attribute("Boolean", :paused?, :paused)

#playback_rateFloat

Returns value of playbackRate property.

Returns:

  • (Float)

    value of playbackRate property



601
# File 'lib/watir-webdriver/elements/html_elements.rb', line 601

attribute(Float, :playback_rate, :playbackRate)

#playedString

Returns value of played property.

Returns:

  • (String)

    value of played property



602
# File 'lib/watir-webdriver/elements/html_elements.rb', line 602

attribute(String, :played, :played)

#preloadString

Returns value of preload property.

Returns:

  • (String)

    value of preload property



593
# File 'lib/watir-webdriver/elements/html_elements.rb', line 593

attribute(String, :preload, :preload)

#ready_stateFixnum

Returns value of readyState property.

Returns:

  • (Fixnum)

    value of readyState property



595
# File 'lib/watir-webdriver/elements/html_elements.rb', line 595

attribute(Fixnum, :ready_state, :readyState)

#seekableString

Returns value of seekable property.

Returns:

  • (String)

    value of seekable property



603
# File 'lib/watir-webdriver/elements/html_elements.rb', line 603

attribute(String, :seekable, :seekable)

#seeking?Boolean

Returns value of seeking property.

Returns:

  • (Boolean)

    value of seeking property



596
# File 'lib/watir-webdriver/elements/html_elements.rb', line 596

attribute("Boolean", :seeking?, :seeking)

#srcString

Returns value of src property.

Returns:

  • (String)

    value of src property



588
# File 'lib/watir-webdriver/elements/html_elements.rb', line 588

attribute(String, :src, :src)

#src_objectString

Returns value of srcObject property.

Returns:

  • (String)

    value of srcObject property



589
# File 'lib/watir-webdriver/elements/html_elements.rb', line 589

attribute(String, :src_object, :srcObject)

#text_tracksString

Returns value of textTracks property.

Returns:

  • (String)

    value of textTracks property



615
# File 'lib/watir-webdriver/elements/html_elements.rb', line 615

attribute(String, :text_tracks, :textTracks)

#video_tracksString

Returns value of videoTracks property.

Returns:

  • (String)

    value of videoTracks property



614
# File 'lib/watir-webdriver/elements/html_elements.rb', line 614

attribute(String, :video_tracks, :videoTracks)

#volumeFloat

Returns value of volume property.

Returns:

  • (Float)

    value of volume property



610
# File 'lib/watir-webdriver/elements/html_elements.rb', line 610

attribute(Float, :volume, :volume)