1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00

Fix return value of within_frame

This commit is contained in:
Jon Leighton 2012-07-11 00:15:26 +01:00
parent 213db05bf3
commit 9af604490c

View file

@ -79,8 +79,9 @@ module Capybara::Poltergeist
def within_frame(id, &block)
command 'push_frame', id
yield
val = yield
command 'pop_frame'
val
end
def click(page_id, id)