lib/capybara/poltergeist/browser.rb in poltergeist-1.15.0 vs lib/capybara/poltergeist/browser.rb in poltergeist-1.16.0
- old
+ new
@@ -389,10 +389,14 @@
def go_forward
command 'go_forward'
end
+ def refresh
+ command 'refresh'
+ end
+
def accept_confirm
command 'set_confirm_process', true
end
def dismiss_confirm
@@ -433,10 +437,10 @@
KEY_ALIASES = {
command: :Meta,
equals: :Equal,
Control: :Ctrl,
control: :Ctrl,
- mulitply: 'numpad*',
+ multiply: 'numpad*',
add: 'numpad+',
divide: 'numpad/',
subtract: 'numpad-',
decimal: 'numpad.'
}