Skip to content

Commit c226ba7

Browse files
committed
Fix capybara 2 build
1 parent da05cd5 commit c226ba7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/capybara/cuprite/page.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ def switch_to_frame(handle)
114114
end
115115
end
116116

117+
def frame_name
118+
evaluate("window.name")
119+
end
120+
117121
def title
118122
active_frame.current_title
119123
end

0 commit comments

Comments
 (0)