If i try to use execute method to run some host script, Google Chrome instance just hangs in terminal and doesn’t do anything.
Example script:
module.exports = {
'Page title is correct': function (test) {
test
.open('http://google.com')
.execute(function(){
this.assert.title().is('Google', 'It has title');
})
.done();
}
};
If i try to use
execute
method to run some host script, Google Chrome instance just hangs in terminal and doesn’t do anything.Example script:
Running assertion without
execute
is OK.