【发布时间】:2017-09-20 12:13:17
【问题描述】:
什么是 browser.ignoreSynchronization?
/**
* If true, Protractor will not attempt to synchronize with the page before
* performing actions. This can be harmful because Protractor will not wait
* until $timeouts and $http calls have been processed, which can cause
* tests to become flaky. This should be used only when necessary, such as
* when a page continuously polls an API using $timeout.
*
* @type {boolean}
*/
& waitForAngularEnabled 两者看起来都一样。有没有什么具体的事情可以由一个人完成而不是另一个?
【问题讨论】:
标签: protractor