New
1.0 release
Breaking changes
find_elementnow returns aHound.Elementinstead of a string- Driver capabilities cannot longer be passed directly to
Hound.start_sessionand need to be passed in the:driverkey:Hound.start_session(driver: %{my: "capability"})
New features
- Support changing user agent:
Hound.start_session(user_agent: :iphone) - Support metadata:
Hound.start_session(metadata: %{my: :metadata}) - Add
search_element/2andsearch_element_within/3, which are non raising version offind_element/2andfind_element_within/2 - Add
fetch_log/0andfetch_errors/0to get JS console output. - Add Firefox profile
Improvements
- Timeouts now return a normal error instead of failing with a
MatchError