Method: PageObject#in_iframe
- Defined in:
- lib/page-object.rb
#in_iframe(identifier, frame = nil, &block) ⇒ Object
Identify an element as existing within an iframe. A frame parameter is passed to the block and must be passed to the other calls to PageObject. You can nest calls to in_iframe by passing the frame to the next level.
310 311 312 |
# File 'lib/page-object.rb', line 310 def in_iframe(identifier, frame=nil, &block) platform.in_iframe(identifier, frame, &block) end |