Examples of using selenium-webdriver from JavaScript