How to run selenium test?

All kind time of day! A whole day hang out with the same problem, can't run the test on selenium. Use ubuntu on node.js, selenium established and all additions to it too, I can't find the command to run the test. The question is very easy, but to solve it is impossible.

P. s the test Run it is advisable to do from the command line
June 27th 19 at 14:53
1 answer
June 27th 19 at 14:55
Try jasmine + Selenium2 framework
Not a lot is not correctly formulated question. I run the test via the command node of the command and nothing happens, here is the code

var webdriverio = require('webdriverio');
var options = {
desiredCapabilities: {
browserName: 'firefox'
}
};
webdriverio
.remote(options)
.init()
.url('www.google.com')
.getTitle().then(function(title) {
console.log('Title was:' + title);
})
.end(); - Meta_Wintheis commented on June 27th 19 at 14:58
and you have the selenium server running? - Horace67 commented on June 27th 19 at 15:01

Find more questions by tags JavaScriptNode.jsSelenium