Open Kukunin opened 6 years ago
Does someone have a similar behavior?
I am seeing something similar. In more details, if you do this:
Hound.start_session(browser: "chrome_headless")
Hound.end_session()
Apex.ap Hound.Session.active_sessions()
You will get {:error, :closed}
printed, but most importantly, Chromedriver will have crashed:
$ chromedriver
Starting ChromeDriver 2.45.615355 (d5698f682d8b2742017df6c81e0bd8e6a3063189) on port 9515
Only local connections are allowed.
Segmentation fault: 11
So I wonder if this may be an issue in Chromedriver itself, rather than hound.
From my experience, that's chromedriver fault, its pretty unstable on Mac. The same code running on Linux works well. Hound doesn't send something special to chromedriver
A simple snippet
it crashes with
because
active_sessions()
returns{:error, :closed}
crashes the latest chromedriver 2.43 on macOS. Does someone have a similar behavior? I use the latest
hound
from master branch.Log: