Capybara.javascript_driver = :poltergeist Capybara.register_driver :poltergeist do |app| Capybara::Poltergeist::Driver.new(app, :js_errors => false, :timeout => 60) end ã¨ããã°ããã¨ããã£ããåãªãã·ã§ã³ã«ã¤ãã¦ä»¥ä¸ã«èª¬æããã :js_errors :js_errors => falseã«ããã®ã¯Capybara::Poltergeist::JavascriptError: ã¨ããã¨ã©ã¼ãé²ããããJSã®ã¨ã©ã¼ã¯ãããããã¨ãªã®ã ããã¨ã©ã¼ãåºããã³ã«Capybaraãæ¢ããã®ã¯æéã®ç¡é§ãã¨ãããã¨ã§ãJSã®ã¨ã©ã¼ã¯ç¡è¦ãããã¨ã«ããã :timeout Timeoutã¯ããã©ã«ãã§ã¯30ç§ããããããã°ã¤ã³ã®ãããªæ
{{#tags}}- {{label}}
{{/tags}}