mirror of
https://github.com/teampoltergeist/poltergeist.git
synced 2022-11-09 12:05:00 -05:00
Add resize_window alias for compatibility
Makes it easier for people porting from capybara-webkit.
This commit is contained in:
parent
2e791039c6
commit
84b6b9b2ca
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ module Capybara::Poltergeist
|
|||
def resize(width, height)
|
||||
browser.resize(width, height)
|
||||
end
|
||||
alias_method :resize_window, :resize
|
||||
|
||||
def network_traffic
|
||||
browser.network_traffic
|
||||
|
|
Loading…
Add table
Reference in a new issue