Automation from Cloud9


#1

Hi all,

I’m using webdriverio to write automation, by the code below

===

var webdriverio = require('webdriverio');
var options = {
    desiredCapabilities: {
        browserName: 'chrome'
    }
};
 
webdriverio
    .remote(options)
    .init()
    .url('http://www.google.com')
    .getTitle().then(function(title) {
        console.log('Title was: ' + title);
    })
    .end();

====

as you can see we request a chrome browser to run. But on Cloud9, we cannot install chrome browser. How can we invoke built-in browser (such as Preview mode) to run automation.

Thanks
Lampart