-
'normalize_yaml_input' error might be caused by wrong locale settings.
# CLI locale # => "LC_ALL =" export LC_ALL="en_US" # (or your locale of choice)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "capybara" | |
| html = DATA.read | |
| app = proc { |env| [200, { "Content-Type" => "text/html" }, [html] ] } | |
| sess = Capybara::Session.new(:selenium, app) | |
| sess.visit("/") | |
| __END__ | |