# Trying to automate removing focus from Safari's address bar after pressing the "enter" key.

**URL:** <https://community.folivora.ai/t/trying-to-automate-removing-focus-from-safaris-address-bar-after-pressing-the-enter-key/32397>\
**Category:** Configuration Help & General Discussion\
**Created:** [July 22, 2023, 3:57am UTC](https://community.folivora.ai/t/trying-to-automate-removing-focus-from-safaris-address-bar-after-pressing-the-enter-key/32397 "2023-07-22T03:57:37Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jadby](https://community.folivora.ai/user_avatar/community.folivora.ai/jadby/32/26938_2.png) [@jadby](https://community.folivora.ai/u/jadby)\
**Post date:** [July 24, 2023, 3:53pm UTC](https://community.folivora.ai/t/trying-to-automate-removing-focus-from-safaris-address-bar-after-pressing-the-enter-key/32397/3 "2023-07-24T15:53:39Z")

</div>

Thanks for the reply.

> I wonder, which macOS version are you running?

I'm running 13.4.1 (c) (22F770820d).

> Because on my machines (macOS 13.4.1) Safari's Omnibar looses focus just fine when pressing enter.

Interesting, now that I'm trying it again, enter is working and I don't think is stuck in an infinite loop anymore.

A secondary issue I'm having is that I want this action to apply _only_ when I'm hitting enter when in the Omnibar. However, this is getting triggered whenever I hit enter anywhere in Safari (within a Google Doc, for example). Do I have the action triggers configured correctly? It's supposed to be set to only apply when `focused_element_details CONTAINS "\"WEB_BROWSER_ADDRESS_AND_SEARCH_FIELD\""` is true, but perhaps I'm misunderstanding how these triggers actually work.

Thanks again for the help with this. Really appreciate it.

 ![Screenshot 2023-07-24 at 11.52.16 AM](https://community.folivora.ai/uploads/default/original/3X/5/5/55b9367157b6c7d0b4556e7e7ff3bad6e7d41876.jpeg)

---

_[View the full topic](https://community.folivora.ai/t/trying-to-automate-removing-focus-from-safaris-address-bar-after-pressing-the-enter-key/32397)._
