UNPKG

se-runner-browserstack-example

Version:

Ready to run example using se-runner with grunt-se-runner and se-runner-framework-jasmine towards BrowserStack

7 lines 271 B
module.exports = function (context, position) { return function (done) { context.driver.executeScript('window.callAfterPlayable(function () { this.currentTime = ' + position + '; });') .then(done) .thenCatch(done.fail); }; };