'Safari in watir-webdriver (send_keys) function not working

b.send_keys :tab

That line above doesn't work with safari on my mac. I am running watir-webdriver 0.6.1 and selenium-webdriver 2.22.2.

I get the following error:

Failure/Error: b.send_keys :tab
     Selenium::WebDriver::Error::UnknownError:
       Maximum call stack size exceeded.

I haven't installed safari-driver. Just running directly with the help of the above 2 gems.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source