lib/watir-webdriver/elements/iframe.rb in watir-webdriver-0.6.10 vs lib/watir-webdriver/elements/iframe.rb in watir-webdriver-0.6.11
- old
+ new
@@ -137,10 +137,10 @@
end
def switch!
@driver.switch_to.frame @element
rescue Selenium::WebDriver::Error::NoSuchFrameError => e
- raise UnknownFrameException, e.message
+ raise Exception::UnknownFrameException, e.message
end
end # FramedDriver
end # Watir