Its not chrome that has the logs, your webserver (by default Puma)
should be writing to the file if it's not its likely a config issue
somewhere?

Cheers
Jon

On March 24, 2021, Jack Royal-Gordon <jac...@pobox.com> wrote:
> 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
> <mailto: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
> <https://groups.google.com/d/msgid/rspec/9DE0C83A-6C13-4620-82E5-
> 46D28B7C9AB0%40pobox.com?utm_medium=email&utm_source=footer>.

-- 
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/db51ef2b9abb4725a9405c04daaa48cca2a5a09b%40hey.com.

Reply via email to