Just started using Safari Driver as per SafariDriver - selenium - Information about the Safari Driver - Browser automation framework - Google Project Hosting

While trying to sendkeys to the element inside contenteditable iframe (while inspecting I could see contenteditable="true".) it throws the error: org.openqa.selenium.WebDriverException: Cannot set the selection end

I switched to iframe using switchto frame (based on frame cssSelector).

How to resolve the above error?
Kindly help!!

Note: Same sendKeys works fine with other browsers: FF.

Platform: Mac OS X 10.9.5
Java version: 1.7