mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
prepare PR
* require setter attribute * add CHANGELOG record
This commit is contained in:
parent
31e2ff28d1
commit
d508264083
2 changed files with 4 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
#### Features ####
|
||||
|
||||
* Added ability to set zoom_factor(Dmytro Budnyk)
|
||||
|
||||
#### Bug fixes ####
|
||||
|
||||
### 1.5.0 ###
|
||||
|
|
|
@ -165,8 +165,8 @@ module Capybara::Poltergeist
|
|||
browser.set_paper_size(size)
|
||||
end
|
||||
|
||||
def zoom_factor=(zoom_factor=nil)
|
||||
browser.set_zoom_factor(zoom_factor) if zoom_factor
|
||||
def zoom_factor=(zoom_factor)
|
||||
browser.set_zoom_factor(zoom_factor)
|
||||
end
|
||||
|
||||
def resize(width, height)
|
||||
|
|
Loading…
Add table
Reference in a new issue