Created
April 14, 2014 18:05
-
-
Save bclinkinbeard/10670175 to your computer and use it in GitHub Desktop.
webdriverjs_mobile_safari_click_fail
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 webdriverjs = require('webdriverjs'); | |
var options = { | |
desiredCapabilities: { | |
device: 'iPhone Simulator', | |
platform: "Mac", | |
app: "safari", | |
// version: "6.0", | |
browserName: "", | |
newCommandTimeout: 60 | |
}, | |
host: 'localhost', | |
port: 4723 | |
} | |
webdriverjs | |
.remote(options) | |
.init() | |
.url('http://www.example.com/') | |
.buttonClick('a', function(err, text) { | |
console.log(err); | |
}) | |
.end(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment