Watir-webdriver 0.6.5 has changed the way locating frames works.
- Before (ie pre-0.6.5),
browser.frame
locatedframe
andiframe
elements. - Now,
browser.frame
locatesframe
elements andbrowser.iframe
locatesiframe
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/)