Guest User

Untitled

a guest
Apr 16th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. # Comment out the next line if you don't want Cucumber Unicode support
  2. require 'cucumber/formatter/unicode'
  3.  
  4. require 'webrat'
  5. require 'cucumber/webrat/element_locator' # Lets you do table.diff!(element_at('#my_table_or_dl_or_ul_or_ol').to_table)
  6.  
  7. Webrat.configure do |config|
  8. config.mode = :mechanize
  9. end
  10.  
  11. require 'webrat/core/matchers'
Add Comment
Please, Sign In to add comment