<commit_before>### Next release ###

#### Features ####

*   Added ability to set zoom_factor (Dmytro Budnyk)
*   Write JSON to the logger, rather than Ruby [Issue #430]
*   Added ability to access all of a nodes attributes (<NAME>)
*   Capybara 2.3 window support (Dmitry Vorotilin)
*   Added ability to manipulate modals (`window.alert()`, `window.confirm()`
    and `window.prompt()`) that has been implemented from Capybara 2.4
    (Wataru MIYAGUNI)

#### Bug fixes ####

*   Fix `set` appending to `contenteditable` instead of replacing its text
    (<NAME> and <NAME>) [Issue #432]
*   Raise exception on PhantomJS "status: fail" result (i.e DNS issue) instead
    of returning minimal HTML body (<NAME>) [Issue #473]
*   Render full window size when document has no height (Kevin McConnell)
*   Don't alter focus with send_keys if we're already in the target element
    (<NAME>) [Issue #493]
*   Close dup'ed fd after using (Dmitry Vorotilin) [Issue #446, #529, #528]
*   Clean up localStorage between tests (Dmitry Vorotilin) [Issue #525]
*   Fix double encoded current_url [Issue #418]
*   Default to `--ssl-protocol=any` in PhantomJS so that sites without SSLv3 still work [Issue #544]

### 1.5.1 ###
<commit_msg>clear_cookies changelog entry<commit_after>### Next release ###

#### Features ####

*   Added ability to set zoom_factor (Dmytro Budnyk)
*   Write JSON to the logger, rather than Ruby [Issue #430]
*   Added ability to access all of a nodes attributes (<NAME>)
*   Capybara 2.3 window support (Dmitry Vorotilin)
*   Added ability to manipulate modals (`window.alert()`, `window.confirm()`
    and `window.prompt()`) that has been implemented from Capybara 2.4
    (Wataru MIYAGUNI)
*   Added ability to clear all cookies with clear_cookies method (unmanbearpig)

#### Bug fixes ####

*   Fix `set` appending to `contenteditable` instead of replacing its text
    (<NAME> and <NAME>) [Issue #432]
*   Raise exception on PhantomJS "status: fail" result (i.e DNS issue) instead
    of returning minimal HTML body (<NAME>) [Issue #473]
*   Render full window size when document has no height (<NAME>)
*   Don't alter focus with send_keys if we're already in the target element
    (<NAME>) [Issue #493]
*   Close dup'ed fd after using (Dmitry Vorotilin) [Issue #446, #529, #528]
*   Clean up localStorage between tests (D<NAME>ilin) [Issue #525]
*   Fix double encoded current_url [Issue #418]
*   Default to `--ssl-protocol=any` in PhantomJS so that sites without SSLv3 still work [Issue #544]

### 1.5.1 ###

{'fraction_non_alphanumeric': 0.116600790513834, 'fraction_numerical': 0.030039525691699605, 'mean_word_length': 4.123481781376518, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3160097', 'n_tokens_mistral': 877, 'n_tokens_neox': 777, 'n_words': 326}