Open lowks opened 6 years ago
I'm having the same problem here. I mean I'm not pretty sure if it's a issue or if it's the way that supposed to be!
Have you tried configuring the webdriver port?
config :hound,
driver: "phantomjs",
host: "http://localhost",
port: 8910
phantomjs --webdriver=127.0.0.1:8910
I have this issue with chromedriver any recommendations? @HashNuke
@JGjumpshot I may be remembering incorrectly, but I think chromedriver (thru homebrew) used to be managed thru brew services
(and may have started automatically even?), but that appears to have changed so you probably manually need to start it.
You may need to configure the port, per the earlier comment, and start the chromedriver with chromedriver
(assuming it's on your path). When you start it, it will output which port it's running on (you can also specify via chromedriver options when you start it)
If you installed chromedriver via brew
, you need to execute /usr/local/bin/chromedriver
or the output of which chromedriver
I am trying to setup hound to run for my project. In
mix.exs
I added the dependencies:{:hound, "~> 1.0"}
My
config/test.exs
looks like this:+config :hound, driver: "phantomjs"
My test looks like this:
The error I get:
My
test_helper.exs
I run
phantomjs
in another session by issuing the commandphantomjs --wd
Can someone let me know what I am missing here ?