Protractor: Error while waiting for Protractor to sync with the page: "both angularJS testability and angular testability are undefined

后端 未结 3 1512
温柔的废话
温柔的废话 2021-01-17 14:02

I am trying to write some end to end tests and waned to use async and await.

configuration file

exports.config = {
    framework: \'jasmine\',
             


        
3条回答
  •  被撕碎了的回忆
    2021-01-17 14:22

    Give the getPageTimeOut more than 20 sec. Use explicit wait like browser.sleep(2000) after browser.get method. The error occured may be because of slow response from webpage and also use dirctConnect instead of seleniumAddress.

提交回复
热议问题