hound v1.1.0 Release Notes
Release Date: 2019-03-20 // about 4 years ago-
2019-03-20
Previous changes from v1.0.0
-
๐ฅ Breaking changes
find_element
now returns aHound.Element
instead of a string- Driver capabilities cannot longer be passed directly to
Hound.start_session
and need to be passed in the:driver
key: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/2
andsearch_element_within/3
, which are non raising version offind_element/2
andfind_element_within/2
- ๐ฒ Add
fetch_log/0
andfetch_errors/0
to get JS console output. - โ Add Firefox profile
๐ Improvements
- Timeouts now return a normal error instead of failing with a
MatchError