describe(\'my homepage\', function() { var ptor = protractor.getInstance(); beforeEach(function(){ // ptor.ignoreSynchronization = true; ptor
If you are using
browser.restart()
in your spec some times, it throws the same error. Try to use
await browser.restart()