The touch method works fine. I'd not use echo, just record each sequence with cat to a file and then cat the file back to replay.
But it's quite a sequence if you want it to be reliable. Since the web browser tab might move around, you have to go through menu -> settings -> beta features -> web browser.
And that's only if you're currently in a place where the menu is available. I.e. not when reading a book, where you first have to tap the menu zone. And if the menu zone was already open, well... so you have to do this twice to be sure. And that's not considering other strange apps like sudoku where you'd have to hit the lower right corner to quit.
And if you want the browser to go to a specific URL... ah well, you can actually set a home URL so that's one less headache.
|