Skip to content

Commit 5ebb044

Browse files
fixed code frame
1 parent 1d7e3e8 commit 5ebb044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ruby/spec/interactions/frames_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
driver.switch_to.default_content
2323

2424
# Switch to iframe using name
25-
driver.find_element(name: 'iframe1-name')
25+
iframe=driver.find_element(name: 'iframe1-name')
2626
driver.switch_to.frame(iframe)
2727
expect(driver.page_source.include?('We Leave From Here')).to be true
2828

0 commit comments

Comments
 (0)