I am trying to select a value in a dropdown which is inside a iFrame. The frame is nested within a table. HTML:
Watir-webdriver 0.6.5 has changed the way locating frames works.
browser.frame located frame and iframe elements.browser.frame locates frame elements and browser.iframe locates iframe elements.You will need to change your frame accessor to match the new rules (when you migrated to 0.6.5 or later). The second parameter needs to change from :frame to :iframe:
element(:select_frame, :iframe, :src => /MyApplicantPortal\/Applicant\/\d+\/SelectOrderTemplate\?t=1/)
I am in the process of releasing a new version of the page-object gem that addresses this issue. Should be out in a day or two.