Try this
tell application "Firefox" activate tell application "System Events" keystroke "l" using {command down}tab keystroke (key code 125) keystroke (key code 125) keystroke (key code 125) end tell end tell You might not need to activate Firefox if it's the current active app. Them you just need :
tell application "System Events" keystroke "l" using {command down}tab keystroke (key code 125) keystroke (key code 125) keystroke (key code 125) end tell Since tab is also used to navigate within the page, I replaced it with cmd+l which is the common shortcut to access the bar.