Class: Watir::Media

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

Direct Known Subclasses

Audio, Video

Constant Summary

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, #exists?, #fire_event, #flash, #focus, #focused?, #hash, #hover, #id, #initialize, #inner_html, #inspect, #outer_html, #parent, #present?, #right_click, #run_checkers, #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_present

Methods included from Container

#a, #abbr, #abbrs, #address, #addresses, #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, #cite, #cites, #code, #codes, #col, #colgroup, #colgroups, #cols, #data, #datalist, #datalists, #datas, #dd, #dds, #del, #dels, #details, #detailses, #dfn, #dfns, #dialog, #dialogs, #div, #divs, #dl, #dls, #dt, #dts, #element, #elements, #em, #embed, #embeds, #ems, #extract_selector, #field_set, #field_sets, #fieldset, #fieldsets, #figcaption, #figcaptions, #figure, #figures, #file_field, #file_fields, #font, #fonts, #footer, #footers, #form, #forms, #frame, #frames, #frameset, #framesets, #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, #link, #links, #lis, #main, #mains, #map, #maps, #mark, #marks, #menu, #menuitem, #menuitems, #menus, #meta, #metas, #meter, #meters, #nav, #navs, #noscript, #noscripts, #object, #objects, #ol, #ols, #optgroup, #optgroups, #option, #options, #output, #outputs, #p, #param, #params, #pre, #pres, #progress, #progresses, #ps, #q, #qs, #radio, #radios, #rp, #rps, #rt, #rts, #rubies, #ruby, #s, #samp, #samps, #script, #scripts, #section, #sections, #select, #select_list, #select_lists, #selects, #small, #smalls, #source, #sources, #span, #spans, #ss, #strong, #strongs, #style, #styles, #sub, #subs, #summaries, #summary, #sup, #sups, #table, #tables, #tbody, #tbodys, #td, #tds, #template, #templates, #text_field, #text_fields, #textarea, #textareas, #tfoot, #tfoots, #th, #thead, #theads, #ths, #time, #times, #title, #titles, #tr, #track, #tracks, #trs, #u, #ul, #uls, #us, #var, #vars, #video, #videos, #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



688
# File 'lib/watir-webdriver/elements/generated.rb', line 688

attribute(String, :audio_tracks, :audioTracks)

#autoplay?Boolean

Returns value of autoplay property

Returns:

  • (Boolean)

    value of autoplay property



680
# File 'lib/watir-webdriver/elements/generated.rb', line 680

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

#bufferedString

Returns value of buffered property

Returns:

  • (String)

    value of buffered property



669
# File 'lib/watir-webdriver/elements/generated.rb', line 669

attribute(String, :buffered, :buffered)

#controllerString

Returns value of controller property

Returns:

  • (String)

    value of controller property



683
# File 'lib/watir-webdriver/elements/generated.rb', line 683

attribute(String, :controller, :controller)

#controls?Boolean

Returns value of controls property

Returns:

  • (Boolean)

    value of controls property



684
# File 'lib/watir-webdriver/elements/generated.rb', line 684

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

#cross_originString

Returns value of crossOrigin property

Returns:

  • (String)

    value of crossOrigin property



666
# File 'lib/watir-webdriver/elements/generated.rb', line 666

attribute(String, :cross_origin, :crossOrigin)

#current_srcString

Returns value of currentSrc property

Returns:

  • (String)

    value of currentSrc property



665
# File 'lib/watir-webdriver/elements/generated.rb', line 665

attribute(String, :current_src, :currentSrc)

#current_timeFloat

Returns value of currentTime property

Returns:

  • (Float)

    value of currentTime property



672
# File 'lib/watir-webdriver/elements/generated.rb', line 672

attribute(Float, :current_time, :currentTime)

#default_muted?Boolean

Returns value of defaultMuted property

Returns:

  • (Boolean)

    value of defaultMuted property



687
# File 'lib/watir-webdriver/elements/generated.rb', line 687

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

#default_playback_rateFloat

Returns value of defaultPlaybackRate property

Returns:

  • (Float)

    value of defaultPlaybackRate property



675
# File 'lib/watir-webdriver/elements/generated.rb', line 675

attribute(Float, :default_playback_rate, :defaultPlaybackRate)

#durationFloat

Returns value of duration property

Returns:

  • (Float)

    value of duration property



673
# File 'lib/watir-webdriver/elements/generated.rb', line 673

attribute(Float, :duration, :duration)

#ended?Boolean

Returns value of ended property

Returns:

  • (Boolean)

    value of ended property



679
# File 'lib/watir-webdriver/elements/generated.rb', line 679

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

#errorString

Returns value of error property

Returns:

  • (String)

    value of error property



663
# File 'lib/watir-webdriver/elements/generated.rb', line 663

attribute(String, :error, :error)

#loop?Boolean

Returns value of loop property

Returns:

  • (Boolean)

    value of loop property



681
# File 'lib/watir-webdriver/elements/generated.rb', line 681

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

#media_groupString

Returns value of mediaGroup property

Returns:

  • (String)

    value of mediaGroup property



682
# File 'lib/watir-webdriver/elements/generated.rb', line 682

attribute(String, :media_group, :mediaGroup)

#muted?Boolean

Returns value of muted property

Returns:

  • (Boolean)

    value of muted property



686
# File 'lib/watir-webdriver/elements/generated.rb', line 686

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

#network_stateFixnum

Returns value of networkState property

Returns:

  • (Fixnum)

    value of networkState property



667
# File 'lib/watir-webdriver/elements/generated.rb', line 667

attribute(Fixnum, :network_state, :networkState)

#paused?Boolean

Returns value of paused property

Returns:

  • (Boolean)

    value of paused property



674
# File 'lib/watir-webdriver/elements/generated.rb', line 674

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

#playback_rateFloat

Returns value of playbackRate property

Returns:

  • (Float)

    value of playbackRate property



676
# File 'lib/watir-webdriver/elements/generated.rb', line 676

attribute(Float, :playback_rate, :playbackRate)

#playedString

Returns value of played property

Returns:

  • (String)

    value of played property



677
# File 'lib/watir-webdriver/elements/generated.rb', line 677

attribute(String, :played, :played)

#preloadString

Returns value of preload property

Returns:

  • (String)

    value of preload property



668
# File 'lib/watir-webdriver/elements/generated.rb', line 668

attribute(String, :preload, :preload)

#ready_stateFixnum

Returns value of readyState property

Returns:

  • (Fixnum)

    value of readyState property



670
# File 'lib/watir-webdriver/elements/generated.rb', line 670

attribute(Fixnum, :ready_state, :readyState)

#seekableString

Returns value of seekable property

Returns:

  • (String)

    value of seekable property



678
# File 'lib/watir-webdriver/elements/generated.rb', line 678

attribute(String, :seekable, :seekable)

#seeking?Boolean

Returns value of seeking property

Returns:

  • (Boolean)

    value of seeking property



671
# File 'lib/watir-webdriver/elements/generated.rb', line 671

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

#srcString

Returns value of src property

Returns:

  • (String)

    value of src property



664
# File 'lib/watir-webdriver/elements/generated.rb', line 664

attribute(String, :src, :src)

#text_tracksString

Returns value of textTracks property

Returns:

  • (String)

    value of textTracks property



690
# File 'lib/watir-webdriver/elements/generated.rb', line 690

attribute(String, :text_tracks, :textTracks)

#video_tracksString

Returns value of videoTracks property

Returns:

  • (String)

    value of videoTracks property



689
# File 'lib/watir-webdriver/elements/generated.rb', line 689

attribute(String, :video_tracks, :videoTracks)

#volumeFloat

Returns value of volume property

Returns:

  • (Float)

    value of volume property



685
# File 'lib/watir-webdriver/elements/generated.rb', line 685

attribute(Float, :volume, :volume)