follow me icons

Wednesday, September 5, 2012

Frame in Capybara

To access the element in a frame or iframe using capybara use the following within method

  within_frame('iframex') do
    fill_in "email", :with => random_email
  end