mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
Add missed change log and readme entries [ci skip]
This commit is contained in:
parent
9b68f65b7f
commit
24e154a147
2 changed files with 10 additions and 3 deletions
|
@ -5,7 +5,11 @@
|
||||||
* Can support Basic HTTP authentication
|
* Can support Basic HTTP authentication
|
||||||
|
|
||||||
#### Bug fixes ####
|
#### Bug fixes ####
|
||||||
* Use `Capybara::Helpers.normalize_whitespace` in filter_text to strip unicode whitespace (Wataru Miyaguni)
|
* Use `Capybara::Helpers.normalize_whitespace` in filter_text to strip unicode
|
||||||
|
whitespace (Wataru Miyaguni)
|
||||||
|
* Fix missed interpolation on deprecated error classes
|
||||||
|
* Raise InvalidSelector when wrong xpath selector was used [Issue #395]
|
||||||
|
* Fix `driver.quit` before visiting any url with `IOError` error [Issue #398]
|
||||||
|
|
||||||
### 1.4.1 ###
|
### 1.4.1 ###
|
||||||
|
|
||||||
|
|
|
@ -114,9 +114,12 @@ There are some additional features:
|
||||||
You can grab screenshots of the page at any point by calling
|
You can grab screenshots of the page at any point by calling
|
||||||
`save_screenshot('/path/to/file.png')` (this works the same way as the PhantomJS
|
`save_screenshot('/path/to/file.png')` (this works the same way as the PhantomJS
|
||||||
render feature, so you can specify other extensions like `.pdf`, `.gif`, etc.)
|
render feature, so you can specify other extensions like `.pdf`, `.gif`, etc.)
|
||||||
|
Just in case you render pdf it's might be worth to set `driver.paper_size=` with
|
||||||
|
settings provided by PhantomJS in [here](https://github.com/ariya/phantomjs/wiki/API-Reference-WebPage#wiki-webpage-paperSize)
|
||||||
|
|
||||||
By default, only the viewport will be rendered (the part of the page that is in view). To render
|
By default, only the viewport will be rendered (the part of the page that is in
|
||||||
the entire page, use `save_screenshot('/path/to/file.png', :full => true)`.
|
view). To render the entire page, use `save_screenshot('/path/to/file.png',
|
||||||
|
:full => true)`.
|
||||||
|
|
||||||
You also have an ability to render selected element. Pass option `selector` with
|
You also have an ability to render selected element. Pass option `selector` with
|
||||||
any valid element selector to make a screenshot bounded by that element
|
any valid element selector to make a screenshot bounded by that element
|
||||||
|
|
Loading…
Add table
Reference in a new issue