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

前端 未结 7 1964
南旧
南旧 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()

    0 讨论(0)
提交回复
热议问题