LoginSignup
1
1

More than 5 years have passed since last update.

capybara-webkit 実行時のログをコンソールに出力させない

Last updated at Posted at 2015-02-11

:stdout を nil にしてドライバーを再登録すれば良い

Capybara.register_driver :webkit do |app|
    Capybara::Webkit::Driver.new(app, :stdout => nil)
end

Capybara.current_driver = :webkit_silent
Capybara.javascript_driver = :webkit_silent
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1