HashNuke / hound

Elixir library for writing integration tests and browser automation

Home Page:http://hexdocs.pm/hound

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hound + Selenium/Firefox does not work with `find_element`

Qqwy opened this issue · comments

When running Hound with Selenium, using Firefox as browser, find_element and related functions do not work. Hound has problems parsing the return value if the element is found.

For instance, you get errors like this:

** (Hound.Error) could not get element {:name, "new-message-field"}: %{"element-6066-11e4-a52e-4f735466cecf" => "d53bc0d4-3aed-4739-931a-1f278cab5d86"}                                                                                                            
    (hound) lib/hound/helpers/page.ex:53: Hound.Helpers.Page.find_element/3

Firefox version 63.0.3 (64-bit), Selenium server version: 3.14.0, revision: aacccce0.

I confirm I have the same error, also present on wallaby

This seems to be resoled on master.

@hubertlepicki Thank you for the PSA! 🙂