stuart / elixir-webdriver

WebDriver client for Elixir.
MIT License
120 stars 32 forks source link

Phantomjs via brew not working #33

Open jontonsoup opened 9 years ago

jontonsoup commented 9 years ago

I installed phantomjs via brew on my local machine.

I verified it is working with

[jonathan]: phantomjs -v 
2.0.0

I then ran webdriver and am getting this error:

iex(1)> config = %WebDriver.Config{name: :browser}
%WebDriver.Config{browser: :phantomjs, name: :browser, root_url: ""}
iex(2)> WebDriver.start_browser config
** (exit) exited in: :gen_server.call(:webdriver, {:start_child, {:browser, {WebDriver.BrowserSup, :start_link, [%WebDriver.Config{browser: :phantomjs, name: :browser, root_url: ""}]}, :permanent, 5000, :worker, [WebDriver.BrowserSup]}}, :infinity)
    ** (EXIT) no process
    (stdlib) gen_server.erl:190: :gen_server.call/3

Any intuition as to why this isn't working?

Thanks!

stuart commented 8 years ago

This is a PhantomJS/GhostDriver issue https://github.com/detro/ghostdriver/issues/394