Despite a long search, I haven't found the answer for linux users. I'd like to write a program that would open a web browser (I know how do to do that...) and to write stuff in it - in a search bar for instance...
I have found a thousand ways to do it with Windows, but haven't found an API running on OS X.