Releases: HashNuke/hound
Releases · HashNuke/hound
1.0 release
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
0.7.6
Changes to mix.exs for better docs
Docs now link to function's source in the github repo
minor changes
- Fixed mix.exs for publishing on Hex
- Pushed docs to hexdocs
- Updated TravisCI config to use precompiled version of Elixir using asdf version manager
Internals refactored & simplified
- Internals refactored
- Defaults to
http://localhost:4001
if app host and port aren't specified. This should go well with Phoenix too. - Fixed all compile-time warnings
v0.6.0
v0.5.1
Following features are available:
- Runs on Selenium, ChromeDriver and PhantomJs
- Multiple browser sessions
- Element selectors
- Element-related functions
- Javascript execution in the session
- Javascript dialog handling
- Cookie handling
- Navigation handling
All with proper documentation.