Skip to content

Instantly share code, notes, and snippets.

@gempesaw
Created January 19, 2015 20:11
Show Gist options
  • Select an option

  • Save gempesaw/738c1d64d2d47d03a866 to your computer and use it in GitHub Desktop.

Select an option

Save gempesaw/738c1d64d2d47d03a866 to your computer and use it in GitHub Desktop.
ruby watir.rb
We must explicitly catch this failed find_element
Or else it will kill the script
/Users/dgempesaw/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.6.11/lib/watir-webdriver/elements/element.rb:513:in `assert_exists': unable to locate element, using {:name=>"missing", :tag_name=>"input or textarea", :type=>"(any text type)"} (Watir::Exception::UnknownObjectException)
from /Users/dgempesaw/.rvm/gems/ruby-2.2.0/gems/watir-webdriver-0.6.11/lib/watir-webdriver/user_editable.rb:11:in `set'
from watir.rb:12:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment