Class: Watir::Anchor

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

Constant Summary

Constants inherited from Element

Element::CASE_INSENSITIVE_ATTRIBUTES

Instance Attribute Summary

Attributes inherited from Element

#keyword, #selector

Instance Method Summary collapse

Methods inherited from HTMLElement

#accesskey, #content_editable, #content_editable?, #dataset, #dir, #draggable?, #hidden?, #innertext, #lang, #onabort, #onblur, #oncancel, #oncanplay, #oncanplaythrough, #onchange, #onclick, #onclose, #oncopy, #oncuechange, #oncut, #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, #onpaste, #onpause, #onplay, #onplaying, #onprogress, #onratechange, #onreset, #onresize, #onscroll, #onseeked, #onseeking, #onselect, #onshow, #onstalled, #onsubmit, #onsuspend, #ontimeupdate, #ontoggle, #onvolumechange, #onwaiting, #onwheel, #spellcheck?, #tabindex, #title, #translate?

Methods inherited from Element

#==, #attribute_list, #attribute_value, #attribute_values, #browser, #build, #cache=, #center, #class_name, #classes, #click, #click!, #double_click, #double_click!, #drag_and_drop_by, #drag_and_drop_on, #driver, #enabled?, #focused?, #hash, #height, #hover, #id, #in_viewport?, #initialize, #inspect, #locate, #located?, #location, #obscured?, #present?, #reset!, #right_click, #selector_string, #send_keys, #set, #shadow_root, #size, #stale?, #stale_in_context?, #style, #tag_name, #text, #to_subtype, #wd, #width

Methods included from AttributeHelper

#attribute, #attribute_list, #define_attribute, #define_boolean_attribute, #define_float_attribute, #define_int_attribute, #define_string_attribute, #inherit_attributes_from, #method, #typed_attributes

Methods included from SearchContext

#assert_exists, #check_condition, #element_call, #exists?, #unknown_exception, #wait_for_exists

Methods included from Scrolling

#scroll

Methods included from Locators::ClassHelpers

#class_from_string, #element_class_name, #element_matcher_class, #locator, #locator_class, #selector_builder, #selector_builder_class

Methods included from JSExecution

#execute_script, #fire_event, #flash, #focus, #inner_html, #inner_text, #outer_html, #select_text, #selected_text, #text_content

Methods included from Adjacent

#child, #children, #following_sibling, #following_siblings, #parent, #preceding_sibling, #preceding_siblings, #siblings

Methods included from Waitable

#wait_until, #wait_while

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, #circle, #circles, #cite, #cites, #code, #codes, #col, #colgroup, #colgroups, #cols, #data, #datalist, #datalists, #datas, #date_field, #date_fields, #date_time_field, #date_time_fields, #dd, #dds, #defs, #defss, #del, #dels, #desc, #descs, #details, #detailses, #dfn, #dfns, #dialog, #dialogs, #div, #divs, #dl, #dls, #dt, #dts, #element, #elements, #ellipse, #ellipses, #em, #embed, #embeds, #ems, #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, #hidden, #hiddens, #hr, #hrs, #html, #htmls, #i, #iframe, #iframes, #image, #images, #img, #imgs, #input, #inputs, #ins, #inses, #is, #kbd, #kbds, #label, #labels, #legend, #legends, #li, #line, #linear_gradient, #linear_gradients, #lines, #link, #links, #lis, #main, #mains, #map, #maps, #mark, #marker, #markers, #marks, #meta, #metadata, #metadatas, #metas, #meter, #meters, #nav, #navs, #noscript, #noscripts, #object, #objects, #ol, #ols, #optgroup, #optgroups, #option, #options, #output, #outputs, #p, #param, #params, #path, #paths, #pattern, #patterns, #picture, #pictures, #polygon, #polygons, #polyline, #polylines, #pre, #pres, #progress, #progresses, #ps, #q, #qs, #radial_gradient, #radial_gradients, #radio, #radio_set, #radios, #rb, #rbs, #rect, #rects, #rp, #rps, #rt, #rtc, #rtcs, #rts, #rubies, #ruby, #s, #samp, #samps, #script, #scripts, #section, #sections, #select, #select_list, #select_lists, #selects, #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 JSSnippets

#execute_js

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

#charsetString

Returns value of charset property.

Returns:

  • (String)

    value of charset property



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

attribute(String, :charset, :charset)

#coordsString

Returns value of coords property.

Returns:

  • (String)

    value of coords property



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

attribute(String, :coords, :coords)

#downloadString

Returns value of download property.

Returns:

  • (String)

    value of download property



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

attribute(String, :download, :download)

#hostString

Returns value of host property.

Returns:

  • (String)

    value of host property



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

attribute(String, :host, :host)

#hostnameString

Returns value of hostname property.

Returns:

  • (String)

    value of hostname property



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

attribute(String, :hostname, :hostname)

#hrefString

Returns value of href property.

Returns:

  • (String)

    value of href property



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

attribute(String, :href, :href)

#hreflangString

Returns value of hreflang property.

Returns:

  • (String)

    value of hreflang property



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

attribute(String, :hreflang, :hreflang)

#nameString

Returns value of name property.

Returns:

  • (String)

    value of name property



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

attribute(String, :name, :name)

#originString

Returns value of origin property.

Returns:

  • (String)

    value of origin property



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

attribute(String, :origin, :origin)

#passwordString

Returns value of password property.

Returns:

  • (String)

    value of password property



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

attribute(String, :password, :password)

#pathnameString

Returns value of pathname property.

Returns:

  • (String)

    value of pathname property



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

attribute(String, :pathname, :pathname)

#portString

Returns value of port property.

Returns:

  • (String)

    value of port property



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

attribute(String, :port, :port)

#protocolString

Returns value of protocol property.

Returns:

  • (String)

    value of protocol property



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

attribute(String, :protocol, :protocol)

#referrerpolicyString

Returns value of referrerPolicy property.

Returns:

  • (String)

    value of referrerPolicy property



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

attribute(String, :referrerpolicy, :referrerPolicy)

#relString

Returns value of rel property.

Returns:

  • (String)

    value of rel property



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

attribute(String, :rel, :rel)

#rellistString

Returns value of relList property.

Returns:

  • (String)

    value of relList property



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

attribute(String, :rellist, :relList)

#revString

Returns value of rev property.

Returns:

  • (String)

    value of rev property



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

attribute(String, :rev, :rev)

#searchString

Returns value of search property.

Returns:

  • (String)

    value of search property



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

attribute(String, :search, :search)

#shapeString

Returns value of shape property.

Returns:

  • (String)

    value of shape property



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

attribute(String, :shape, :shape)

#targetString

Returns value of target property.

Returns:

  • (String)

    value of target property



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

attribute(String, :target, :target)

#typeString

Returns value of type property.

Returns:

  • (String)

    value of type property



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

attribute(String, :type, :type)

#usernameString

Returns value of username property.

Returns:

  • (String)

    value of username property



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

attribute(String, :username, :username)