lib/page-object/locator_generator.rb in page-object-1.2.0 vs lib/page-object/locator_generator.rb in page-object-1.2.1
- old
+ new
@@ -1,74 +1,120 @@
module PageObject
module LocatorGenerator
BASIC_ELEMENTS = [:abbr,
:address,
+ :animate,
+ :animate_motion,
+ :animate_transform,
:article,
:as,
:aside,
+ :base,
:bdi,
:bdo,
:blockquote,
:body,
:br,
:caption,
+ :circle,
:cite,
:code,
:col,
:colgroup,
:command,
+ :cursor,
:data,
:datalist,
:dd,
+ :defs,
:del,
+ :desc,
:details,
:dfn,
:dialog,
+ :discard,
:dl,
:dt,
+ :ellipse,
:em,
:embed,
:fieldset,
:figcaption,
:figure,
+ :font,
:footer,
+ :foreign_object,
+ :g,
:head,
:header,
:hgroup,
:hr,
+ :html,
:ins,
:kbd,
:keygen,
:legend,
+ :line,
+ :linear_gradient,
+ :main,
:map,
:mark,
+ :marker,
:menu,
+ :menuitem,
+ :mesh_gradient,
+ :mesh_patch,
+ :mesh_row,
:meta,
+ :metadata,
:meter,
+ :mpath,
:nav,
:noscript,
:object,
:optgroup,
:output,
+ :p,
:param,
+ :path,
+ :pattern,
+ :polygon,
+ :polyline,
:pre,
:progress,
+ :q,
+ :radial_gradient,
+ :rect,
:rp,
:rt,
:ruby,
+ :s,
:samp,
+ :script,
:section,
+ :set,
:small,
+ :source,
+ :stop,
:strong,
:style,
:sub,
:summary,
:sup,
+ :switch,
+ :symbol,
+ :template,
+ :text_path,
+ :thread,
:time,
:title,
:track,
+ :tspan,
+ :u,
+ :use,
:var,
+ :view,
:wbr]
ADVANCED_ELEMENTS = [:text_field,
:hidden_field,