I've setting up testing environment under selenium and Webdriverio in JavaScript. I've followed steps described on official Webdriver webpage, created test file and run it. What happened was that it opened my browser (Firefox), but only blank page appeared.
Code what I'm running
var webdriverio = require('webdriverio');
var options = {
desiredCapabilities: {
browserName: 'firefox'
}
};
webdriverio
.remote(options)
.init()
.url('http://www.google.com')
.getTitle().then(function(title) {
console.log('Title was: ' + title);
})
.end();
Thank you for any assistance how to get out of this problem :)
Aucun commentaire:
Enregistrer un commentaire