Created
May 9, 2017 19:30
-
-
Save danpoltawski/68323ff28a2c78ff7c957609de6815d7 to your computer and use it in GitHub Desktop.
selenium javascript safari
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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