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:
parent
213db05bf3
commit
9af604490c
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue