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, #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, #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



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

attribute(String, :audio_tracks, :audioTracks)

#autoplay?Boolean

Returns value of autoplay property.

Returns:

  • (Boolean)

    value of autoplay property



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

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

#bufferedString

Returns value of buffered property.

Returns:

  • (String)

    value of buffered property



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

attribute(String, :buffered, :buffered)

#controllerString

Returns value of controller property.

Returns:

  • (String)

    value of controller property



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

attribute(String, :controller, :controller)

#controls?Boolean

Returns value of controls property.

Returns:

  • (Boolean)

    value of controls property



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

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

#cross_originString

Returns value of crossOrigin property.

Returns:

  • (String)

    value of crossOrigin property



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

attribute(String, :cross_origin, :crossOrigin)

#current_srcString

Returns value of currentSrc property.

Returns:

  • (String)

    value of currentSrc property



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

attribute(String, :current_src, :currentSrc)

#current_timeFloat

Returns value of currentTime property.

Returns:

  • (Float)

    value of currentTime property



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

attribute(Float, :current_time, :currentTime)

#default_muted?Boolean

Returns value of defaultMuted property.

Returns:

  • (Boolean)

    value of defaultMuted property



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

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

#default_playback_rateFloat

Returns value of defaultPlaybackRate property.

Returns:

  • (Float)

    value of defaultPlaybackRate property



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

attribute(Float, :default_playback_rate, :defaultPlaybackRate)

#durationFloat

Returns value of duration property.

Returns:

  • (Float)

    value of duration property



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

attribute(Float, :duration, :duration)

#ended?Boolean

Returns value of ended property.

Returns:

  • (Boolean)

    value of ended property



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

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

#errorString

Returns value of error property.

Returns:

  • (String)

    value of error property



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

attribute(String, :error, :error)

#loop?Boolean

Returns value of loop property.

Returns:

  • (Boolean)

    value of loop property



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

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

#media_groupString

Returns value of mediaGroup property.

Returns:

  • (String)

    value of mediaGroup property



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

attribute(String, :media_group, :mediaGroup)

#muted?Boolean

Returns value of muted property.

Returns:

  • (Boolean)

    value of muted property



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

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

#network_stateFixnum

Returns value of networkState property.

Returns:

  • (Fixnum)

    value of networkState property



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

attribute(Fixnum, :network_state, :networkState)

#paused?Boolean

Returns value of paused property.

Returns:

  • (Boolean)

    value of paused property



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

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

#playback_rateFloat

Returns value of playbackRate property.

Returns:

  • (Float)

    value of playbackRate property



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

attribute(Float, :playback_rate, :playbackRate)

#playedString

Returns value of played property.

Returns:

  • (String)

    value of played property



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

attribute(String, :played, :played)

#preloadString

Returns value of preload property.

Returns:

  • (String)

    value of preload property



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

attribute(String, :preload, :preload)

#ready_stateFixnum

Returns value of readyState property.

Returns:

  • (Fixnum)

    value of readyState property



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

attribute(Fixnum, :ready_state, :readyState)

#seekableString

Returns value of seekable property.

Returns:

  • (String)

    value of seekable property



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

attribute(String, :seekable, :seekable)

#seeking?Boolean

Returns value of seeking property.

Returns:

  • (Boolean)

    value of seeking property



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

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

#srcString

Returns value of src property.

Returns:

  • (String)

    value of src property



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

attribute(String, :src, :src)

#src_objectString

Returns value of srcObject property.

Returns:

  • (String)

    value of srcObject property



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

attribute(String, :src_object, :srcObject)

#text_tracksString

Returns value of textTracks property.

Returns:

  • (String)

    value of textTracks property



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

attribute(String, :text_tracks, :textTracks)

#video_tracksString

Returns value of videoTracks property.

Returns:

  • (String)

    value of videoTracks property



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

attribute(String, :video_tracks, :videoTracks)

#volumeFloat

Returns value of volume property.

Returns:

  • (Float)

    value of volume property



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

attribute(Float, :volume, :volume)