6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

capybara-webkitで詰まった時

Posted at

capybara-webkitにはデバッグモードが存在する。

spec/spec_helper.rb
Capybara.javascript_driver = :webkit_debug

すごく遅いexampleを実行
bundle exec spring rspec spec/features/top_page_spec.rb

Finished "EnableLogging" with response "Success()"
Wrote response true ""
Received "Visit"
Started "Visit"
Load started
"Visit" started page load
Started request to "http://127.0.0.1:62146/"
Finished "Visit" with response "Success()"
Started request to "http://127.0.0.1:62146/assets/application.css"
Started request to "http://127.0.0.1:62146/assets/application.js"
Received 200 from "http://127.0.0.1:62146/"
Received 200 from "http://127.0.0.1:62146/assets/application.css"
Received 200 from "http://127.0.0.1:62146/assets/application.js"
Started request to "http://www.google-analytics.com/analytics.js"
Started request to "http://127.0.0.1:62146/assets/common/logo.png"
Received 200 from "http://127.0.0.1:62146/assets/common/logo.png"
※ ここで動かなくなる

google analyticsがブロックしてました

6
6
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
6
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?