The Crystal programming language | http://crystal-lang.org | Fund Crystal's development: http://is.gd/X7PRtI | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/
def handle_error(error)
{% begin %}
case error
{% for k, v in klass_map %}
when {{k}} then raise {{v}}.new(error)
{% end %}
end
{% end %}
end
raise UnknownMethodException.new
versus going thru the case at all
almost ready to beta my project!
https://github.com/skinnyjames/webdriver
It's a w3c compliant OO webdriver that pulls from the Watir api
cy.get('#username').click();
is what im familiar with
.type(username)
*
cy.get('input[id^="username"]:nth-of-type(2)').type(username)
.eq(1)
, starts at 0