Running into Error while waiting for Protractor to sync with the page with basic protractor test

前端 未结 7 1995
南旧
南旧 2020-12-03 10:31
describe(\'my homepage\', function() {
    var ptor = protractor.getInstance();
    beforeEach(function(){
        // ptor.ignoreSynchronization = true;
        ptor         


        
7条回答
  •  一生所求
    2020-12-03 11:16

    If you are using

    browser.restart()

    in your spec some times, it throws the same error. Try to use

    await browser.restart()

提交回复
热议问题