jeudi 26 juillet 2018

Debug in headless Chrome

After switching from capybara_webkit to headless_chrome, I'm trying to find a way to replicate

Capybara::Webkit.configure do |config|
  config.debug = true
end

or

Capybara.javascript_driver = :webkit_debug

with the new driver. The goal is to be able to see the log of everything happening when running rspec my_spec.rb: for example, all GET requests.

Is there a way to achieve that?

Aucun commentaire:

Enregistrer un commentaire