console broken after server port change #118

Closed
ngauthier opened this Issue Jul 27, 2011 · 4 comments

3 participants

@ngauthier

console.log no longer prints out to the console. I have a theory that this is due to the recent changes that fork the server in a process. The output of console is just not being relayed.

A pipe is created and stdout is sent along it:
https://github.com/thoughtbot/capybara-webkit/blob/master/lib/capybara/driver/webkit/browser.rb#L85

But the output of that pipe (after determining the server port) is not forwarded to the native $stdout. At least, that's my guess.

-ngauthier

@FooBarWidget

I've fixed this in my fork: #128

@jferris
thoughtbot, inc. member

I think this has been fixed - I get console.log output again now. Can you guys verify that this is fixed in 0.7.1?

@ngauthier
@jferris
thoughtbot, inc. member

I'm closing this, because I think it's been fixed, but please reopen if it's still not working.

@jferris jferris closed this Apr 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment