UNPKG

@christian-bromann/webdriverio

Version:

A nodejs bindings implementation for selenium 2.0/webdriver

10 lines (9 loc) 318 B
describe('pause', () => { it('should pause command queue', async function () { var time = new Date().getTime() await this.client.pause(1000) var newTime = new Date().getTime(); (newTime - time).should.be.greaterThan(999); (newTime - time).should.be.lessThan(1100) }) })