<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 24, 2014 at 9:37 PM, S Page <span dir="ltr"><<a href="mailto:spage@wikimedia.org" target="_blank">spage@wikimedia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div></div>E.g. <a href="https://github.com/cheezy/page-object/wiki/Elements" target="_blank">https://github.com/cheezy/page-object/wiki/Elements</a> has <code><code></code></code><br><pre><code>  button(:your_name, :id => 'an_id')</code></pre>but our features/support/foo_page.rb files have e.g.<br><pre><code>  h1(:first_heading, id: "firstHeading")</code></pre>is this Ruby strangeness, or just supporting alternative syntaxes?</div></div></blockquote><div><br></div><div>I'll defer to Dan or Zeljko (or Google) for a full CSish explanation...  These statements accomplish the same thing, but  the "=>" is an older syntax and the second way is preferred today. </div><div><br></div><div>-Chris  </div></div></div></div>