[Here](https://gist.github.com/MattiSG/0cb11f94237a414c6872) is a test case that uses [Watai](https://github.com/MattiSG/Watai/): (assuming you have a running Selenium Server) ``` shell $ git clone https://gist.github.com/0cb11f94237a414c6872.git $ npm install watai@0.7.0-beta.1 $ node_modules/.bin/watai . ``` Sorry, I have long forgotten Selenium’s native API. Reproduced with v2.45 and v2.48.0, on both Firefox and Chrome.