You left out `move_to_element`.  If you leave that out and the element is not visible, it will fail.

```py
ActionChains(browser()).move_to_element(element(loc)).send_keys_to_element(text).perform()
```