lib/page-object/platforms/watir/page_object.rb
def in_iframe(identifier, frame=nil, &block)
          frame = [] if frame.nil?
          frame << {iframe: identifier}
          block.call(frame)
        end
#
# platform method to switch to an iframe and execute a block
# See PageObject#in_frame
#
platform method to switch to an iframe and execute a block
See PageObject#in_frame
platform method to switch to an iframe and execute a block See PageObject#in_frame
def in_iframe(identifier, frame=nil, &block)
          frame = [] if frame.nil?
          frame << {iframe: identifier}
          block.call(frame)
        end
def in_iframe ( identifier , frame = nil , & block ) frame = [ ] if frame . nil? frame << { iframe : identifier } block . call ( frame ) end
platform method to switch to an iframe and execute a block
See PageObject#in_frame
platform method to switch to an iframe and execute a block See PageObject#in_frame
identifier
frame
block