This may not strictly be an RSpec question, but it is related. I’m 
troubleshooting a strange problem where I have one example with three tests 
(all with identical data and setup). The first test behaves differently in a 
way that I can’t figure out but has to do with my session timing out and/or not 
being logged in. In order to troubleshoot it, I want to be able to see the 
Server Log after running tests with Capybara/Selenium/ChromeDriver. I’ve looked 
at log/test.log but it is not being written to by these tests.

I am currently configuring my selenium driver with the following:

  config.before(:each, type: :system, js: true) do
    driven_by :selenium_chrome_headless
  end

Can anyone tell me what I should add to get a log file out of headless chrome?

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rspec+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/9DE0C83A-6C13-4620-82E5-46D28B7C9AB0%40pobox.com.

Reply via email to