Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danpoltawski/68323ff28a2c78ff7c957609de6815d7 to your computer and use it in GitHub Desktop.
Save danpoltawski/68323ff28a2c78ff7c957609de6815d7 to your computer and use it in GitHub Desktop.
selenium javascript safari
var webdriver = require('selenium-webdriver'),
By = webdriver.By,
until = webdriver.until;
var driver = new webdriver.Builder()
.forBrowser('safari')
.usingServer('http://localhost:4444/')
.build();
driver.get('http://localhost/im');
driver.wait(function (){ return false}, 6000);
driver.quit();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment